Skip to content
Toolbench

JSON minifier

Minify JSON onto a single line by removing whitespace. Smaller payloads for APIs and config. Free.

Runs on our server

Also with the json formatter & validator

About this tool

Strip spaces and line breaks from JSON to make it as small as possible, for API payloads, environment variables and storage.

How to use it

  1. 1 Paste your JSON.
  2. 2 Choose Beautify or Minify.
  3. 3 Select Process and copy the result.

Questions

Why is my JSON invalid?

Common causes are trailing commas, single quotes instead of double quotes and missing brackets. The error message points to the problem.

Do you store what I enter?

No. Your input is processed to give you the result and isn’t saved.

Is this tool free?

Yes. It’s free to use with no sign-up and no limits for normal use.