JSON Formatter
Loading…
About this tool
Format, minify and validate JSON with exact line and column errors. Big numbers stay untouched and everything runs on your own device.
Fully offline
Features
- Errors with line, column and a go-to-error button
- Large numbers keep full precision
- Tree view with copyable JSONPath
- 2-space, 4-space and tab indent
- Works offline
Examples
Format an object
- Input
- {"a":1,"b":[true,null]}
- Output
- { "a": 1, "b": [ true, null ] }
FAQ
Is my JSON uploaded?
No. All processing happens on your device and nothing is sent to a server.
Why are large numbers not changed?
The tool edits the original text instead of converting it to a JavaScript object, so a number like 12345678901234567890 stays exactly as written.