Local JSON minifier
JSON Minifier Online
Minify JSON, copy compact payloads, and keep API data processing local to your browser.
Tree
Search key, value, path, or type
0 / 0
Click Format to inspect valid JSON.
Select a tree node to inspect it.
Common JSON minifying tasks
- Remove indentation and extra whitespace from formatted JSON payloads.
- Copy compact JSON for test fixtures, request bodies, environment variables, or logs.
- Validate JSON before minifying so compact output is still safe to use.
- Switch back to formatted JSON when you need to inspect nested data.
FAQ
Does minifying JSON change values?
No. It only removes unnecessary whitespace outside strings after the input parses successfully.
Can I copy minified JSON without replacing the editor content?
Yes. Use Copy minified to copy compact JSON while keeping the current editor content visible.
Why should I validate before minifying?
Minifying only works on valid JSON. Invalid input should be fixed before compact output is generated.