Which URLs are missing from the new sitemap?

Give two sitemaps, by address or as pasted XML: before and after a site move, or two sections of a site. You see the URLs that disappeared, the new ones and the ones in both, each list ready to download.

First sitemap (before)

Second sitemap (after)

Pasted text is used before the address. A sitemap index is opened, and so is every sitemap it names, up to 50 files on each side.

What it does

  • Reads both sitemaps as the sitemap protocol describes them. Lists of URLs, sitemap indexes (with every sitemap they name), plain text lists and gzipped files, up to 50 files on each side.
  • Matches URLs exactly. The protocol, the domain, the path and the query string must all be the same. Capitals in the domain, a default port and anything after # do not count; capitals in the path do.
  • Handles a move. For a new domain or a switch to https, tick Match by path only. If the new site adds or drops the slash at the end of its addresses, tick the slash option.
  • Shows where the missing URLs were, by folder, so a whole lost section stands out. Each list downloads as CSV, and the missing URLs can go straight to the 301 redirect generator.

What it cannot see

It compares what the sitemaps list, not what the sites serve. A URL missing from the new sitemap may still work, and a listed one may answer 404. Check the old addresses with the redirect checker.

It does not pair URLs that changed name, such as /products/red-shoes becoming /shop/red-shoes. Those show as one missing and one new URL; pair them yourself in the redirect generator.

Sitemaps often leave pages out, so a page that is in neither sitemap does not appear here.

A file larger than 750 KB is read only in part, so its count is a minimum, and the result says so. Each side reads at most 50 sitemap files, three at a time.

Questions

When should I compare two sitemaps?

Before and after a site move, a redesign or a change of platform, to see which pages the new site no longer lists. It also works for two sections of one site, or for two days of the same sitemap.

What do I do with the missing URLs?

For each one that had visitors or links, decide which new page replaces it and set a 301 redirect. Download the list, add the new address next to each old one, and paste the pairs into the 301 redirect generator.

Can I paste a sitemap instead of giving its address?

Yes: the XML, or a plain list with one URL per line. If you paste a sitemap index, the sitemaps it names are fetched from their addresses.

Why does a URL show as missing when the page still exists?

Because the match is exact: http and https, www and no www, a slash at the end and capitals in the path each make a different URL. Try the two options above the button. If it still shows, the new sitemap does not list that address.