Free String Escaper

Escape or unescape text for code and data.

Runs locallyNo uploadPrivate
Feedback Report issue
Loading tool…

About the String Escaper

Free string escaper and unescaper. Escape text for JSON, JavaScript, HTML, URLs, CSV fields or regular expressions — or reverse it — so special characters don't break your code or data. Runs in your browser.

How it works

  1. 1

    Pick a context

    JSON, JS, HTML, URL, CSV, Regex.

  2. 2

    Escape or unescape

    Choose the direction.

  3. 3

    Copy

    Paste the safe string in.

Frequently asked questions

JSON, JavaScript, HTML entities, URL encoding, CSV fields and regular-expression metacharacters — each with escape and unescape.

No. Everything is processed in your browser.

Related tools