Developer tool · local comparison

XML Compare

Format two XML documents or compare their elements, attributes, and text locally in your browser.

XML comparison workspace

Your XML is never uploaded, saved, or logged.

Paste two XML documents to review structural, attribute, and text differences.

How to compare XML files

Use XML Compare when you need to inspect a configuration file, API payload, feed, or document export before accepting a change. The comparison checks structure, attributes, and text so a visually similar file does not hide a meaningful change.

The comparison runs in this browser and is intended for review, not formal schema validation. For production data, keep the original files, validate against the relevant XSD or application rules, and review sensitive XML on a trusted device.