Format, minify, validate and sort JSON.
It uses the browser's own JSON.parse, so the rules are exactly the ones in the JSON specification: double-quoted keys, no trailing commas, no comments.
No, formatting is done in your browser.
Sorted keys make it easier to compare two JSON documents with a diff tool.