JSON Formatter & Validator
Format, validate, and minify JSON data.
Runs entirely in your browser.
JSON Formatting and Validation Tool
Valid JSON - Formatted successfully
About JSON
JSON (JavaScript Object Notation) is a lightweight data-interchange format that is easy for humans to read and write, and easy for machines to parse and generate.
JSON is built on two structures:
- A collection of name/value pairs (object)
- An ordered list of values (array)
Learn more: JSON Tutorial
Single-Purpose JSON Tools
This page does all of them. If you only need one:
- JSON Minifier — strip whitespace to the smallest form
- JSON Validator — find the line and column of the first error
- JSON Stringify — escape JSON into a string literal, or back
- Sort JSON Keys — alphabetise keys at every level