HTML Entities Encoder/Decoder
Input
Encoded
Decoded
Continue with
IPv4 Subnet Calculator
Calculate IPv4 subnets, network ranges, and available hosts.
IPv4 Converter Suite
Convert IPv4 addresses between decimal, binary, hex and octal, and expand CIDR ranges into host lists. Tabbed, client-side.
MAC Address Toolkit
Look up MAC address vendors and generate random MACs with any OUI. Two tools in one tabbed page, fully client-side.
About the HTML Entities
HTML entities encode special characters that would otherwise break HTML parsing — ampersands, angle brackets, quotes, and non-ASCII characters. Encoding prevents XSS attacks and rendering bugs.
Paste text to encode special characters as HTML entities, or paste entities to decode them back to readable text. Supports both named entities (&) and numeric entities (&).
How to use
- Paste your text or HTML entities.
- Choose encode or decode mode.
- The converted result appears instantly.
- Copy for use in your HTML templates or documentation.
Frequently Asked Questions
Which characters get encoded? ▾
The five mandatory HTML entities: & < > " and '. Non-ASCII characters like é or 中 can optionally be encoded as numeric entities.
Why do I need to encode ampersands? ▾
An unencoded & could be interpreted as the start of an HTML entity, causing parsing errors. Always encode & as & in HTML content.