Remove unnecessary whitespace from JSON to create a compact version that is easier to transmit, store, or embed.
JSON Input
Minified JSON
Paste JSON on the left and click Minify JSON.
JSON minification removes unnecessary spaces, indentation, and line breaks while preserving the actual JSON data.
The JSON is parsed and validated before minification, so malformed JSON will be reported instead of producing an unreliable result.
Processing happens entirely in your browser. Your JSON is not uploaded to a server.