Util / Encoding
/HTML Encode / Decode
0 requests sent since load
Input
convert
output
options
Output
About HTML encoding
HTML encoding (escaping) replaces characters that have special meaning in HTML —&, <,>, and optionally quotes — with their entity equivalents so they render as literal text rather than being interpreted as markup. Decoding uses the browser's own HTML parser, so every named entity ( , ©, etc.) and numeric reference (©) is handled correctly.
FAQ
Named vs numeric entities?
Named entities (&) are more readable; numeric (&) work in any XML context. Both decode identically.
Is my data sent anywhere?
No. Encoding uses a plain regex replacement; decoding uses a temporary in-memory DOM element — no network requests.