Escape reserved characters
Named + basic mode escapes the five HTML-reserved characters.
<a href="/x">Fish & Chips</a><a href="/x">Fish & Chips</a>Encode text into safe HTML entities in your browser. Escape <, >, &, and quotes, or convert every non-ASCII character to numeric entities - no upload required.
Paste text to encode below.
Paste text above or load the example to encode it into HTML entities.
One tap, no account. Your vote is saved in this browser and counted in our site analytics.
Escape <, >, &, and quotes so text renders literally.
Convert accented letters and emoji to numeric entities.
Encode sensitive snippets without uploading them.
Copy the text or markup you want to escape.
Select named + basic or encode all non-ASCII.
Export the encoded result to clipboard or file.
Escape reserved characters in comments, names, or form input before inserting them into a page template to avoid breaking the markup.
Encode angle brackets and ampersands in a code snippet so it displays literally inside an HTML-based doc site or blog post.
Convert accented characters and emoji to numeric entities when a system or feed only accepts pure ASCII content.
Pre-encode dynamic strings before pasting them into an email template or static HTML file to reduce the risk of broken layout.
Named + basic mode escapes the five HTML-reserved characters.
<a href="/x">Fish & Chips</a><a href="/x">Fish & Chips</a>Encode all non-ASCII mode converts accents and emoji to numeric entities.
café 🍟café 🍟All encoding runs in your browser. Input is never uploaded to ToolMint servers.
An HTML Encoder converts text into HTML entities so reserved and non-ASCII characters display as literal text instead of markup.
Encoded text keeps your HTML valid and helps prevent markup injection when embedding dynamic or user-supplied content.
It escapes the five reserved characters and optionally non-ASCII code points. It does not decode, minify, or validate HTML.
Convert CSV to JSON Without Breaking Your Data
Why CSV to JSON conversions go wrong - quoted commas, line breaks inside cells, delimiters, and lost leading zeros - and how to check the output before it reaches your app.
URL Encoding Explained: Percent Signs, Plus Signs, and Double Encoding
How percent-encoding works, when to use encodeURIComponent versus encodeURI, why spaces sometimes become plus signs, and how to spot double-encoded URLs.
Seven Regex Mistakes That Break JavaScript Code
Unescaped dots, missing anchors, greedy matches, the stateful g flag, and catastrophic backtracking - what each mistake looks like and how to test for it before it ships.
Converter
Convert CSV to JSON instantly.
Updated Jul 20, 2026
Converter
Convert JSON arrays to CSV instantly.
Updated Jul 20, 2026
Converter
Convert XML to JSON instantly.
Updated Jul 20, 2026
Converter
Convert JSON into pretty XML instantly.
Updated Jul 20, 2026
See every utility on the all tools page.
Found a problem or missing feature? Tell us - no account required.
Last updated: