Eskillsfy

Home / Tools / Data and formats

String Escape & Unescape

Escape text for JSON, JavaScript, regex, SQL or Unicode.

Runs in your browserFree, no sign-up
Loading tool…

How to use it

  1. Pick the style.
  2. Choose Escape or Unescape.
  3. Paste text and copy the result.

About this tool

Escapes quotes, backslashes, new lines and special characters so text can go inside a JSON or JavaScript string, a regular expression or a SQL literal. Unescape turns \n, \t and \u00e9 sequences back into real characters.

Your input is processed on your device. Nothing is sent to a server or stored.

How it works, and how to build your own →

Questions

What does Unicode escape do?
It writes every non-ASCII character as \u followed by its code, so the text is safe in ASCII-only files.
Data and formats

More tools like this

All data and formats