Frequently asked questions
What does minifying change?
Only the whitespace between values: spaces, tabs and line breaks. Keys, values, numbers and the order of properties stay exactly the same, and whitespace inside text values is never touched. Minifying also validates the JSON, so a mistake is reported instead of being copied into the result.
How much smaller will it be?
It depends on how the original was indented. Heavily indented, pretty-printed JSON often shrinks by 20 to 40 percent; JSON that is already compact barely changes. The tool shows the exact saving after each run.
Is minifying the same as compressing with gzip?
No. Minifying removes whitespace and the result is still plain, readable JSON. Gzip or Brotli compress the bytes for transfer and are applied by your server. The two combine well: minified JSON is smaller before and after compression.
Can I turn minified JSON back into readable JSON?
Yes. Use the JSON Formatter & Validator. Formatting restores indentation and line breaks, so nothing is lost by minifying.
Is my JSON uploaded or stored?
No. Everything runs inside your browser, so your data never leaves your device. Our server only records that one operation was minified, along with your network address, so the daily limit can be applied.
Learn more
- How to Convert JSON to CSV for Excel and Google Sheets
APIs and apps export JSON, but spreadsheets want rows and columns. Here’s how to turn JSON into a clean CSV, what happens to nested data, and why Excel sometimes puts everything in one column.
6 min read - How to Format and Validate JSON (and Fix the Most Common Errors)
A single missing comma can break a whole app. Here’s how to make JSON readable, check that it’s valid, and fix the errors that trip up almost everyone.
7 min read - How to Convert JSON to XML (with Attributes)
Web services and apps speak JSON, while many imports, feeds and older systems still want XML. Here’s how each piece of JSON turns into XML, how to get attributes, and which options to pick so the result fits the system you’re feeding.
6 min read