HTML Entity Encoder & Decoder
Encode or decode HTML entities (named and numeric) in your browser, with an option to escape every non-ASCII character. Free and private.
Everything runs in your browser — nothing is uploaded.
About HTML Entity Encoder & Decoder
The HTML entity encoder and decoder converts between plain text and HTML entities in both directions. Encoding turns characters like <, >, & and quotes into safe entities so markup can be displayed as text instead of being rendered; decoding turns strings such as é or é back into readable characters.
Two options control the output: choose numeric entities (é) instead of named ones (é), and optionally encode every non-ASCII character — useful when a file must survive transport through systems that mangle UTF-8. Live character counts and a "use as input" swap button make round-tripping quick.
The converter runs entirely in your browser with nothing uploaded, so it is safe for snippets from private codebases. It is a practical companion when embedding code samples in blog posts, escaping user content examples, or debugging double-encoded text.
How to use HTML Entity Encoder & Decoder
- Choose the direction: Encode to convert characters into entities, or Decode to convert entities back to text.
- Paste your text or HTML into the input pane, or load the sample.
- Toggle "Numeric entities" for &#...; style output, and "Encode all non-ASCII" to escape every accented or non-Latin character.
- Read the result in the output pane, using "Use as input" to chain another pass.
- Copy the converted text to your clipboard.