Skip to content
QZTools

JSON minifier

Shrink JSON onto a single line without changing its data.

Everything runs in your browser. Nothing you type or paste is sent to a server.

How to use the JSON minifier

  1. 1

    Paste the formatted JSON.

  2. 2

    The minified JSON appears instantly.

  3. 3

    Copy or download the result.

About this tool

Minifying is useful for sending JSON in requests, storing it in environment variables or slimming down config files.

We check the JSON is valid before minifying, so you won't get a broken result.

Frequently asked questions

Is any data lost?

No. Only spaces and line breaks outside values are removed.

How do I get the readable version back?

Use the JSON formatter.