Compare JSON

A JSON comparison done on raw text calls every line changed the moment someone reformats the file, so this page can match the values instead: key order, whitespace and number formatting can each be forgiven, leaving only the settings that genuinely moved. Reordered keys compare as identical, which is the correct answer and the one a line diff cannot give.

Original JSON
JSON Format
Modified JSON
JSON Format
Differences
Diff Output
Файлы не покидают ваше устройство. Конфиденциальность и ограничения
Embed tool Add this tool to your website Get embed code

Add this comparison tool to a related page with a visible FileCompare source link.

Часто задаваемые вопросы об онлайн-калькуляторах

Do I have to format the JSON first?

Not to get a result, but a payload on one line compares as one line against one line. Formatting both sides is what lets the diff land on individual keys instead of the whole document.

Will it tell me a key was renamed?

It reports the old name as added elsewhere and the value as moved, because that is what happened to the data. Reading it as one rename is your judgement, not the tool's.

Will my original file be changed?

The result is downloaded as a separate file. Keep your original until you have checked the Key-level JSON difference report.

What should I check before using the result?

Open the Key-level JSON difference report in the application that consumes it and spot-check the parts that matter to you; the original file stays untouched if you need to re-run with different options.

Can this tool compare nested JSON objects?

Yes. The compare JSON walks nested keys and arrays so you see added, removed, and changed values—not just top-level differences.

Is Compare JSON free?

Yes. This tool is free with no trial limit, subscription, or watermark. Use it for personal and commercial projects without an account.