JSON

JSON Minifier

Paste formatted JSON and get a compact, whitespace-free version ideal for reducing payload size before sending over the wire.

Did this tool save you some time? A quick testimonial helps a lot.

Share your experience

About this JSON Minifier

Paste formatted JSON and get a compact, whitespace-free version ideal for reducing payload size before sending over the wire. Common questions — like is there a file size limit — are answered in the FAQ below.

Usage and privacy

How to use it

Add your input to the workspace above, review the result, then copy or download it when it's ready. No account or installation is required.

Private by design

JSON Minifier runs in your browser, so the information you enter stays on your device instead of being uploaded to a server.

JSON Minifier examples

A few worked examples so you know what to expect before you paste in your own input.

Formatted JSON

Input

{
  "name": "Ada",
  "active": true
}

Output

{"name":"Ada","active":true}
Formatted array

Input

[
  1,
  2,
  3
]

Output

[1,2,3]
Nested with a string value

Input

{
  "message": "Hello World",
  "count": 2
}

Output

{"message":"Hello World","count":2}

Frequently Asked Questions

Related Tools