Utilities
Free HTML Entity Encoder and Decoder – Escape HTML Online
HTML Entity Encoder and Decoder — free, instant, no sign-up needed.
HTML entities write special characters safely in markup, such as < for < and & for &. Paste text to encode the five reserved characters, or paste entities to decode named and numeric ones back into characters.
Escape text for safe use in HTML, or decode entities such as & and © back into readable characters.
Use the HTML Entity Encoder and Decoder online at no cost.Common tasks this tool helps with
- html entities decoder
- html escape online
- html special characters encoder
- decode html entities
- escape html characters
- html entity converter
Use the free HTML Entity Encoder and Decoder now
Why it's free
Unescaped angle brackets and ampersands can break a page layout or alter meaning, and copied text often arrives full of entities. Encoding and decoding in one place saves manual replacements and works locally.
What you get
- Text with &, <, >, double and single quotes escaped, or decoded characters
Who uses the HTML Entity Encoder and Decoder
- Developers escaping code samples for display in a page
- Content editors cleaning text copied from HTML sources
- Email builders handling special characters
How it works
- Choose encode or decode
- Paste your text or HTML
- Copy the result into your page or document
Expert tips for using the HTML Entity Encoder and Decoder
- Always escape user-supplied text before showing it in HTML to avoid broken markup and injection problems.
- Do not double-encode: encode once, at the point of output.
- Use UTF-8 and write real characters where you can; entities are mainly needed for reserved characters.
Frequently asked questions
Which characters does the encoder escape?
It escapes the five reserved characters: ampersand, less-than, greater-than, double quote and single quote.
Does the decoder handle numeric entities?
Yes. Decimal entities like © and hexadecimal ones like € are decoded, along with a common set of named entities such as &, © and .
What happens to entities it does not know?
Unknown named entities are left as they are, so nothing is silently changed or lost.
Is the HTML Entity Encoder and Decoder free?
Yes. The HTML Entity Encoder and Decoder is free with no login, credits, paid plan or card. Browser-based tools can be used without a generation allowance.
Do I need an account to use it?
No. Open the page and use the HTML Entity Encoder and Decoder straight away. Your input is processed on your device and is not uploaded.
More free Utilities tools
Browse all free tools
Related tools