JSON Diff Online — Compare Two JSON Documents Side by Side

Open both files as tabs, hit ⌘ ⇧ C or click ⇄ Compare, and the workspace switches to a synced two-pane diff. Differences are color-coded: green added, red removed, amber changed, blue moved. Ignore rules let you skip noise like timestamps or whitespace.

Open JSON Diff →

How to compare two JSON files

  1. Open the editor; load the first file.
  2. Open a new tab (⌘ T) and load the second file.
  3. Click ⇄ Compare or press ⌘ ⇧ C. With exactly two docs, columns auto-pair.
  4. Use the Compare panel to toggle ignore rules; navigate with ⌘ [ / ⌘ ].

Sync scroll

Both panes scroll together by path, not by line.

Move detection

Items that just changed position are flagged separately from real changes.

Ignore rules

Skip paths, treat null as missing, ignore string case, trim whitespace, match arrays by id.

Tree or text

Choose either view — the diff stays in sync.

Local-first

Runs in a Web Worker. Files never leave your machine.

Free forever

No signup, no paywall, works offline.

Frequently Asked Questions

How do I compare two JSON files?

Load the first file in one tab, open a new tab, and load the second file. Click the 'Compare' button and the workspace will switch to a synced two-pane diff.

Can I ignore specific JSON paths?

Yes, our JSON diff tool supports Ignore Rules. You can explicitly ignore specific paths, treat null values as missing, ignore case, and trim whitespace to reduce diff noise.

Is my data uploaded to your server to be compared?

No. The entire comparison is run locally in your web browser. We do not upload your data to any server.