0 chars
Empty input
Output
How it works
JSON Formatter formats, minifies and validates JSON. If your JSON is invalid, it shows the exact location of the error as line:column. The tree view helps you find your way through large API responses and config files.
Quick start
- Paste your JSON into the editor.
- Choose indent 2, indent 4 or Minify.
- If something is invalid, fix it at the marked position.
Frequently asked questions
What does minify mean?
It removes spaces and line breaks so the JSON takes up less space.
Why is my JSON often invalid?
The most common causes are trailing commas, single quotes and stray comments.
Is my JSON safe?
Processing is local, and your data isn't sent to a server.