Beautify
Format JSON into a readable layout with your choice of 2-space, 4-space, or tab indentation.
Minify
Strip whitespace to compress JSON onto a single line and show the size savings vs. the original.
Validation
Catch syntax errors with a clear message and the exact line and column where the problem occurs.
Tree view
Collapse and expand nodes, with the type and child count shown for each one.
Escape
JSON-escape a string or unescape it back to its original form.
Copy & download
Copy the result to your clipboard or download it as a .json file.
Is my JSON sent to a server?
No. All beautifying, minifying, validating, and tree conversion happens entirely in your browser. None of the data you enter is ever sent to or stored on a server — it even works with your network disconnected.
Does it show where a JSON syntax error is?
Yes. When validation fails, the status bar shows an error message along with the exact line and column where the problem occurred, so you can quickly find missing commas, quotes, or brackets.
What is the tree view?
It's a view that displays objects and arrays as a collapsible, expandable hierarchy. Each node shows its type and child count, so you can grasp the structure of even large, deeply nested JSON at a glance.
How does key sorting work?
When 'Sort keys' is enabled, the keys of every object are reordered alphabetically in the output. This is handy for comparing two different JSON files or saving them in a consistent format.