HTML Entity Encoder / Decoder
Escape and unescape HTML entities safely.
Files and text are processed locally in your browser. Tools that must reach the network say so explicitly.
About the HTML Entity Encoder / Decoder
Escape and unescape HTML entities. The Toolcenter HTML Entity tool converts characters like <, >, &, " and copyright or currency symbols to named or numeric entities, with an option to encode every non-ASCII character, and decodes any entity string back to plain text using the browser.
How to use it
- 1Choose encode or decode.
- 2For encoding, decide whether to escape all non-ASCII characters.
- 3Paste your text or markup.
- 4Copy the escaped or unescaped result.
Key features
- Named entities for common symbols
- Numeric entities for any non-ASCII character
- Accurate decoding via the browser
- One-click copy and reuse
- Runs offline
Frequently asked questions
Why encode HTML entities?+
To display characters like < and & as text instead of markup, and to keep non-ASCII symbols safe in older systems or email templates.
What does “encode all non-ASCII” do?+
It converts every character above code point 127 (accents, symbols, emoji) into numeric &#…; entities.
Does decoding handle both named and numeric entities?+
Yes. It resolves &, ' and '-style entities alike.
Is my text uploaded?+
No. Everything runs in the browser.
Also searched as
Related developer tools
JSON Formatter & Validator
Pretty-print, minify, validate and inspect JSON with a tree view.
Base64 Encoder / Decoder
Encode or decode text and files to and from Base64.
URL Encoder / Decoder
Percent-encode or decode URLs and query components.
HTML / CSS / JS Minifier
Strip whitespace and comments to shrink front-end assets.
Code Beautifier
Reformat messy HTML, CSS, JS and JSON with configurable style.
Regex Tester
Test patterns with live match highlighting and group inspection.