HTML Entity Encode Decode
Encode text into HTML entities or decode HTML entities back into text, with an encode-all option.
- Runs in your browser
- Nothing uploaded
- Free, no sign-up
Processed locally in your browser. Your text never leaves this tab.
How to Use HTML Entity Encode Decode
- Enter your text. Plain text to encode, or entities to decode.
- Pick the mode. Encode to entities, or decode back to text.
- Optionally encode all. Turn every non-ASCII character into an entity.
- Copy the result. Click Copy result. It all runs in your browser.
Frequently Asked Questions
What does encoding do?
It replaces characters that have meaning in HTML, such as less-than, greater-than, ampersand, and quotes, with safe entities.
What does the encode-all option do?
It also converts every non-ASCII character, like accented letters, into a numeric entity for maximum compatibility.
Does decode handle named and numeric entities?
Yes. Common named entities and both decimal and hexadecimal numeric entities are decoded back to characters.
Is my data sent anywhere?
No. The conversion runs entirely in your browser, so your text never leaves the tab.
Is it free?
Yes. Every tool here is free to use with no sign up.
Related Tools
URL Encode and Decode →
Encode text for safe use in URLs, or decode percent-encoded text back to plain…
BBCode to HTML Converter →
Generate standard semantic HTML arrays translating classic forum BBCode syntax cleanly explicitly mappings independently…
Convert Excel to HTML Table →
Convert .xlsx, .xls, or .csv to clean HTML table - headers, borders, striped rows,…
HTML Beautifier →
Beautify HTML with clean indentation that reveals the nesting, right in your browser.
HTML Editor with Live Preview →
Write HTML and see it render live next to your code, then copy your…
HTML Minifier →
Minify HTML by removing comments and collapsing whitespace between tags, with the size saving…
HTML Tag Stripper →
Strip HTML tags from a snippet and keep just the text, with entities decoded…
HTML Table Generator →
Generate a clean HTML table with the rows, columns, and optional header row you…
HTML to JSX Converter →
Convert HTML into JSX for React, renaming class and for and self-closing void tags.
ASCII to HTML Entities Converter →
ASCII to HTML as entities - safe XSS escape, numeric decimal, or numeric hex.…
Convert HTML Entities to ASCII →
Decode HTML entities to ASCII safely - named, decimal, hex. ASCII-only enforcement. Batch breakdown.…
Convert HTML Entities to UTF-8 →
Decode HTML entities to UTF-8 with per-character byte breakdown. Named, decimal, hex. Free, offline,…