194 tools

JSON Minify

Strip all whitespace from JSON.

Code & JSON Tools

About JSON Minify

JSON Minify is a free online developer tool from Toolbench. Strip all whitespace from JSON. Paste your text and the result updates instantly as you type or change the options.

Category
Code & JSON Tools
Price
Free
Account
Not required
Runs
Entirely in your browser

How to use JSON Minify

  1. Paste or type your text into the input box.
  2. Adjust the options (allow comments & trailing commas).
  3. Copy the result, or click “use output” to chain another transformation.

Example

With the default settings, this input:

{
  "name": "Toolbench",
  "tools": 194
}

becomes:

{"name":"Toolbench","tools":194}

Options

Allow comments & trailing commasOn / off (default on)

Privacy

Everything runs in your browser: what you type or paste is processed by JavaScript on your device, not on a server. If you are signed out, nothing is saved at all. If you sign in with Google, your inputs and settings are saved privately to your account so they sync across devices.

Frequently asked questions

Is JSON Minify free?

Yes. JSON Minify is completely free with no sign-up, no usage limits and no watermarks.

Is my data private?

Yes. JSON Minify processes everything in your browser. Signed out, nothing is saved; signed in, your inputs sync privately to your own account.

Does it work on my phone?

Yes. Toolbench runs in any modern browser on desktop, tablet or phone — there is nothing to install.

Related code & json tools

All 13 code & json tools →

Last updated