Skip to content
PDFBoii

Compare JSON

Spot the differences between two JSON files — added lines in green, removed lines in red. Both files are pretty-printed before comparing, so formatting differences alone won't show up as changes.

Free, with no account needed. It runs in your browser, so your file never leaves your device.

Select JSON file

or drop it here · up to 25 MB

Select JSON file

or drop it here · up to 25 MB

About Compare JSON

Compare JSON shows the differences between two JSON files. Both files are formatted the same way first, so spacing differences do not count, and then compared line by line.

Last reviewed

How to use it

  1. Select the first JSON file, then the second.
  2. Press Compare JSON files.
  3. Read the added, removed and changed lines.

When to use it

Good to know

Tips for a better result

Questions about Compare JSON

Why does it show a change when the data is the same?
The comparison is line by line. If the same keys appear in a different order, the lines differ even though the data means the same thing.
Do spaces and line breaks count as differences?
No. Both files are re-formatted the same way before comparing.
How much does Compare JSON cost?
Compare JSON is free, and you don't need an account. It runs inside your browser, so it costs us nothing to run and there are no credits to spend.
Is my file kept after I use Compare JSON?
Your file never leaves your device. Compare JSON works inside your browser, so nothing is uploaded and there is nothing for us to keep.
Do I need an account to use Compare JSON?
No. Compare JSON works without an account or sign-up. Open the page, choose your file and download the result.
Does Compare JSON work on a phone?
Yes. Compare JSON runs in the browser on phones, tablets and computers, with nothing to install. A very large file can be slow on an older phone, because your own device does the work.
Is there a file size limit for Compare JSON?
We set no upload limit, because nothing is uploaded: the limit is your device's memory. If your browser can't process a file, the page offers to process it on our servers instead. That uses credits and accepts files up to 25 MB.

Related tools