Dad’s Data formats tools

YAML Diff

Left (A)
Right (B)
Diff

Paste YAML in both panels to see the diff.

Data diff, not text diff: how the comparison engine works

The diff engine works on data, not text. Both YAML documents are parsed into their data representations first, then compared path-by-path. That means formatting changes, comment additions, and indentation differences are invisible to the diff — only actual data changes show up.

YAML A
→
parse
→
diff engine
path-aware
←
parse
←
YAML B
Note: If two YAML files are identical in data but different in layout, this diff will report zero changes. Use a text diff tool if you want line-by-line text comparison.

What each diff type means

SymbolTypeMeaning
+ greenAddedKey exists in the right document but not in the left
- redRemovedKey exists in the left document but not in the right
~ amberChangedKey exists in both documents but with different values

Try a two-document diff

Interactive — edit the input to see the output update
Two YAML docs separated by ---
Diff Summary

Common questions

Your files stay on your computer. Dad promised.

Data formats tools

Search the Data formats tools