JSON Formatter

Format, minify and validate JSON. Errors show the line and column so you can find missing commas and quotes quickly.

JSON input

Waiting for input

Result

How to use

Three steps, no sign-up

Paste JSON

API response or config file.

Pick an action

Format, minify or validate.

Copy the result

One click to copy.

FAQ

How do I find the error?
A failed validation shows the message plus the line and column when possible. Common causes: trailing commas, single quotes, unquoted keys.
Does formatting change my data?
No. Formatting only adjusts indentation and line breaks; minifying only removes whitespace.
How large can the JSON be?
A few MB in the browser is fine. For very large files, use a command-line tool.

You may also need