Open a local file or use the input controls.
JSON Minifier
Validate and compact JSON without changing large numeric literals, string escapes, duplicate keys, or key order.
Processing happens locally using browser APIs and on-device code. Closing this tab clears the working data.
Done in three simple steps
Paste JSON or open a UTF-8 file, then minify it.
Review the result, then download it.
Frequently asked questions
Does this tool upload my input?+
No. Your input is processed on your device using browser APIs and local code.
Are large numbers rounded?+
No. Validation is separate from whitespace removal. The output retains your original numeric literals instead of parsing and serializing them into rounded JavaScript numbers.
What are the limits?+
5-million-character limit. Only insignificant whitespace outside strings is removed.