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.