Showing HTML as text
<b>Tom & Jerry</b> → <b>Tom & Jerry</b>
Escape text for HTML (< & ") or decode HTML entities back to characters.
é → é — for systems that only accept ASCII
Runs in your browser — nothing you enter is sent to a server.
Encode replaces the five characters that have a meaning in HTML — &, <, >, " and ' — with entities, so text shows as text instead of being read as markup. Tick the option to also write every non-ASCII character as a numeric reference.
Decode turns entities back into characters: numeric ones (é, é) and the HTML named entities such as é, and —.
&#decimal; or &#xhex; — the character's Unicode code point
é is U+00E9: é or é.
<b>Tom & Jerry</b> → <b>Tom & Jerry</b>
© 2026 — café → © 2026 — café
Not on a page saved as UTF-8, which almost every page is. Encode them only for systems that accept ASCII alone, such as some email or XML tools.
Inside an attribute like title="…", an unescaped quote ends the attribute early — and can let injected code in.
They're left exactly as written and listed below the result.
Percent-encode text for URLs and query strings, or decode %20-style encoded text back to readable text.
Developer Tools
Encode text to Base64 or decode Base64 to text, with full Unicode support and URL-safe output.
Developer Tools
Convert Markdown to clean HTML with a safe live preview, including tables and task lists.
Text Tools
Minify CSS to make it smaller, or beautify minified CSS to make it readable.
Developer Tools