Encode / decode
🔒
Privacy: This tool runs entirely in your browser. Nothing is uploaded to ITCOH.
Escape and unescape HTML safely in the browser
Encoding turns & < > " ' into entities so you can paste text into HTML safely. Decoding reverses named and numeric entities using the browser’s HTML parser.
Frequently asked questions
Is text uploaded?
No. Encoding and decoding run in your browser.
Which characters are encoded?
Ampersand, less-than, greater-than, double quote, and single quote (as ').
Numeric entities?
Decode supports named and numeric entities the browser understands.
XSS?
Encoding helps when embedding text in HTML. Always use the right escaping for your context (HTML, attribute, JS, URL).