Tools

Paste any JSON to format it with clean indentation, spot syntax errors with the exact line and column, or minify it for production. Everything runs in your browser, so your data never leaves your machine.

Input

Valid JSON

Result

Frequently asked questions

Is my JSON uploaded anywhere?
No. Formatting and validation happen entirely in your browser with the built-in JSON parser, so nothing is sent to a server.
Why does my JSON fail to validate?
The usual culprits are trailing commas, single quotes instead of double quotes, unquoted keys and comments. JSON allows none of those. The error message points to the line and column where parsing stopped.
What is the difference between formatting and minifying?
Formatting adds indentation and line breaks so a human can read the structure. Minifying strips all of that whitespace so the file is as small as possible for sending over the network.

quick question

Was this tool helpful?