Readable JSON for review and shipping
Production APIs return compact JSON; code review and incident triage need indentation. Formatting locally keeps tokens, PII, and internal schema fields off third-party servers while still giving you collapsible structure in any editor.
Parse errors that actually help
A single stray comma after the last array element breaks strict JSON. The formatter surfaces the parser message so you can fix copy-paste damage from Slack, email, or log aggregators that strip quotes.
Pretty vs minified output
Pretty mode uses consistent two-space indentation for nested objects and arrays. Minified output is appropriate for HTTP bodies where bytes matter, provided the receiving service does not depend on key ordering—which JSON objects do not guarantee anyway.