Skip to content
epitometool

JSON diff

JSON & data

Compare two JSON documents and highlight structural differences.

Updated

JSON diff

Compare two JSON documents and highlight structural differences.

Input format: JSON A, then line --- separator, then JSON B

Output

Quick start

How to use json-diff

Enter input and view computed output.

  1. Step 1
    Enter input

    Paste or type your data in the input box.

  2. Step 2
    Compute

    The tool processes input instantly in your browser.

  3. Step 3
    Use output

    Copy output and continue your workflow.

In-depth guide

JSON diff guide

Compare two JSON documents and highlight structural differences. This tool is designed for fast local processing and practical day-to-day use.

Quick start

Paste input, review output instantly, then copy it for your workflow.

Input tips

Use one value per line for structured inputs. Common separators are handled gracefully.

Privacy

Processing runs in your browser tab for the MVP workflow, with no mandatory upload step.

Common pitfalls

  • Validate the output before committing it, especially when fixing almost-valid input.
  • Escaping, comments, trailing commas, and mixed encodings are the usual source of surprising results.
  • For production config, keep a copy of the original until the consuming system accepts the rewritten file.

Frequently asked questions

What does the JSON diff show?

It highlights added, removed and changed keys and values between two JSON documents so you can spot exactly what differs.

Does key order matter?

For objects, order does not change meaning, so reordered keys are treated as equal. Array order does matter and is compared positionally.

Can it compare nested structures?

Yes. It walks objects and arrays recursively and reports differences at every level.

What if my JSON is invalid?

Both sides must be valid JSON. The tool reports a parse error so you can fix the syntax before diffing.

How are arrays of objects compared?

Arrays are compared by index, so inserting an item early can cascade as many differences. Sort consistently first if you only care about set membership.

Is my data uploaded?

No. Comparison runs entirely in your browser.

Keep exploring

More tools you'll like

Hand-picked utilities that pair well with the one you're on — all free, client-side, and zero-signup.