ToolsCandy

String Escape & Unescape — JSON, HTML, URL & More

Escape and unescape strings for JSON, JavaScript, Unicode, HTML entities, and URL encoding in one tool. Switch formats without leaving the page — all client-side.

Your data never leaves your browser

Input text
Escaped output

About this tool

5 formatsWrap in quotesEscape + unescapeCross-encodingPrivate

How to use

  1. Choose Escape or Unescape and pick a format.
  2. Paste your text in the input panel.
  3. Copy the result for use in code or configs.

Examples

HTML escape

<div>Hello & goodbye</div>
&lt;div&gt;Hello &amp; goodbye&lt;/div&gt;

FAQ