Tools / Data
JSON Formatter
i
How it works
- Format or minify: pretty-print with 2 spaces, 4 spaces or tabs, or squeeze it onto one line.
- Errors: invalid JSON shows the line and column of the problem.
- Sort keys: orders every object's keys A to Z, handy before comparing two files.
- Private: everything runs on your device. Nothing is uploaded.
Format, validate and minify JSON. Errors point to the exact line. Runs in your browser; nothing is uploaded.