HTML Encoder and Decoder
Escape angle brackets, ampersands and quotes as HTML entities so text displays safely, or decode entities such as & and ₹ back to characters.
Free · No upload · 100% on your device
How to use HTML Encoder and Decoder
- Type or paste your code or data.
- Choose the settings in the side panel. The result updates as you type.
- Copy the result or download it as a file.
Private by design. Everything you type, open or record is processed in this browser tab and is never uploaded to KittySuite.
About HTML Encoder and Decoder
Encoding the five special characters is enough to show text safely inside HTML. Turn on “Encode all non-ASCII” for systems that cannot store Unicode. Decoding understands every named and numeric entity the browser knows, without running any code.
Everything runs in this browser tab: your text is never uploaded or stored, and the result updates as you type. It keeps working offline once the page has loaded.
HTML Encoder and Decoder: frequently asked questions
How do I escape HTML so it shows as text?
Choose Encode and paste the text. Angle brackets, ampersands and quotes become entities so the text displays safely.
How do I decode entities like &?
Choose Decode. Every named and numeric entity the browser knows is converted, without running any code.
Can I encode all non-English characters?
Yes. Turn on “Encode all non-ASCII” for systems that cannot store Unicode, and choose numeric entities if needed.
Is encoding enough to prevent XSS?
Encoding the five special characters is enough to show text safely inside HTML content, but attributes, URLs and scripts need their own escaping rules.