Turn text into a valid JSON string, turn an escaped string back into text, or nest JSON inside a string.
To put text into JSON, quotes, backslashes, tabs and line breaks have to be escaped — otherwise the file breaks. Paste the text and get a ready string literal: " becomes \", a line break becomes \n, a Windows path keeps its backslashes as \\. The reverse direction turns an escaped string from a log or an API response back into readable text.
Two more modes cover JSON inside JSON. Stringify takes a JSON document and writes it as one escaped string — the shape a config field, an environment variable or a message queue often expects. Parse does the opposite: it unwraps such a string and shows the JSON inside, formatted. Large integers stay exact in both directions.
Auto mode guesses the direction from what you paste, and the result updates as you type. Choose whether to keep the surrounding quotes and whether non-Latin characters should be written as \uXXXX. An invalid sequence such as \x is reported with its position.
Nothing is uploaded: everything runs inside your browser, so API responses, configs, contact lists and datasets stay on your device.
Text, an escaped string or a JSON document; the Sample shows typical special characters.
Auto detects the direction; pick escape, unescape, stringify or parse yourself if needed.
The output updates as you type; copy it with one click.