Compare two YAML documents by their parsed structure and values.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
Both documents are parsed, mappings are compared recursively, sequences are matched by index, and primitive or type changes become path differences. The summary ignores indentation, quotes, comments, and other source formatting.
Input1: server: host: localhost port: 3000 database: url: postgres://localhost/dev debug: true Input2: server: host: 0.0.0.0 port: 8080 database: url: postgres://db.example.com/prod debug: false
Path Type Old value New value -------------- ------- ------------------------ ------------------------------ $.server.host changed localhost 0.0.0.0 $.server.port changed 3000 8080 $.database.url changed postgres://localhost/dev postgres://db.example.com/prod $.debug changed yes no
Kubernetes reviews, deployment migrations, and release notes compare YAML trees.