Data & Time
JSON Formatter
Format, minify and validate JSON with error positions.
About this tool
Pretty-print, minify and validate JSON with precise line-and-column error reporting. Sort keys deeply for stable diffs, then copy or download — all on-device.
- 1Paste JSON to format it with your chosen indentation, or minify to a single line.
- 2Invalid JSON is flagged with the exact line and column of the error.
- 3Optionally sort object keys deeply for clean, stable diffs.
- 4Copy or download the formatted output — parsing happens locally.
Private by design
Everything runs locally in your browser. Your text, files and images are never uploaded to a server — the entire tool works offline once the page has loaded.
Keep going