JSON to String Converter – Stringify JSON Online
Convert JSON to a string online: turn an object, array or value into one escaped, quoted JSON string, ready for an API field or config value. To go back from string to JSON, use unescape.
Processed in your browser. The output is a JSON string containing your compact JSON document. Unescape it to recover the document.
Make the most of this tool
Paste valid JSON, not JavaScript source. The result is one JSON string value with escaped quotes and backslashes.
Stringify a document once. Unescaping the output returns the original compact JSON text.
Going the other way, from string to JSON? Paste the quoted string into JSON Unescape to get the original JSON back. For smaller JSON without quoting, use the minifier.
Need to read or debug JSON from this result? Paste it into the JSON beautifier to format, validate and explore it as a tree.
Frequently Asked Questions
What does JSON stringify output?
It produces one JSON string containing your compact JSON document. Quotes and backslashes are escaped so the document can be stored as a string value.
How is this different from escaping ordinary text?
Stringify first validates that the input is a JSON document. The escape tool can encode any plain text. Use Unescape to recover the document from the string.