CodeScript

JSON Minifier

Strip whitespace from JSON to reduce payload size.

What it does

The JSON Minifier parses your JSON and re-serializes it with no extra whitespace, producing a compact single-line output — useful for reducing payload size before sending JSON over a network.

FAQ

No — only whitespace is removed. The parsed value (keys, strings, numbers, booleans, nulls, arrays, objects) is identical.

Related tools