Single-line JSON, also called minified JSON, is the same data written on one line with no spaces or line breaks. It works exactly like pretty JSON, but it is smaller, so it is handy for pasting into a form, a URL, or a config field that expects one line. This tool reads your formatted JSON, checks that it is valid, and writes it out as one compact line, telling you how many characters you saved.
Limit: Max 1,000,000 characters.
Yes, it is free and needs no sign-up.
It is the same JSON written on one line, with all unnecessary spaces and line breaks removed.
You get the exact error message, and no single-line output or download is made.
No. The JSON is minified in your browser and never leaves your device.