Markup comparison
XML Diff Checker
Paste two XML documents to find changed elements, attributes and values. Both sides are indented one tag per line before comparing, and everything stays in your browser.
0 lines · 0 characters
0 lines · 0 characters
A focused diff viewer for source code
Review precise changes
Line mode is ideal for commits and patches. Word and character modes help pinpoint small edits inside a line.
Code stays readable
Monospaced output preserves indentation, and pasted tags or scripts display as text rather than running in the page.
Private by design
The comparison runs locally in your browser. Your source code is not uploaded, stored in a database or logged.
Working with structured data? Format and validate JSON, or use all text comparison options.
How to compare two XML files
Paste the original XML on the left and the changed version on the right, then click Compare. Each tag is placed on its own indented line so that edited attributes, new elements and changed text values are highlighted clearly.
Use it to review config changes, API payloads, product feeds or sitemap updates without installing anything.
Frequently asked questions
Can I compare minified XML?
Yes. Minified XML is split onto one tag per line and indented before comparing, so changes are shown line by line.
Does it work for HTML, SVG or sitemaps?
Yes. Any tag-based markup can be compared, including sitemaps, RSS feeds, SVG and SOAP messages.
Are my files uploaded?
No. Formatting and comparing happen in your browser and nothing is sent to a server.
