HTML Entities Encoder and Decoder
Encode characters such as the less-than and greater-than signs, ampersand and quotes to entities, or decode entities to plain text.
…
How to do it
- 1Add the text
Paste or type the text or amount here.
- 2See the result
The result appears right away as you type.
- 3Copy it
Copy the result and use it anywhere. Your text goes nowhere.
About this tool
Choose Encode to turn characters that have a special meaning in HTML, such as the angle brackets and the ampersand, into entities, so the text shows correctly in a page. Tick the option to encode every non-ASCII character too. Choose Decode to turn named and numeric entities back into readable characters.
Frequently asked questions
Why encode HTML characters?
So that text containing angle brackets or an ampersand is shown as text instead of being read as code.
Which entities can it decode?
Common named entities and all numeric entities, both decimal and hex.