Local · Private · Free

String Escaper

Escape and unescape strings for JSON, JavaScript, HTML, URL, Base64, SQL, CSV, regex and Unicode. All processing runs on your device, in both directions, with no upload.

Your text never leaves your browser. Nothing is uploaded.


What each mode escapes

ModeEscapesExample
JSON" \ and control chars (\n, \t, …); non-ASCII optionalHe said "hi" → He said \"hi\"
JavaScriptquote char, \, newlines; template mode also ` and ${it's → it\'s
HTML& < >, optionally " ' and non-ASCIIa<b → a&lt;b
URLreserved & unsafe chars → percent-encodinga b → a%20b
Base64everything → A, Z a, z 0-9 + / (UTF-8 safe)hi → aGk=
SQLsingle quote doubled (''); MySQL mode uses backslashesit's → it''s
CSVfield quoted if it holds delimiter / quote / newline; " doubleda,b → "a,b"
Regex. * + ? ^ $ ( ) [ ] { } | \ optionally - /1+1 → 1\+1
Unicodechars → \uXXXX or \u{…} escapesé → é

About String Escaper

String Escaper is a free, private browser tool for developers and writers. It escapes and unescapes strings across 9 modes: JSON, JavaScript, HTML, URL, Base64, SQL, CSV, regex, and Unicode. Everything runs locally on your device. Your text is never uploaded to a server, no sign-up is needed, and the tool works offline. Like every free tool by Digital Heroes, it has no limits and no cost.

What you can do

How to use String Escaper

  1. Open String Escaper in your browser. No signup or install needed.
  2. Choose a mode (JSON, HTML, URL, etc.) and a direction: Escape or Unescape.
  3. Paste or type your text into the input box. The result appears instantly on the right.
  4. Adjust any per-mode options (quote style, delimiter, URL-safe, etc.) to match your needs.
  5. Copy or download the output. Your data stays on your device throughout.

Frequently asked questions

Is String Escaper free?

Yes, String Escaper is completely free for everyone. No sign-up, no account and no usage limits.

Is it private? Are my files uploaded anywhere?

No. String Escaper runs entirely in your browser on your own device, so your data never leaves your computer and nothing is uploaded to a server.

Does it work offline?

Yes. This tool is a Progressive Web App, once the page has loaded it keeps working offline, and you can install it as an app from your browser.

Do I need to install anything or create an account?

No. Just open the page and start using it. Installing it as an app is optional and only adds offline convenience.

What does String Escaper do?

Escape & unescape strings for JSON, JS, HTML, URL, SQL, CSV, regex & unicode.