JSON Unstringify
Decode an escaped JSON string back into raw, readable text.
Converters Runs in your browser
How do you unstringify a JSON string?
When you unstringify “Line one\nLine two”, the \n stops being two characters and becomes an actual line break. All standard JSON escapes decode: \", \\, \/, \b, \f, \n, \r, \t and \uXXXX. Paste the string with or without its outer quotes; either form parses. Malformed escapes yield empty output instead of a half-decoded guess. Decoding happens on your machine, in the page itself.
How to use the JSON Unstringify
- 1 Paste the escaped string; outer double quotes are optional.
- 2 Escape sequences collapse back into real newlines, tabs and Unicode characters.
- 3 An empty result means the escapes did not parse; fix and retry.
- 4 Copy the decoded text.
What you can use it for
- Reading a JSON string value as normal text.
- Recovering multi-line text stored as a JSON string.
- Debugging an over-escaped API field.
- Reversing a JSON stringify step.
Frequently asked questions
Must the input keep its surrounding quotes?
No. Quoted input is parsed as-is; unquoted input is wrapped for you first. Both roads lead to the same decoded text.
What does a blank output mean?
The string is not valid JSON, often an unpaired quote or a broken \u escape. Nothing is emitted rather than an incorrect partial decode.
Which escapes are recognised?
The full JSON set: \", \\, \/, \b, \f, \n, \r, \t and four-digit \uXXXX sequences.
Related tools
More Converters
More tools like this:
All Converters