Text and Code Comparison Tool

Compare texts, code and files and see exactly what changed.

📁 Upload file
📁 Upload file
View
Show
Language
Comparison
Result

Paste or upload both texts above and click "Compare" to see the differences.

Lines per page

Compare YAML Files Online

Use MyTextDiff to compare two YAML files and quickly identify what changed in the keys, values and settings of your project. The comparison is done right in the browser, with nothing to install.

When you select YAML for syntax highlighting, the result colors comments (#), strings, keywords like true, false, null, yes and no, plus the key on each line (the text before the colon).

Can I compare .yaml and .yml files directly?

Yes. You can paste the content or upload .yaml or .yml files directly into the comparison fields.

Does the syntax highlighting recognize keys inside list items, like "- name: value"?

Yes. Keys that appear inside a list item (like name in - name: value) are also recognized and highlighted, in addition to keys on regular lines.