XML Diff

Work with XML, YAML, spreadsheet data, and developer utilities locally in your browser.

Comparing two XML documents

Paste the original XML in the first box and the changed version in the second. Both are parsed, re-indented and given alphabetically sorted attributes, then compared line by line, so differences in formatting or attribute order do not count. Changing <year>1965</year> to 1966 reports one line removed (-) and one added (+).