HTML Entity Encode
A free, instant HTML Entity Encode. Paste your text and convert it right in your browser — handles named and numeric entities, and never uploaded.
More presets
Jump to another preset — each opens its own page ready to go:
How to use the HTML Entity Encode
- Paste your text into the box.
- The result updates live — switch between encode and decode any time.
- Copy the result.
About the HTML Entity Encode
HTML entities represent characters that are reserved in HTML (like &, < and >) or awkward to type, writing them as codes such as & or © so they render correctly. This HTML Entity Encode converts between plain text and those entities.
Everything runs in your browser, so the text you convert never leaves your device. Decoding understands the full named-entity set via the browser's parser, and encoding can escape just the reserved characters or every non-ASCII one.
Frequently asked questions
What does the HTML Entity Encode do?
It converts between plain text and HTML entities so characters display correctly instead of breaking the markup. Paste your text and the result updates live.
Does it support named and numeric entities?
Yes. Decoding uses the browser's HTML parser, so named entities (©, ) and numeric entities (©) are all handled; encoding can target the reserved characters or every non-ASCII character.
Is my text uploaded?
No. The HTML Entity Encode runs entirely in your browser, so your text never leaves your device.
Can I switch between encode and decode?
Yes. Toggle the mode at the top to convert in either direction; both run locally and update instantly.