Removes every unnecessary space and line break, and tells you the true before and after in bytes.
This page loads no libraries at all — the work is done by the browser itself.
Your file is read on your own machine and never sent anywhere — open your
browser's network tab and watch while you use it.
Questions
Does it change my data?
No. It is parsed and re-serialised, so the values are identical — only the whitespace goes.
Key order?
Preserved as JavaScript preserves it, which is insertion order for ordinary string keys.
Other text & code tools
Everything here is free and works the same way — in your browser.