Text Escape / Unescape

Escape special characters for HTML, JSON, URL, XML, and CSV

100% In-BrowserNo Server UploadFree, No Signup
Text
For EngineersFastPass - AI Career Agent

AI analyzes your skills and matches you with the best opportunities. Get a free market value assessment.

Get Started Free

How to Use

  1. Enter text

    Type or paste text you want to escape or unescape into the input area.

  2. Choose mode and direction

    Select mode (HTML/JSON/URL/XML/CSV) and escape/unescape from the toolbar, then click "Convert".

  3. Copy result

    Use the "Copy" button to copy the result to your clipboard.

Text Escape / Unescape Examples

HTML escape

Input
<div class="test">&</div>
Output
&lt;div class=&quot;test&quot;&gt;&amp;&lt;/div&gt;

Converts to HTML entities.

JSON string escape

Input
Hello "world"
New line	Tab
Output
Hello \"world\"\nNew line\tTab

Escapes characters for JSON strings.

Features

  • HTML entity escape/unescape
  • JSON string escape/unescape
  • URL component escape/unescape
  • XML escape/unescape
  • CSV escape/unescape
  • Local processing (your input is not sent to servers)
  • Dark mode support

FAQ

What is the difference between escaping and encoding?

Escaping converts characters that have special meaning in a given context (HTML, JSON, etc.) into safe representations. Encoding is a broader concept of transforming data representation.

What is the difference between HTML and XML escaping?

HTML escaping converts special characters (<>&"'). XML escaping is similar, but &apos; is more standardized in XML than in HTML.

Is my data sent to a server?

No. All processing happens locally in your browser via JavaScript. No data is ever transmitted externally.