JSON Formatter
Pretty-print or minify JSON, with a clear error message when it fails to parse.
How it works
- Paste your JSON.
- Choose pretty-print or minify.
- Copy or download the result.
Features
- Free, no sign-up, no watermark
- Runs entirely on your device -- nothing is uploaded
- Pretty-print with 2 or 4 spaces, or a tab
- Minify to a single line
- Clear syntax error messages, not just "invalid"
Frequently asked questions
Is the JSON formatter free?
Yes, completely free with no sign-up, no watermark, and no limit on how often you use it.
Is my data uploaded anywhere?
No. Every conversion runs in your browser, on your own device. Your file is never sent to a server or stored anywhere but your device.
What happens if my JSON is invalid?
You'll see the parser's own error message (e.g. what was expected and where), which is usually enough to find the problem -- a missing comma or an unquoted key are the most common causes.
Does this work on mobile?
Yes -- it works in any modern browser on a phone, tablet, or desktop, with no app to install.