JSON Diff

Compare two JSON documents in your browser, validate syntax, and get a copyable structured diff with stable paths.

JSON documents

Separate the two documents with a line containing only --- or ===. Comparison runs locally in your browser.

Diff output


                        

Ready to compare two JSON documents.

When to use JSON Diff

Use JSON Diff when you need a quick, private comparison of structured data. No signup or upload required.

  • Review API response changes

    Paste before-and-after payloads to see exactly which keys changed.

  • Validate draft JSON

    Catch syntax errors on either side before sending a payload to teammates.

  • Debug configuration updates

    Compare nested settings and arrays to locate regressions faster.

  • Share concise results

    Copy a clean JSON array of changes into tickets, pull requests, or chat.

  • Compare on mobile

    Use the same separator-based workflow on phone or tablet without installing software.

FAQ

How do I compare two JSON documents?
Paste the first document, add a separator line with --- or ===, paste the second document, and select Compare JSON.
What differences does the output show?
The output lists added, removed, value, and type changes with paths plus from and to values where they apply.
Is my JSON uploaded or stored?
No. The comparison runs in your browser and the app does not store user-provided JSON.
Why am I seeing a validation error?
The separator line may be missing, one side may be empty, or one JSON document may contain invalid commas, quotes, or brackets.
Can I copy the diff result?
Yes. After a successful comparison, use Copy to place the pretty-printed diff JSON on your clipboard.