Compare Two JSON Online
Left missing (present only in Right)
Left extra (not present in Right)
Different values in both
Right missing (present only in Left)
Right extra (not present in Left)
Different values in both
Equal in both
{age: 25meta: {x: 1y: 2}name: "Alice"tags: [0: "a"1: "b"]}
Related JSON Tools
FAQ
Q: How do I compare two JSON files online?
A: Paste or upload two JSONs into the left and right boxes, enable "Sort keys" if you want to ignore key order, then review the two-column results for missing/extra keys and different values.
Q: Can the tool ignore key order or whitespace?
A: Yes. Turn on "Sort keys" to normalize key order before comparing. Whitespace is not relevant after JSON parsing.
Q: Are my JSON files uploaded?
A: No. All comparisons are processed locally in your browser. Nothing is uploaded.
Q: How are arrays compared?
A: Currently by index (position). If arrays are in different orders, they are reported as different. You can pre-sort arrays or we can add an "ignore order" option if needed.
Q: How to quickly find missing or extra keys?
A: Check the two-column JSON trees: Left Missing/Left Extra on the left, Right Missing/Right Extra on the right. Structures reflect original paths for quick locating.
Q: Does it support large JSON?
A: Yes for typical sizes. Extremely large objects may render slowly. Since everything runs locally, performance depends on your device.