HOW IT WORKSUse JSON Minifier in three simple steps
1Add content
Paste or import a UTF-8 file up to 5 MB, or load an example.
2Choose options and process
Run the action below the editors. Review any error before continuing.
3Copy or download
Use the current result. If you change the input or settings, process again first.
ABOUT THIS TOOLJSON Minifier
Remove unnecessary whitespace to create compact JSON.
Yes. Only whitespace outside strings is removed. Number spelling, large IDs and whitespace inside strings are preserved.
FAQFrequently asked questions
Are values preserved?
Yes. Only whitespace outside strings is removed. Number spelling, large IDs and whitespace inside strings are preserved.
How is the saving measured?
Before and after sizes use UTF-8 bytes, not character counts. Already compact JSON may have no saving.
Is this tool free and private?
Yes. No account is needed, and your input is processed locally in your browser without being uploaded to FormatKit.