HTML Entity Encoder & Decoder
Escape HTML-sensitive characters, decode entity-filled snippets from CMS content, and convert named or numeric entities locally in your browser.
0 characters
0 characters
Template-safe text
Encode characters that can break HTML markup before pasting text into examples, templates, snippets, or CMS fields.
Entity decoding
Turn named entities, decimal entities, and hex entities back into readable text when debugging feeds or copied source.
Private local processing
The tool uses browser-native text and HTML parsing behavior. No upload endpoint or server-side conversion is involved.
Frequently asked questions
Is my text uploaded when I encode or decode HTML entities?
No. HTML entity encoding and decoding run with JavaScript in your browser. The text you paste is not sent to Convertr servers.
Which characters should I encode for HTML?
Encode at least ampersands, less-than signs, greater-than signs, double quotes, and apostrophes when displaying untrusted text in HTML.
Can this decode numeric HTML entities?
Yes. The decoder handles named entities, decimal numeric entities such as ©, and hexadecimal numeric entities such as 😀 using the browser HTML parser.