Skip to content
AVEROPDF

HTML Escape and Unescape

Convert <, >, &, quotes into HTML entities (&lt;, &amp;…) and back.

Processed in your browserFree

About this tool

Prepare a code snippet or a text for display in an HTML page by replacing special characters with their entities, or recover the readable text of content full of entities (&eacute;, &#233;, &nbsp;…). Useful for blogs, CMSs, HTML emails and debugging.

How to use this tool

  1. 1Choose escape or unescape.
  2. 2Paste the text.
  3. 3Copy the result.

Limits to know

  • Unescaping converts numeric entities (&#233;, &#xE9;) and common named entities; HTML tags are not removed.
  • Escaping covers & < > " '; accented characters are kept as they are (UTF-8 being the standard).
Accepted formats
HTML, Text
Maximum size
2 MB

Privacy and file processing

Data is processed in your browser and is never sent to a server.

Read our privacy policy

Frequently asked questions

No: it converts special characters into entities and back, without touching tags. To strip HTML from a text, use "Clean Up Text".