HTML Entity Encoder / Decoder
Escape or unescape HTML entities like & and <.
Numeric Entity Output
Why Escape HTML Entities
Characters like <, >, and & have special meaning in HTML. Encoding them as entities lets you display code samples or user input without the browser interpreting it as markup — which also helps prevent cross-site scripting. Named-entity mode outputs human-readable references like © and — for all 2,000+ HTML5 entities. Decoding reverses the process, supporting both numeric and named entities, all processed locally.
Private & free — this tool runs entirely in your browser.
Recommended: IndieKit — Ship your Next.js startup in days.affiliate
Related Encoders & Decoders tools
Base64 Encoder
Encode or decode Base64 strings.
URL Encoder
Safely encode or decode URL parameters.
Base Converter
Convert numbers between binary, octal, decimal, hex, and base 2-36.
ROT13 Encoder / Decoder
Apply the reversible ROT13 letter-substitution cipher.
Punycode Converter
Convert internationalized domains to and from Punycode.
Text to Morse Code
Translate text into Morse code dots and dashes.
Morse Code to Text
Decode Morse code dots and dashes back into text.
UTF-8 Encoder
Encode text into UTF-8 byte values (hex).