Format and beautify JSON with custom spacing and clear error reporting. Paste it in or upload a file.
The formatted JSON appears here.
Paste it in, or upload a .json file.
1 to 4 spaces, or compact to minify.
Any syntax error is shown with its position.
Take the formatted result with you.
The usual causes are a trailing comma after the last item, single quotes instead of double quotes, unquoted keys, or comments — none of which are allowed in standard JSON.
Indent with 1 to 4 spaces, or choose Compact to minify. Four spaces is easiest to read; compact is best for production.
No. The formatter runs entirely in your browser, so your data never leaves your device.
Yes, within reason. Because everything runs in your browser, very large files depend on your device's memory and speed.