HTML Entity Encoder / Decoder
Encode text into named, decimal, or hexadecimal HTML entities locally in your browser, and decode entities back to plain text.
HTML Entity Encoder / Decoder
Convert text, HTML snippets, and special characters into named, decimal, or hexadecimal HTML entities, then decode entities back to plain text locally in your browser.
How to use it
- Choose the entity format and encoding range at the top.
- Type plain text on the left and the HTML entity output updates instantly on the right.
- If you already have entity text, paste it on the right to decode it back.
- Copy the result for docs, CMS fields, templates, tutorials, or frontend rendering.
Features
- Named, decimal, and hexadecimal entity formats
- Minimal, non-ASCII, and all-special encoding ranges
- Two-way local conversion with no server upload
When is it useful?
- Displaying HTML tags and symbols safely in content
- Normalizing multilingual text into HTML entities
- Debugging templates, editors, and email markup that contain entities