JSON Unescape and Escape
Unescape JSON in your browser. Every escape layer is undone in one paste, and string fields that hold JSON, like tool-call arguments, open into objects.
Loading tool…
How it works
Paste it
Paste escaped JSON, a log line or a file up to 100 MB. Quotes around it are optional. Nothing is uploaded.
Read the layers
Every layer is undone at once and counted. Fields that hold JSON open into objects; turn that off to keep them as strings.
Or escape
Switch to Escape to turn text or JSON into a JSON string, once or up to 10 times.
Which escapes are valid in JSON?
\" \\ \/ \b \f \n \r \t and \u with 4 hex digits, upper or lower case. Anything else, like \x41, \a or \', is an error, shown with its line and column.
What is double escaped JSON?
JSON saved as a string inside other JSON: "{\"a\":1}" holds {"a":1}. A string escapes its quotes and backslashes, so each time adds a layer of backslashes. All layers are undone and counted; JSON with none counts as 0.
Why do big numbers stay exact?
JSON.parse reads numbers as JavaScript numbers, exact only up to 9007199254740991, so 12345678901234567890 becomes 12345678901234567000. Here every number keeps the digits it was written with.
What about duplicate keys?
JSON says keys should be unique, and JSON.parse keeps only the last. Here all of them are kept, as written, and each one is listed. A __proto__ key is a plain key.
What does Safe inside a script tag do?
It writes < as \u003c, so the text cannot close the script tag early, and U+2028 and U+2029 as escapes, which JavaScript strings did not allow before ES2019.
Debugging what an agent did?
Browser Use agents open pages in a real browser, including dynamic ones, and return structured data.