Stringify
Wrap the input as a JSON string, the same as JSON.stringify on text. Includes the surrounding quotes.
Paste text and press the button. The conversion runs on this device.
Ctrl/⌘ + Enter
Example input
hello "world"More JSON tools
- Format JSON — Pretty-print JSON with two-space indentation.
- Minify JSON — Remove insignificant whitespace from JSON.
- Escape JSON — Escape quotes, backslashes, and newlines so the text can sit inside a JSON string. Does not add surrounding quotes.
- Unescape JSON — Reverse of Escape. Turns backslash-escapes into real characters. Also accepts a quoted JSON string.
- Parse JSON — Parse JSON. A JSON string becomes raw text. Objects and arrays are pretty-printed.
- Validate JSON — Check that the input is valid JSON and describe its shape.