JSON Formatter & Validator
Pretty-print, minify, and validate JSON — with clear error locations when something's wrong.
Everything runs in your browser — nothing you paste here is sent anywhere.
Frequently asked questions
Does this validate JSON, or just format it?+
Both — if the JSON is invalid, you'll see the specific error along with the line and column it occurred on, instead of just a generic parse failure.
What's the difference between Format and Minify?+
Format re-indents the JSON for readability (pick 2, 4, or 8 spaces). Minify strips all whitespace to produce the smallest possible output — useful before pasting into a config file or API payload.
Is my data uploaded anywhere?+
No — parsing and formatting both happen in your browser using the native JSON.parse/stringify APIs.