Format, validate, repair and minify JSON online for free. Paste or drop a file to get readable, colored JSON, see exactly where an error is, and fix missing braces or commas automatically.
Your result will appear here
Ready to process
Ctrl + Enter to format
Frequently asked questions
How do I format JSON online?
Paste your JSON or open a .json file, choose the indentation and press “Format JSON”. The result appears on the right with colors and line numbers, ready to copy or download.
Can it fix invalid JSON?
Yes. If the JSON has missing braces or brackets, trailing or missing commas, single quotes, comments or unquoted keys, the tool repairs it automatically and lists every fix so you can review it.
Is my JSON sent to a server?
No. Formatting, validation and repair run entirely in your browser, so your data never leaves your device.