Minifying JSON strips every space, tab and line break that is not part of a string, leaving the smallest valid text. It cuts payload size for network transfer, storage and embedding in URLs or environment variables. Numbers stay exact, and loosely written input such as single quotes or JavaScript-style objects is accepted.
Common uses
- Making a minified API response readable while debugging
- Finding the stray comma that breaks a config file
- Querying a large payload with JSONPath instead of scrolling through it
Frequently asked questions
- Does minifying change the data?
- No. Only formatting whitespace is removed, so the parsed value is identical.
- How do I reverse it?
- Use the JSON formatter to pretty-print the minified text again.