JSON tools
JSON formatter and viewer
Paste messy JSON to pretty-print it, minify it, or open it as a tree. Convert an object to a string, or parse an escaped string back to JSON.
Viewer
The viewer formats or minifies JSON, suggests small fixes for common mistakes, and shows a collapsible tree. You can also load a .json file from disk.
Convert
Stringify turns JSON into an escaped string. Parse turns that string back into readable JSON. Useful when an API or log file stored JSON inside a string.
Questions
Can it fix invalid JSON?
It can repair common issues such as trailing commas or missing quotes. It cannot invent a structure if the text is not JSON.
Is my JSON uploaded?
No. Formatting happens in the browser.