String Escaper

Escape quotes, backslashes, and newlines in JSON/JS strings, or turn them back into plain text

도구를 불러오는 중…

🔒 Everything runs 100% in your browser. Your files and input are never uploaded to any server.

Escape quotes, backslashes, newlines, and more so your text can be safely dropped into a JSON or JavaScript string literal. You can also reverse the process to restore an escaped string back to its original text.

How to use

  1. Choose the Escape or Unescape tab.
  2. Enter the text or string you want to convert.
  3. Adjust options for quote type, non-ASCII handling, and stripping surrounding quotes.
  4. Copy the result.

FAQ

Can it convert characters like Korean text and emoji to \u too?
When you enable the 'Also \u-escape non-ASCII' option, characters such as Korean text and emoji are converted to \uXXXX form (using surrogate pairs when needed). Leave it off to keep the original characters as-is.
Which formats does unescape recognize?
It recognizes \n \t \r \b \f \v \0, \xXX, \uXXXX, \u{XXXXX}, plus escaped quotes, backslashes, and slashes.
Is the output always correct?
It follows standard JSON and JS escaping rules, but results may differ for unusual input, so verify it before using in critical code.

← Back to all tools

가격 보기카톡 무료 상담