Compact valid JSON by removing insignificant formatting whitespace.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
The text is parsed and serialized without indentation, removing formatting whitespace while preserving strings, numbers, object members, and array order. Size reduction is calculated from the original and compact text lengths.
{
"name": "Alice",
"age": 30,
"active": true
}
{"name":"Alice","age":30,"active":true}
Web bundles, API request bodies, and cache values use compact JSON.