HTML Entity Encoder & Decoder
HTML Entity Encoder & Decoder: free, fast and private. Works in your browser, nothing is uploaded, no sign-up needed.
How to use
Convert special characters to HTML entities and back. Encoding the characters & < > and quotes makes text safe to display inside HTML, and you can also turn non-ASCII characters into numeric entities. Decoding understands both named entities, such as those for accented letters, and numeric entities.
- Paste or type your input.
- Adjust the options.
- Copy the result.
More tools
Frequently asked questions
Why encode HTML characters?
Characters like < and > have special meaning in HTML. Encoding them stops browsers from treating text as markup, which also helps prevent injection bugs.
What is the difference between named and numeric entities?
Named entities use a short name and numeric ones use the character’s Unicode number. Both display the same character.
Is it free?
Yes. All tools are free, with no sign-up and no limits.
Is my code or data uploaded?
No. Everything runs locally in your browser, so your code and data stay private.
Does it work on mobile?
Yes. It works in any modern mobile or desktop browser.