How to use it
- 1
Enter plain text or a string containing HTML entities.
- 2
For encoding, choose whether to process quotation marks and non-ASCII characters.
- 3
Run encode or decode and copy the result.
What the tool can do
- Encoding for &, <, >, and optional quotation marks.
- Decoding for common named entities and decimal or hexadecimal numeric references.
- Unicode code point support, including characters outside the Basic Multilingual Plane.
Common use cases
- Preparing a text fragment for display inside HTML.
- Inspecting entity references in a template or CMS content.
- Restoring readable text from a test HTML payload.
How it works inside
Output is rendered as plain React text and is never passed to dangerouslySetInnerHTML.
Non-ASCII characters can remain unchanged or be emitted as decimal or uppercase hexadecimal references.
Questions and answers
Is decoded HTML executed on the page?
No. The result is displayed as text, so tags and script fragments are not executed.
Are entities without a semicolon supported?
No. The tool requires an explicit terminating semicolon to avoid ambiguous decoding.
