Skip to content
100% Free • No Account Needed

Sitemap Finder

Find the XML sitemap for any domain. Reads the Sitemap directive in robots.txt, then falls back to the conventional paths.

No account needed. https:// is assumed if you leave it off.

How sitemaps are discovered

There is no registry of sitemaps. Search engines find them in one of three ways: a Sitemap directive in robots.txt, a submission in Search Console or Bing Webmaster Tools, or a guess at a conventional path such as /sitemap.xml. The first is the only one that works automatically for every crawler, which is why leaving it out is a missed opportunity on almost every site.

This finder follows the same order a crawler would. It reads robots.txt first and uses whatever is declared there, and only falls back to conventional paths when robots.txt names nothing. Whatever it finds is then validated, so you learn both where the sitemap is and whether it is actually usable.

If a sitemap index turns up rather than a plain sitemap, that is normal on larger sites: the index is a list of sitemaps, and the tool opens the first few to reach the URLs inside.

How to Fix Common Sitemap Finder Issues

Reference guide for resolving the most frequent configuration errors and warnings.

An HTML page is being served instead of XML

The URL returns a web page rather than a sitemap. Almost always this means the sitemap does not exist and the server is returning its 404 page with a 200 status.

The Fix: Confirm the sitemap URL, and make sure missing files return a real 404 rather than a page.

The sitemap has no XML namespace

The urlset element must declare the sitemaps.org namespace. Without it the file is not a valid sitemap and search engines reject it outright.

The Fix: Add the xmlns attribute to the root element.

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

The XML namespace is wrong

The namespace must be exactly the sitemaps.org schema URL. A typo, or an http/https mismatch, invalidates the whole file.

The Fix: Set it to the exact string below — it is an identifier, not a link, so it does not change to https.

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

An unescaped ampersand

A raw & is not legal in XML. One of them makes the entire document invalid, so every URL in the sitemap is lost, not just the offending line.

The Fix: Escape it as &amp;. This is the most common sitemap syntax error and it comes from URLs with query strings being written out unescaped.

<loc>https://example.com/search?a=1&amp;b=2</loc>

An invalid lastmod date

lastmod must be a W3C datetime. Anything else is ignored, so you lose the freshness signal the field exists to provide.

The Fix: Use YYYY-MM-DD, or a full ISO 8601 timestamp with a timezone.

<lastmod>2024-01-15</lastmod>

An entry with no loc element

Every <url> must contain exactly one <loc>. An entry without one describes nothing and is skipped.

The Fix: Add the missing <loc>, or remove the empty entry.

Duplicate URLs in the sitemap

Duplicates waste crawl budget and usually mean the sitemap is generated from a query that is not deduplicated.

The Fix: De-duplicate at generation time. Pay attention to URLs that differ only by trailing slash or query parameter.

Over the 50,000 URL limit

A single sitemap may contain at most 50,000 URLs and be at most 50MB uncompressed. Past that, it is rejected.

The Fix: Split it into several sitemaps and list them in a sitemap index file.

<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <sitemap><loc>https://example.com/sitemap-1.xml</loc></sitemap>
  <sitemap><loc>https://example.com/sitemap-2.xml</loc></sitemap>
</sitemapindex>

Frequently Asked Questions

Where should my sitemap live?
Anywhere on the same host, though /sitemap.xml is the convention. What matters more is referencing it from robots.txt and submitting it in Search Console.
How many URLs can one sitemap hold?
50,000 URLs and 50MB uncompressed. Past either limit, split it into several sitemaps and list those in a sitemap index file.
Do priority and changefreq do anything?
Google ignores both. lastmod is used, but only when it is accurate — a site that stamps every URL with today’s date teaches Google to ignore the field entirely.
Should a sitemap include redirects or noindex pages?
No. A sitemap should list canonical, indexable, 200-status URLs only. Anything else sends a mixed signal about which pages you actually want ranked.

Related checks

Other free tools

See all 13 tools

100% Free Technical SEO Tools

Our micro-tools run directly on our secure server-side infrastructure without requiring user accounts or subscriptions. Checks are cached for 15 minutes to respect destination server resources and provide instant answers.