Developer tools
JSON Formatter & Validator
Paste JSON to pretty-print it, minify it or find exactly where it is broken. Nothing you paste is sent anywhere.
- Runs in your browser
- Free, no sign-up
Invalid JSON
How to use the JSON Formatter & Validator
-
1
Paste or type JSON into the input box (or open a .json file).
-
2
Press Format to pretty-print it, or Minify to remove all whitespace. Errors show the line and column.
-
3
Copy the result or download it as a file.
Frequently asked questions
Why is my JSON invalid?
Is my data sent to a server?
Embed this tool on your site
Paste this code into your page. It's free, with no sign-up, ads or cookies.
Please keep the "Powered by Dev-Talk" link.