# JSON Minifier

Strip all whitespace from JSON to shrink it.

## URL

https://ilham.dev/tools/json-minifier/

## What It Does

Strip the whitespace out of a JSON document while keeping it valid, so it takes fewer bytes over the wire. It parses first and re-serialises, so a malformed document is rejected rather than mangled.

## Features

- Runs in the browser
- No login required

## Input

text input.

## Output

text output.

## Privacy

Processing happens locally in the browser.

No input data is uploaded to ilham.dev.

- Requires login: false
- Requires API key: false
- Stores user data: false


## Examples

- How much smaller does it get?




## Questions

### How much smaller does it get?

It depends on how much spacing the original contains. A one-line document may barely change. If your server already compresses responses, removing spaces may save much less on the actual download than the text boxes suggest.

