DevKitBase
ToolsAboutPrivacy

Unescape a JSON string without guessing backslashes

Logs and docs often show already-escaped snippets. Paste the escaped content (with or without wrapping quotes); recover the raw string.

chars: 39
Input
Output

When to use

Reading debug output or reversing an escape you just made.

Examples

Input
He said \"hi\"
Output
He said "hi"
Input
a\tb
Output
a	b

How it works

Wraps as a JSON string when needed, JSON.parse, shows the string value.

Common pitfalls

  • Garbage after a partial escape fails parse.
  • Don’t unescape HTML entities here — use HTML Decode.
  • Raw newlines in the input are not the same as \n sequences.

How this differs

Opposite of JSON Escape. Base64 Decode is for binary-safe blobs, not JSON escapes.

FAQ

Can I unescape a whole JSON document?
Use the formatter/validator for documents; this page is for string content.
Invalid escape sequences?
Show parse error.
Related to URL decode?
Different language; don’t mix.
Reverse?
JSON Escape.

Related tools

Runs in your browser. Nothing is uploaded. Not a security product —hashes and JWT decode are for debugging, not password storage or auth advice.