Why paste JSON into a local tool
Real debugging payloads are full of things you should not ship to a random website: bearer tokens, customer IDs, internal URLs. Yet the reflex when a payload looks broken is to paste it into the first formatter Google shows.
A local formatter is that tool without the upload. Parsing, formatting, and diffing happen in your browser, so the reflex becomes harmless.
Format and minify in one workflow
- Format - pretty-print minified JSON or YAML so you can read the structure and find the missing comma.
- Minify - compact JSON for transport or for pasting into a request body.
- Validate - catch invalid syntax with a clear error instead of silent failure.
Diffing webhook and API responses
Paste the old payload on the left and the new one on the right, and the diff highlights the differing lines - no eyeballing two editor panes side by side. Both inputs can be JSON or YAML; formatting is applied consistently before comparison.
This turns "something changed in the webhook" into "line 14 of the config object changed," which is where real debugging starts.
A safe debugging routine
- Copy the payload from the failing request or webhook.
- Paste it into a local JSON tool - it formats, validates, or diffs instantly.
- Review the output and fix the issue, keeping secrets on your machine.
- If you must share a snippet, redact tokens first and paste only the relevant subtree.
Format, minify, and diff JSON or YAML
Frequently asked questions
What is the size limit for JSON tools?
Local tools typically handle payloads up to about 2 MB. Larger responses should be trimmed to the relevant subtree first.
Does it validate JSON syntax?
Yes. Invalid JSON produces a clear error rather than silent failure, so a trailing comma or missing brace is caught immediately.
Can I diff YAML as well as JSON?
Yes. Most JSON tools also pretty-print YAML and accept either format on both sides of a diff.
Why shouldn't I paste payloads into an online formatter?
Because debug payloads often contain tokens and customer data, and online formatters may store what you paste. Local tools keep the payload entirely in your browser.