HTML Escape / Unescape
Escape HTML special characters or decode basic and numeric HTML entities.
Convert in your browser · No sign-up
Escapes &, <, >, double and single quotes. Decodes amp, lt, gt, quot, apos, nbsp and numeric references; unknown names stay unchanged. Output is plain text.
Up to 100,000 UTF-16 units per input · 0 / 100,000
How to use
- Paste your text or load the example.
- Choose the mode or options, then run the tool.
- Review the result, then copy or download the TXT file.
Example
<p>A&B</p> → <p>A&B</p>
Details and limitations
Escape HTML special characters or decode basic and numeric HTML entities.
Escapes &, <, >, double and single quotes. Decodes amp, lt, gt, quot, apos, nbsp and numeric references; unknown names stay unchanged. Output is plain text.
Text stays in your browser; it is not sent to a conversion server.
Related tools
Format references
Tool page updated: