Minify JSON
Remove optional JSON whitespace while preserving its parsed structure.
Local processing · Nothing is uploaded · 1 MB input limit
Input & settings
Ready. Enter your input to begin.
How to use this tool
Paste valid JSON and run the tool to produce compact JSON.
Limits and behavior
Uses native JSON parsing. Comments, trailing commas, and numbers outside the safe integer range are unsupported. Input is limited to 1 MB and output to 3 MB. No input content is saved by CraftAI.
Minify JSON without changing its values
Paste valid JSON and remove optional whitespace to produce compact JSON output. This JSON minifier is useful for reducing payload size when readability is less important than compact serialization.
Can a JSON minifier fix invalid JSON?
No. The input must be syntactically valid JSON. Correct parsing errors first; minification is not automatic error repair.
Related tools: Format JSON · Validate JSON