About
Tool No. 89 of Pikkola, 28 November 2026
Two documents go in and the difference comes out as a tree of paths. Each change has a JSON Pointer and a friendly form, the whole difference is an RFC 6902 patch, and the page applies that patch to prove it rebuilds the other side.
What it does
- Parses JSON and a documented YAML subset
- Lists added, removed and replaced values with their JSON Pointer
- Honours key order only when asked to
- Generates an RFC 6902 patch and applies it to check it
A change is a path, not a line
In a minified file a changed line is the whole document, so a text diff has nothing useful to say. Comparing parsed values makes the report track the size of the change: a key added at /features/languages/2 and a value replaced at /version, each named once.
Arrays are compared by index, and the page says so
An identity comparison has to guess which field identifies an item, and a wrong guess silently rewrites the report. By index is always answerable, if noisy when an item is inserted at the front, and the filter is there for the list of records where identity matters.
The YAML subset has a boundary
Block and flow collections, quoted and plain scalars, block scalars and comments are read. Anchors, aliases, tags and merge keys are refused with the line number, because a half-supported anchor produces a comparison that is wrong in a way nobody notices.
What it is not
It is not a merge tool and not a schema validator. It reports where two documents differ, in the order it finds them, and it does not tell you which side is right.
Contact
A document this page reads wrongly, or a YAML feature worth supporting, is worth a message with the smallest example: hello@pikkola.com.