HTML Encoder & Decoder
Escape HTML so it displays as text — turn < into <, & into & and so on — or decode entities back into normal characters. Optionally convert accents, currency signs and typographic symbols to named or numeric entities for ASCII-only files and email templates.
Encoded output
Share:
Common HTML entities
| Character | Named | Numeric | Use |
|---|---|---|---|
| < | < | < | tag start |
| > | > | > | tag end |
| & | & | & | entity start |
| " | " | " | attribute quote |
| ' | — | ' | attribute quote |
| non-breaking space | |   | keep words together |
| © | © | © | copyright |
| — | — | — | em dash |
| € | € | € | euro |
| é | é | é | accent |
HTML5 defines 2,231 named entities, but in practice the five basic ones plus cover almost everything. Frameworks such as React, Vue and modern template engines escape output automatically; this tool is for the cases where you write raw HTML, documentation, CMS fields or email markup by hand.
Frequently asked questions
Related tools
JSON Formatter, Validator & Minifier OnlineFree JSON formatter: pretty-print JSON with 2 or 4 spaces or tabs, validate it with the exact error line and…URL Encoder & DecoderFree URL encoder and decoder: percent-encode text for query strings (encodeURIComponent) or whole URLs…UUID GeneratorFree UUID generator: create one or hundreds of version 4 (random) or version 7 (time-ordered) UUIDs/GUIDs…Base64 Encode & Decode OnlineFree Base64 encoder and decoder: convert text to Base64 and Base64 back to text (UTF-8 safe), URL-safe…Ad Revenue CalculatorEstimate website ad income with AdSense, Ezoic, Mediavine and Raptive.BPM CounterFree BPM counter: tap the button (or your spacebar) to the beat and get the tempo in BPM i
More in Developer Tools · All tools & games