What it does
When an API reply, a settings file or a data export changes, a plain text compare drowns you in noise: moved keys, different spacing, a line that only looks new. This tool reads both documents as data and compares them key by key, so key order and spacing never count. It lists every key that was added, removed or changed with its full path, and shows both documents side by side with only the real differences marked.
Paths look like $.size.h for a key and $.tags[2] for the third item in a list. Lists are compared by position: if an item is inserted at the front, the items after it show as changed. Nothing is uploaded; both documents stay in your browser. To tidy a document first use the JSON formatter, and to compare spreadsheet-style data try the table converter or turn the file into JSON with the config converter.
How to use it
- Paste the original into A and the new version into B. An example is already loaded.
- Read the count at the top, then the Changes by path table. Untick Added, Removed or Changed to focus on one kind.
- Scroll the Side by side view to see the changes in place.
- Copy list or Download CSV to share the differences. Swap A and B reverses the direction.
What each part shows
- Added: a key or list item that is in B only. Removed: in A only. Changed: the same path holds a different value or type.
- Was / Now: the old and new value as JSON, shortened if very long.
- Side by side: both documents pretty-printed with keys sorted, then matched line by line.
Worked example
With the example loaded, A is {"name":"fibub","version":1,"tags":["free","private"],"size":{"w":10,"h":2.5},"old":true} and B is {"name":"fibub","version":2,"tags":["free","private","fast"],"size":{"w":10,"h":3},"new":"yes"}. The result is 5 differences: 2 added ($.tags[2] = “fast”, $.new = “yes”), 1 removed ($.old) and 2 changed ($.version 1 to 2, $.size.h 2.5 to 3).
FAQs
Does key order matter? No. {"a":1,"b":2} and {"b":2,"a":1} are reported as identical.
Why is a list item reported as changed when I only inserted one? Lists are compared position by position, because JSON lists are ordered. An insert shifts everything after it.
Is 1 the same as 1.0? Yes, both are the number 1. But 1 and "1" differ, because one is a number and the other text.
What if one box has a mistake? The tool tells you which box and the line and column of the problem, and waits until both are valid.
Where the numbers come from
- JSON syntax as defined in RFC 8259. The comparison is fibub's own working.
Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.
Last updated 2026-12-05.