Convertools Dev
All tools

JSON Minifier

Remove whitespace from JSON to make it smaller for requests, configs, and storage.

JSON input

Paste text or drop a file here (up to 50 MB).

JSON result

Free to use. Your input stays in this browser.

How to use it

  1. Paste JSON or drop a file.
  2. The minified result appears with its size before and after.
  3. Copy it or download it as a .json file.

Minifying only removes whitespace between values. Text inside strings, including spaces and escapes, does not change.

If you serve JSON over HTTP, gzip or Brotli compression saves more than minifying alone, and the two work well together.

Example

JSON input
{
  "id": 12345678901234567890,
  "name": "Convertools",
  "tags": [
    "json",
    "xml"
  ],
  "owner": {
    "name": "Ada",
    "email": "[email protected]"
  }
}
JSON result
{"id":12345678901234567890,"name":"Convertools","tags":["json","xml"],"owner":{"name":"Ada","email":"[email protected]"}}