What "format JSON" really means
A JSON document is just a string that respects a strict grammar. The same data can sit on one line, be indented with two spaces, with four, or sprawled across hundreds of lines with sorted keys — every one of those forms decodes to the same value.
Formatting re-emits the document in a chosen style while leaving the data untouched. This page uses the browser's native JSON.parse and JSON.stringify — deterministic, reproducible, byte-for-byte identical on any machine.