JSON tools: format, validate and minify
Format, validate and minify JSON in your browser.
JSON is the default format for APIs, configuration files and logs, and it is strict: one trailing comma or a single quote makes a whole document invalid. These tools check JSON against the specification, point to the exact line and column of a problem, and reformat valid documents so they are easy to read or as small as possible.
Every tool runs locally in your browser. Nothing you paste is uploaded to a server, so it is safe to inspect API responses that contain access tokens, customer records or other personal data. Settings such as pretty or minified output are remembered on your device.
Typical uses: reading a minified API response, finding why a config file fails to load, shrinking a payload before storing it in an environment variable, and checking hand-edited fixtures before committing them.
Tools
JSON Formatter
Pretty-prints or minifies JSON as you type and marks syntax errors in the input with their line and column. Runs locally, nothing is uploaded.