JSONSmith - free, no upload, runs in your browser
JSONSmith formats messy JSON, minifies it for transport, converts between JSON and YAML, and diffs two payloads line by line. It is built for debugging real work - API responses, webhook bodies, config files - and runs entirely in your browser so payloads with tokens stay private.
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 that Google shows.
JSONSmith is that formatter without the upload. Parsing, formatting, and diffing happen in your browser, so the reflex becomes harmless.
"What changed between the last working request and this one?" is the most common debugging question for integrations. Paste the old payload on the left, the new one on the right, and JSONSmith 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.
Before you format or diff anything, remove the parts you do not need to share: authorization headers, customer identifiers, and any token that looks live. Keep the structure and the error message, because that is what makes the payload useful for debugging.
Format first, then diff. A raw minified payload produces a diff where every line changes, which hides the one field that actually differs. Normalizing both sides also stops key order from creating noise; object key order is not semantically meaningful in JSON.
Payloads up to 2 MB. Larger responses should be trimmed to the relevant subtree first.
Yes. Invalid JSON produces a clear error rather than silent failure, so a trailing comma or missing brace is caught immediately.
Yes - YAML can be pretty-printed and JSON can be formatted, and the diff accepts either format on both sides.
No. Formatting, minifying, and diffing are pure browser-side operations. This matters exactly because debug payloads often contain secrets.
Not yet - the current scope is format, minify, convert, and diff.
The two sides probably have different formatting or key order. Format both before diffing so only real value changes remain.
Yes, if the tool parses both formats. Convert both to the same structure first, then diff.
Standard JSON does not allow comments. If your input contains JSON5 or JSONC comments, remove them first or use a parser that supports JSON5; the formatter will reject the file otherwise.
Most formatters preserve key order as written, but diff views may normalize it to compare values. Object key order is not semantic in JSON, so do not rely on it in your application.
Yes, after redacting tokens, emails, customer IDs, and internal hostnames. Formatting improves readability but does not remove sensitive values.
Yes once the page has loaded. The parser runs in your browser, so a network drop does not interrupt formatting or diffing.