Convert any JSON object into an escaped JavaScript string — the equivalent of running JSON.stringify() in your browser.
Click the left panel and paste your data (Ctrl+V / Cmd+V), or use the Paste or Sample buttons.
Press the 🔤 Stringify JSON button. The result appears instantly in the right panel.
Any syntax issues in your input are shown in the red error bar with a clear description so you can fix them quickly.
Click Copy to copy to clipboard or Download to save the file locally.
Stringifying converts a JSON object into a plain string with all quotes escaped (\" becomes \"). This lets you embed JSON inside another JSON value, a JS variable, or a URL parameter.
Common use cases: storing JSON inside a JSON string field, passing JSON through a URL query parameter, embedding JSON in a JavaScript string literal, or logging JSON as a single line.
Double quotes become \\", backslashes become \\, newlines become \n, tabs become \t, and carriage returns become \r.
The output is a JSON string — a valid JSON value. If you wrap it in double quotes it forms a valid JSON string literal.
Yes. Everything runs locally in your browser. Nothing is sent to any server.
Use our JSON Unstringifier tool to convert the escaped string back to a formatted JSON object.