OomTools

Online JSON Minifier

Strip every unnecessary space and line break from valid JSON to get the smallest possible output for embedding or sending over the wire. It validates as it minifies and flags errors clearly, all locally with nothing uploaded.

  • 100% free
  • Private & safe
  • Runs in your browser
Read our complete guide: Understanding JSON: How to Validate, Format, and Minify Payloads

Why use JSON Minifier?

JSON Minifier is a quick, no-nonsense developer utility that runs entirely client-side, so your code and data never leave your machine.

  • Runs instantly in your browser — nothing to install, nothing uploaded.
  • Completely free, with no account, no watermarks and no usage limits.
  • JSON (RFC 8259)
  • Paste your JSON.
  • Works on any device — desktop, tablet and phone — and is fully keyboard accessible.

How to use JSON Minifier

  1. Paste your JSON.
  2. Click Minify to remove all non-essential whitespace.
  3. Copy or download the compact result.
  4. Invalid JSON is reported with the error location.

Examples

  • Minifying a config blob before embedding it in code.
  • Compacting an API payload for a smaller request.

Supported formats & limits

  • JSON (RFC 8259)

Limitations

  • Minifying does not change values, only formatting.
  • Array and object key order is preserved.

Frequently asked questions

Does minifying change my data?

No. Only whitespace is removed; values and order are unchanged.

Can I re-expand it?

Yes, paste the minified JSON into JSON Formatter to prettify it again.

Is anything uploaded?

No — minification is local to your browser.

Was this tool helpful?

From the blog