JSON validator & formatter
Validate, pretty-print, minify and explore JSON.
This tool runs in your browser. Your files and text are not uploaded.
Accepts: Paste text or open a file. Limits: Up to 25.0 MB.
Loading tool…
How to use JSON validator & formatter
- Paste JSON or open a .json file.
- Select Validate, Format or Minify.
- Read any error (with line and column), or explore the tree.
- Copy or download the result.
Questions
Is my JSON sent anywhere?
No. Parsing and formatting run in your browser.
Does it accept comments or trailing commas?
Strict JSON does not allow them, so they are reported as errors. Swoopty points to the exact line and column.
Related tools
More in Developer tools · All tools · Tool ID developers/json-validator