JSON Minify
Paste JSON to remove all whitespace. See the size saved; numbers stay exactly as written.
Smaller JSON, same data
For API payloads, config bundles, fixtures and anything you send over the wire or store in bulk.
- Size saved, shown
- Before and after sizes with the percentage saved, updated as you type.
- Exact numbers
- 64-bit integers and decimals like 1.50 are kept as written — nothing is rounded.
- Errors with a line number
- Invalid JSON is marked at the exact line and column. The formatter can repair it.
- Big files
- Open files up to 50 MB; minifying happens on your device.
- Need the opposite?
- The JSON Formatter beautifies with 2 or 4 spaces or tabs.
- Private
- Nothing is uploaded. Works offline, no sign-up.
Frequently asked questions
What does minifying JSON do?+
It removes the spaces, tabs and line breaks that only exist to make JSON readable. The data is identical — same keys, values and order — but the file is smaller, which saves bandwidth and storage.
How much smaller does JSON get?+
Pretty-printed JSON usually shrinks by 20–40%, more when it is deeply nested or indented with 4 spaces. The exact saving is shown under the result.
Does minifying change my numbers?+
No. CurlyJSON keeps numbers exactly as written, including 64-bit IDs like 9007199254740993 that JSON.parse in JavaScript would round, and decimals like 1.50.
My JSON is invalid. Can it still be minified?+
Minifying needs valid JSON, so the error is shown with its line and column. The formatter can repair common problems (trailing commas, single quotes, comments) — fix it there and come back.
Is my data uploaded?+
No. Minifying runs in your browser and works offline. Files up to 50 MB open directly.