DEVELOPER TOOLS / DEVTOOLS

JSON Minifier

Remove unnecessary whitespace from valid JSON.

0 characters
0 characters

Processing happens locally in this browser.

ABOUT THIS TOOL

What JSON Minifier does

Validate JSON and remove formatting whitespace while preserving its data values. The output is compact JSON text that is convenient for transfer or comparison.

Useful for compact fixtures and checking the effect of whitespace. Minification is not encryption and does not make data private.

How to use JSON Minifier

  1. Paste a JSON object or array.
  2. Select Minify JSON; malformed JSON is reported before output is created.
  3. Copy or download the compact JSON.

ANSWERS AND DETAILS

Frequently asked questions

What does this tool do?

Validate JSON and remove formatting whitespace while preserving its data values. The output is compact JSON text that is convenient for transfer or comparison.

When is this tool useful?

Useful for compact fixtures and checking the effect of whitespace. Minification is not encryption and does not make data private.

Is my input uploaded?

No. This tool runs in your browser and does not send the value you enter to a processing server.