Removes all insignificant whitespace. Invalid JSON is reported below.

Learn

JSON Minifier Guide

About this tool

Strip the whitespace out of a JSON document while keeping it valid, so it takes fewer bytes over the wire. It parses first and re-serialises, so a malformed document is rejected rather than mangled.

Questions

How much smaller does it get?
It depends on how much spacing the original contains. A one-line document may barely change. If your server already compresses responses, removing spaces may save much less on the actual download than the text boxes suggest.