Unescape JSON

Unescape JSON is a simple and efficient tool that allows you to convert escaped JSON strings back to their original format. This tool is perfect for working with JSON data that contains escape characters, such as \” for quotes, and automatically restores them to the raw, usable format. You can also choose to format the JSON output in a human-readable way or trim unnecessary whitespace for more compact output.

Paste your input above or import a file below.
No file chosen
Supported file types: .json, .txt, .log, .csv, .tsv, .md
Total characters: 0
Options
Pretty Output
Trim Whitespace

How to Use:

  1. Paste your escaped JSON string into the Input Escaped JSON box or import a .json file.
  2. In the Options panel:
    • Toggle Pretty Output for readable, indented JSON.
    • Toggle Trim Whitespace to remove extra whitespace from the JSON output.
  3. The Unescaped JSON Output will update in real-time as you modify your input.
  4. Use Copy Output to copy the unescaped JSON to your clipboard.
  5. Click Export to File to download the result as a .json file.
  6. Click Clear All to reset everything.

What Unescape JSON can do:

Unescape JSON is ideal for developers or data analysts working with escaped JSON strings that need to be cleaned up for use in applications or APIs. It handles escape sequences like \” and \\ and reverts them to their original, unescaped versions. With real-time updates and output formatting options, this tool makes working with JSON data seamless.

Example:

Before:

"{\"name\":\"Alice\",\"email\":\"[email protected]\",\"age\":30,\"city\":\"London\"}"

With options enabled:

  • Pretty Output: On
  • Trim Whitespace: Off

After:

{
"name": "Alice",
"email": "[email protected]",
"age": 30,
"city": "London"
}

Common Use Cases:

Unescape JSON is ideal when working with escaped JSON data from external sources, such as APIs or log files. It allows you to quickly clean up data for further processing, analysis, or integration into other systems.

Useful Tools & Suggestions:

If the content looks like a mess of slashes, JSON Unstringify Text helps bring it back to a usable format. Then, to make it easier on the eyes, Prettify JSON lays it all out so you can actually read it.