When to minify JSON
Smaller payloads mean faster API responses and smaller bundles. Minify for production, keep the formatted version for reading and diffs.
FAQ
Does minifying change my data?
No. Only whitespace outside strings is removed. Keys, values and order stay the same.
Can I undo it?
Yes. Paste the minified JSON into the JSON Formatter to get readable output again.
More tools
JSON FormatterPaste JSON to pretty-print it, find syntax errors with line and column, or minify it. Everything runs in your browser.JSON ValidatorPaste JSON to check it. You get a clear pass or the exact line and column of the first error.JSON to CSVPaste a JSON array of objects and get CSV. Nested objects become columns like address.city.Base64Encode text to Base64 or decode it back. Handles UTF-8, emoji and URL-safe Base64.JWT DecoderPaste a JSON Web Token to read its header and payload. The token stays in your browser.