The same document with the air removed.
Minification drops the whitespace that sits between tokens. Keys, values, order and nesting are untouched, so the compact form parses to exactly the same value as the pretty one.
{
"id": 42,
"name": "bracekit"
} {"id":42,"name":"bracekit"}
Where the savings come from
They scale with the whitespace the input carried. A hand-indented configuration or a pretty-printed fixture shrinks a lot; a payload that was already compact barely moves. Indentation multiplied by depth is where the bytes are, not the data itself.
- ▸It cannot shorten keys or string contents, because those are the document.
- ▸It does not sort, deduplicate or otherwise restructure — that is the formatter's job.
- ▸Broken input is not minified into more broken output: the repair pass runs first, so a trailing comma disappears instead of surviving.
NOTE Minified is still valid JSON. Anything that read the pretty file reads this one, which is why compact payloads go into request bodies and fixtures while the indented version stays in version control.
What you get on this page
- ▸One-click minification
- ▸Repair before minifying
- ▸Copy or download compact output
- ▸No character limits or uploads
Because bracekit is a static application, this page loads quickly, caches well and never sends your data to a parsing server. Your formatting preferences, recent documents and snippets stay in local storage.