JSON Formatter
Paste or open JSON up to 16 MiB locally, pretty-print (2/4 spaces or tabs), sort keys alphabetically or minify. Your payloads never leave your device.
ready
Processing runs on your device.
Frequently asked questions
Are my API payloads or JSON files uploaded?
No. Parsing, formatting and validation happen entirely locally in your browser. Uploaded: 0 KB.
How large can a JSON file be?
Inputs up to 16 MiB and 128 nesting levels are processed locally in your browser.
Does it show the exact syntax error position?
Yes. Invalid JSON reports the line and column number along with a pointer snippet.