What minifying removes, and what it preserves
Under RFC 8259, the JSON grammar treats four characters — space, horizontal tab, line feed, and carriage return — as insignificant whitespace when they sit between tokens. JSON Copilot minifies by parsing the document and re-serializing it with no whitespace between tokens: no indentation, no space after colons or commas, and no newlines separating properties. The result is compact, single-line JSON that parses to the same value your input did.
Whitespace inside a string is significant and is preserved. If a value contains a name like Ada Lovelace, the space between the words stays, because it is part of the data rather than the formatting. Escape sequences, Unicode characters, and newlines written as \n inside a string keep their meaning as well — the string values you get back are exactly the ones you put in.
Because the output is re-serialized rather than a raw character-for-character whitespace strip, a few things are made canonical. Numbers lose redundant formatting — 1.0 becomes 1, 1e3 becomes 1000, and trailing zeros disappear — duplicate keys collapse to their last value, and integer-like keys are emitted in ascending numeric order. None of this changes what the JSON means, since the spec assigns no significance to number spelling, key order, or repeated keys. It is still far safer than minifying JavaScript or CSS, where a tool may rename identifiers or drop rules that change behavior.