JSON Escape / Unescape

JSON Escape / Unescape

Local Processing

Escape text as a JSON string or unescape it.

How It Works & Processing Standards

Escape text as a JSON string or unescape it.

Tool processing runs in your browser. If you create a calculator or conversion share link, its values are included in the URL. See the privacy policy for account, analytics and advertising data.

Current Limits

  • Desktop max file size: 50MB
  • Mobile max file size: 20MB

Choose escape or unescape under "Task". Use it to put multi-line text into code or config, or to read log strings full of \n and \".

What You Can Do

Escape
" → \", newline → \n, \ → \\, wrapped in quotes.
Unescape
Turns a JSON string back into text.

How to Use JSON Escape / Unescape

  1. 1
    Choose a taskEscape or unescape.
  2. 2
    Enter textPaste the text or JSON string.
  3. 3
    CopyCopy the result.

Examples

Escape quotes and newline
Input: 그가 "안녕"이라고 말했다 다음 줄
Result: "그가 \"안녕\"이라고 말했다\n다음 줄"
Unescape
Input: "C:\\temp\\new"
Result: C:\temp\new

Common Use Cases

  • Putting multi-line text or paths into JSON config
  • Reading escaped strings in logs

Frequently Asked Questions (FAQ)

Are non-ASCII letters turned into \uXXXX?

No. JSON allows UTF-8 characters as they are; only quotes, backslashes and control characters are escaped.

Have feedback or ideas for this tool? Suggest & Inquire →