JSON Minifier

Remove whitespace from JSON to make it as small as possible.

How JSON minifying works

Minifying removes spaces, tabs and line breaks that are only there for readability, leaving the data unchanged. Smaller JSON is faster to send in API requests and to store. The status line shows the size before and after.

The result is still valid JSON and reads the same to any program. Minifying does not change values, but it does normalise number formatting and escapes in strings, so the text may differ slightly from the original while meaning the same thing.

If the input has an error, the minifier tells you where it is instead of producing output.