What does this tool do?
A JSON escape/unescape tool converts between plain text and JSON string content. Escaping adds backslashes before quotes, newlines, tabs and other characters that must be escaped inside JSON strings.
Unescaping reverses that process, turning escaped sequences back into readable characters. It is useful when working with logs, APIs, payloads and config files.
How to use it
- Choose Escape or Unescape.
- Paste the input.
- Copy the converted result.
JSON Escape / Unescape limits and rules
| Item | Limit |
|---|---|
| Input | Plain text or escaped JSON string content |
| Unescape | Input must be valid JSON string content |
| Output | String content without outer quotes in escape mode |
| Not covered | Full JSON validation beyond string parsing |
When to use it
- Preparing text for a JSON payload.
- Reading escaped strings from logs.
- Fixing newline and quote escaping.
- Debugging API requests and responses.
Is it private?
Everything runs inside your browser. Your text and files are never uploaded, never stored and never seen by anyone else — including me. You can use the tool with the network tab open and watch no request leave the page. Closing the tab erases the input.
Frequently asked questions
No. It returns the escaped content inside the string, without the surrounding JSON quotes.
The input must be valid JSON string content. Invalid backslash escapes will produce an error.
No. This only escapes or unescapes string content; it does not format whole JSON documents.
Related tools
Written and maintained by Md. Nur Hossain Repon.