Skip to content

Ready

Enter a domain on the left and run the test. Results stream in here.

Two files, one site, opposite instructions

Your sitemap is a list of pages you want search engines to crawl and index. Your robots.txt lists paths crawlers may not fetch. When the same URL appears in both, you are inviting a crawler to a page and blocking the door at the same time. Each file looks correct on its own, which is why this conflict survives for months: it only shows up when you read the two against each other.

This checker does that cross-reading for you. Enter a domain and it fetches robots.txt from the site root, reads its Sitemap: lines (or falls back to /sitemap.xml if there are none), follows any sitemap index files down to the child sitemaps, and tests every listed page URL against your robots.txt rules as Googlebot would see them. Any URL your sitemap advertises but robots.txt blocks is reported as a conflict, along with the sitemap file it came from.

It is a narrow, practical check. It does not judge content or rankings. It answers one question: am I asking Google to crawl pages I have separately told it not to crawl?

What gets fetched and what gets compared

Robots.txt is parsed with a standards-based parser that handles wildcards, end anchors and longest-match precedence, and each sitemap URL is checked against the rules that apply to Googlebot (its own group if you have one, otherwise the wildcard group). Gzipped sitemaps are decoded. To keep the check fast on very large sites, it reads up to 50 sitemap files and up to 2,000 page URLs, and tells you when that cap was reached so you know the result is a sample.

If robots.txt is missing, there is nothing to conflict with and the tool says so. If a sitemap cannot be fetched, it is listed as a warning, since a dead sitemap link is its own problem. If your site serves an HTML page at /robots.txt, that is treated as no robots file. To check a specific conflicting URL against each search bot, enter it in the robots.txt tester.

A typical conflict, step by step

Most conflicts come from a sitemap generated automatically by a CMS or plugin, and a robots.txt edited by hand. Here is a pattern that turns up on many online shops:

# robots.txt
User-agent: *
Disallow: /shop/filter/
Sitemap: https://www.example.com/sitemap_index.xml

# product-sitemap.xml (generated by the shop plugin)
<url><loc>https://www.example.com/shop/filter/red-shoes/</loc></url>
<url><loc>https://www.example.com/shop/red-shoes/</loc></url>

# Result: /shop/filter/red-shoes/ is a conflict.
# Fix A: exclude /shop/filter/ from the sitemap generator.
# Fix B: if those pages should rank, delete the Disallow line.

Someone blocked filtered product URLs to save crawl effort. The shop plugin still lists them in the product sitemap. Neither side knew about the other. The fix is to choose which file is right and make the other agree.

Why the mixed signal costs you

Google treats your sitemap as a hint about which URLs matter. Listing blocked URLs sends it to doors it may not open, and Search Console reports them under "Indexed, though blocked by robots.txt" or "Blocked by robots.txt" in the Page indexing report. On a large site the wasted requests add up, and a sitemap full of URLs that cannot be crawled is a less trustworthy list overall.

The harder problem is what happens to those URLs. A blocked URL can still be indexed from links, shown with no description because Google never read it. If you blocked it to keep it out of search, the block has the opposite effect: Google cannot see a noindex on a page it may not fetch.

Choosing which file should win

Every conflict has exactly two correct resolutions. If the page should be crawled and indexed, remove or narrow the robots.txt rule that catches it. If the page should not be crawled, remove it from the sitemap at the source. Leaving both in place is never the right answer.

Look for patterns rather than single URLs. Dozens of conflicts sharing one path prefix mean a single rule is blocking a whole section the sitemap still advertises, and one decision fixes all of them. Scattered conflicts usually mean the sitemap generator includes URLs it should filter out, such as parameter variants or utility pages, so the fix belongs in the generator settings. If the goal is to get a page out of the index, allow crawling, add noindex, let it drop out, and remove it from the sitemap; check the result with the Indexability Checker.

Fixing the generator on common platforms

WordPress

In Yoast SEO, set a content type or taxonomy to "Show in search results: No" and it leaves the sitemap. In Rank Math, use the Sitemap Settings to exclude post types, taxonomies or individual post IDs. For WooCommerce filter URLs, make sure the filter plugin does not add its pages to the sitemap.

Shopify

Shopify builds the sitemap itself and you cannot edit it directly. If a template or collection should stay out, hide it from search with the seo.hidden metafield, which also removes it from the sitemap, rather than blocking it in robots.txt.liquid.

Custom sites and frameworks

Keep the exclusion list in one place and have both the sitemap builder and the robots.txt template read from it. When the two files come from the same decision, they cannot contradict each other.

Keeping them aligned as the site grows

Conflicts are a drift problem. The sitemap grows automatically every time you publish, while robots.txt changes only when someone edits it. Faceted navigation, new sections and migrations are the usual moments the two drift apart. Re-run this check after any of those, and after every robots.txt change.

Once the conflict list is empty, run the Sitemap Validator to catch the other sitemap problems, such as redirecting or broken URLs, then resubmit the sitemap in Search Console. Our XML sitemap guide covers what belongs in the file in the first place.

How it works

  1. Enter a domain

    Paste your domain or any URL on it. The tool reads robots.txt from the site root.

  2. We collect sitemap URLs

    Sitemaps are found from robots.txt Sitemap lines (or /sitemap.xml), and index files are followed, up to 50 sitemaps and 2,000 URLs.

  3. Review the conflicts

    Every sitemap URL that robots.txt blocks for Googlebot is listed with the sitemap it came from, so you can fix one file or the other.

Frequently asked

What conflict does this tool detect?

›

URLs listed in your XML sitemap that your own robots.txt blocks from crawling. The sitemap asks search engines to crawl the page while robots.txt tells them not to, so the disallow wins and the page sits in a confusing state. Each conflicting URL is listed with the sitemap file it came from.

Why is a blocked URL in the sitemap a problem?

›

A sitemap is meant to list pages you want crawled and indexed. Blocked entries waste crawl requests, show up in Search Console's Page indexing report as 'Blocked by robots.txt' or 'Indexed, though blocked by robots.txt', and make the sitemap a less reliable list. If you blocked the page to hide it, the block also stops Google seeing any noindex on it.

Which crawler's rules are used?

›

Googlebot's. Each sitemap URL is tested against the group that applies to Googlebot, its own group if you have one, otherwise User-agent: *. The parser supports wildcards, end anchors and longest-match precedence.

How does it find my sitemaps?

›

It reads the Sitemap: lines in robots.txt. If there are none, it falls back to /sitemap.xml on the same host. Sitemap index files are followed down to their child sitemaps, and gzipped files are decoded.

Is there a limit on how much it checks?

›

Yes, to keep the check fast it reads up to 50 sitemap files and up to 2,000 page URLs, and tells you when that cap is reached. On larger sites, treat the result as a sample and check individual sitemaps if needed.

How do I fix a conflict?

›

Decide which file is right. If the page should rank, remove or narrow the robots.txt rule that blocks it. If it should not be crawled, remove it from the sitemap, ideally by excluding that section in your sitemap plugin or generator so it does not come back.

Does it show which robots.txt rule blocks each URL?

›

No, it reports the URL and the sitemap it came from. To find the exact rule, paste your robots.txt and the URL into the Robots.txt URL Tester, which names the deciding line and group.

Is a blocked sitemap URL ever acceptable?

›

Rarely, and only briefly, for example mid-migration. Even then it is worth cleaning up quickly. Treat every reported conflict as something to resolve.

Related tools

More Technical SEO tools

See all Technical SEO tools · All free SEO tools

Related guides

↳ full site audit190+ checks · AI fix instructions · yearly plans