HTML Entity Encoder / Decoder
Escape or unescape HTML special characters safely. Free, private and instant.
About the HTML Entity Encoder / Decoder
Characters like less-than, ampersand and quotes have special meaning in HTML. Entities such as & and < display them as plain text instead.
When to use it
Use it to show code samples on a page, safely output user text, or decode entities copied from scraped content.
How to use the HTML Entity Encoder / Decoder
- Enter or paste your input in the fields above.
- The result updates as you type, or press Run.
- Press Copy to copy the output.
Frequently asked questions
Is the HTML Entity Encoder / Decoder free?
Yes. It is completely free, with no signup and no usage limits.
Is my data uploaded anywhere?
No. Everything runs locally in your browser, so what you type never leaves your device.
Does the HTML Entity Encoder / Decoder work on mobile?
Yes. The tool is responsive and works on phones, tablets and desktops.
More free tools
Strip comments and whitespace to shrink HTML.
HTML</>Markdown to HTML ConverterConvert Markdown to clean HTML and preview it instantly.
HTML</>SEO Meta Tag GeneratorGenerate title, description, canonical and Open Graph tags.
HTML</>HTML to Text ConverterStrip HTML tags and get clean readable text.
HTML</>Robots.txt GeneratorCreate a robots.txt file with disallow rules and a sitemap link.
HTML</>UTM Campaign URL BuilderAdd UTM tracking parameters to any link.
HTML