Convert ampersands, angle brackets, quotation marks and apostrophes into HTML-safe character entities.
ENCODE & DECODE HTML ENTITIES
HTML Entity Encoder & Decoder Online
Encode reserved HTML characters into safe entities or decode HTML entities back to readable text instantly in your browser.
WHY USE IT
A focused tool for reliable HTML work
Turn named and numeric HTML entities back into readable Unicode text with one click.
Encoding and decoding happen locally without sending snippets or content to a server.
HOW IT WORKS
Three quick steps
- 01Paste HTML or text
Add the characters or encoded entities you want to transform.
- 02Choose encode or decode
Create safe entities or restore encoded content to readable text.
- 03Copy the result
Use the transformed output in HTML, templates, documentation or data files.
COMMON QUESTIONS
HTML Entity Encoder FAQ
Which characters does the HTML entity encoder escape?
It encodes ampersands, less-than and greater-than signs, double quotation marks and apostrophes, covering the reserved characters most often needed in HTML text and attributes.
Can it decode numeric HTML entities?
Yes. The browser decoder supports common named entities as well as decimal and hexadecimal numeric character references.