Skip to contentSkip to the inputSkip to the result

Minify JSON

Remove optional whitespace from JSON.

Loading tool

Instructions

Minify JSON

How to use

Paste valid JSON and generate a compact representation.

Paste valid JSON and generate a compact representation.

Supported input

JSON strings retain their content; invalid syntax is rejected.

Input example

{ "a": 1 }

Result example

{"a":1}

Troubleshooting

Check required inputs, numeric ranges and the selected conversion direction. Paste valid JSON and generate a compact representation.

Limitations

JSON strings retain their content; invalid syntax is rejected.

How it works

Remove optional whitespace from JSON. JSON strings retain their content; invalid syntax is rejected.

Units & precision

JSON strings retain their content; invalid syntax is rejected.

Search tools

Search by tool name or task. Press Ctrl / ⌘ + K to open.