JSON Escape / Unescape

Escape raw strings for JSON embedding or unescape JSON-encoded strings. Handles quotes, backslashes, newlines, and all control characters correctly.

Open JSON Escape / Unescape → free, no sign-in
open full screen ↗

JSON strings require specific escaping — quotes, backslashes, newlines, control characters all need to be handled correctly. Getting it wrong silently breaks JSON parsing in ways that can be hard to diagnose. The JSON Escape / Unescape tool handles both directions precisely: escape a raw string for embedding in JSON, or unescape a JSON-encoded string back to readable text.

Developers constructing JSON strings manually, debugging JSON parsing errors caused by unescaped characters, or working with JSON data that contains nested JSON strings — which require double escaping.

01 Open the JSON Escape / Unescape tool on Doathingy.com
02 Choose Escape or Unescape tab
03 Paste your string
04 The processed string appears immediately
05 Copy the result

No tutorials. No learning curve. Open it and get started.

No server uploads. Shows a detailed summary of which characters were escaped or unescaped — useful for understanding why a particular string was causing a parse error.

Completely free. No trial period. No premium tier for basic functionality. No account required. Use it as often as you need.

One job, done well. JSON Escape / Unescape was built to solve a specific problem cleanly. No feature bloat, no ads, no distractions.

Why do I need to escape strings for JSON?

Certain characters — double quotes, backslashes, newlines — have special meaning in JSON. They must be escaped with a backslash prefix.

What characters are escaped?

Double quotes (\"), backslashes (\\), newlines (\n), carriage returns (\r), tabs (\t), and other control characters.

What is nested JSON?

JSON containing a string field that itself contains JSON — the inner JSON must be double-escaped.

Can I unescape a JSON string property?

Yes — paste the value of a JSON string property (without the surrounding quotes) to unescape it.

Does it validate the result?

After escaping, the result is a valid JSON string value. After unescaping, it shows the original text.

Free. Instant. No sign-in. Open it and get the job done.

Open JSON Escape / Unescape on Doathingy.com →
Browse all free tools →