JSON Formatter.

Validate JSON and format it with indentation or minify it entirely in your browser.

Free · Runs on your device

Your input

Your result

Enter your details or try the sample.

How it works

The browser parses your JSON, then serializes it in the selected format. Invalid syntax is reported without uploading your input.

What to know

Standard JSON does not allow comments or trailing commas. Duplicate object keys keep their last value. JavaScript numbers may lose precision for very large integers; quote identifiers to preserve them. Limit: 1 million characters.