JSON formatter and validator
Validate, pretty-print or minify JSON with precise syntax errors and a tree-friendly result.
Paste JSON to validate it, format it for reading, or minify it for transport. Parse errors include a useful location and the data never leaves this page.
Real parsing
The browser JSON parser validates strings, escapes, numbers, arrays and objects.
Format or minify
Readable two-space indentation and compact output come from the same parsed value.
Local by design
Sensitive configuration and response data are not uploaded.
Frequently asked questions
Does it accept comments?
No. Comments and trailing commas are not valid JSON.
Will it alter values?
No, although insignificant whitespace is rewritten.
Other free tools
- Survey sample size calculator
Work out how many responses you need for a given confidence level and margin of error.
- Survey margin of error calculator
Calculate the margin of error achieved by a completed survey sample.
- Survey response rate calculator
Measure delivery, start, completion, response and drop-off rates from a survey funnel.
Want the form to collect the answers too?
Hand-written HTML still needs somewhere to post to. formformform gives you the form, the hosting, the responses and the notifications — free while we are in early access.
Start free