Skip to content
Tool Dock

JSON Minifier

Remove whitespace from JSON to make it as small as possible.

Options

Input

Waiting for JSON

Output

or press ⌘/Ctrl + Enter
  • Runs in your browser
  • Nothing is uploaded
  • Free, no sign-up

How to use it

  1. Paste your JSON, open a file, load a URL, or drop a .json file anywhere on the page.
  2. Choose the indentation, or Minify to remove all whitespace. Sort keys orders every object alphabetically.
  3. Read the result as code with line numbers and folding, or switch to Tree to collapse, filter and copy paths.
  4. If the JSON is broken you see the line and column; Repair fixes quotes, trailing commas and comments.

Why Tool Dock

  • FastEverything runs on your own device, so there is no queue and no waiting for uploads.
  • PrivateYour files and text never leave the browser. Close the tab and they are gone.
  • Batch friendlyDrop several files at once and download each result, or all of them together.

Questions

Does minifying change the data?

No. Only whitespace outside strings is removed; keys, values and their order stay exactly the same.

How much smaller does minified JSON get?

Usually 20 to 40% for indented JSON, more if it was heavily formatted. Gzip on the server reduces both versions further.

All tools