XML Sitemap Difference Checker

Compare canonical loc values from two XML urlsets and show added, removed and shared URLs.

Your workspace

Server processing

Review the example values, then run the tool.

This utility compares the canonical loc values found in two separate XML urlsets to highlight discrepancies between your sitemap versions.

How to compare sitemaps

  1. Paste the content of your first XML sitemap into the primary input field.
  2. Paste the content of your second XML sitemap into the designated secondary field.
  3. Run the tool to view a categorized list of URLs that are added, removed, or shared between the two files.

Understanding the comparison

The tool parses the loc elements within each urlset to determine the unique set of URLs present in each file. It then performs a set-based comparison to classify every URL as added (present in the second file but not the first), removed (present in the first but not the second), or shared (present in both). This helps identify changes in your URL structure or sitemap coverage between two points in time.

Data limits and privacy

Each input field accepts up to 50,000 characters of XML data. Processing occurs entirely on the server, and no information is sent to external services or third-party APIs. All submitted data and generated reports are temporary and expire from the server 15 minutes after processing, so ensure you download any necessary results immediately.

Comparison example

Two XML sitemaps where the second file contains a new URL and lacks one from the first.

A JSON report listing the specific URLs identified as added, removed, or shared.

Frequently asked questions

Does this tool validate the XML structure?

Yes, it ensures the input is a valid urlset and that every url entry contains a loc element.

Can I compare sitemap indexes?

No, this tool is designed specifically for urlset files containing url entries, not sitemap index files.

Continue your workflow