HTML Entity Encode / Decode
Convert reserved HTML characters to entities and back.
100% private - files never leave your browser
Loading tool…
Encode reserved HTML characters (such as <, >, & and quotes) into safe HTML entities, or decode entities back to plain characters. It is useful for displaying code snippets on a web page or cleaning up pasted content. Everything runs in your browser.
How to use HTML Entity Encode / Decode
- 1
Paste your text or HTML.
- 2
Choose Encode or Decode.
- 3
Copy the result.
Frequently asked questions
So special characters display as text instead of being interpreted as HTML tags.