Data & text
HTML entity encoder & decoder
Encode reserved HTML characters before placing text in markup, or decode entity references back into readable text. Processing stays in your browser.
Runs in your browser - files are never uploaded Data & text
← All tools HTML entity encoder & decoder
Encode special characters for HTML or decode HTML entities back to text.
Drop files here, or browse
Choose files from your device
Tip: paste an image with ⌘/Ctrl + V
How to use it
- Paste text or HTML entities.
- Choose encode or decode.
- Run the tool and copy or download the result.
Frequently asked questions
Which characters are encoded?
Ampersands, angle brackets, quotation marks and apostrophes are encoded.
Can it decode numeric entities?
Yes. The browser's HTML parser decodes named and numeric character references.