JSON formatter, validator & minifier
Paste messy JSON and beautify it with your preferred indentation, or minify it down to a single line for production. If the JSON is invalid, you get a clear message with the line and position of the error so you can fix it fast. Optionally sort object keys alphabetically. It all runs offline in your browser, so sensitive payloads stay private.
Frequently asked questions
How do I fix invalid JSON?
Paste it in — if it’s invalid, the status shows the error message with the line and column so you can jump straight to the problem (often a trailing comma or a missing quote).
What is the difference between beautify and minify?
Beautify adds indentation and line breaks to make JSON readable; minify strips all whitespace to make it as small as possible for transport.
Is my JSON uploaded anywhere?
No. Parsing, formatting and validation all happen in your browser, so even sensitive API payloads stay on your device.
