HTML Entity Encoder / Decoder
Escape or unescape HTML entities like & and <.
Encoded 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. Decoding reverses the process, turning entities back into readable characters. Both numeric (©) and common named entities are supported, all processed locally.
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).