What does this tool do?
- Pretty-print: Applies indentation to make the JSON easy for a human to read.
- Minify: Strips unnecessary whitespace and line breaks down to a single line β handy for API request bodies and similar uses.
- Validate only: Checks whether the syntax is valid without changing the output.
How does it locate errors?
When the JSON syntax is invalid, we take the error position (a character index) reported by your browser's built-in JSON parser and convert it into an actual line and column number. This helps you quickly spot common mistakes like a missing comma, a missing quote, or mismatched brackets.
Frequently Asked Questions
Is the JSON I enter sent to a server?
No. Everything is processed entirely in your browser and is never sent to a server.
Does it support JavaScript object literals (unquoted keys)?
No. Only standard JSON syntax is supported. Keys must always be wrapped in double quotes.