Check a site
Type any public website. You get a checklist for its robots.txt and sitemap, with a fix for each problem.
What it checks
The checker loads the site's /robots.txt once, then its first sitemap: the
first Sitemap line in robots.txt, or /sitemap.xml when there is none.
- robots.txt: whether Google and Bing may crawl the site, whether the
homepage is blocked, a long Crawl-delay, and the Sitemap lines. Rules are read the way
Google reads them: the longest matching rule wins, with
*and$supported. - Sitemap: whether it loads and is a real sitemap or sitemap index, how many pages it lists, whether they have lastmod dates, and whether any URL is on another host.
- AI crawlers: whether common AI crawlers such as GPTBot and ClaudeBot are blocked. That is reported, not judged.
For a sitemap index it lists the first child sitemaps without loading them. Nothing you type or the checker finds is saved.
How to fix common problems
- The whole site is blocked: a
Disallow: /line underUser-agent: *often survives from a staging site. Delete it, or narrow it to the folders you want hidden, such asDisallow: /admin/. - No Sitemap line: add
Sitemap: https://yoursite.com/sitemap.xmlanywhere in robots.txt, with the full address. - The sitemap doesn't load: open its address in your browser. It should show XML, not a web page, a login or an error.
- URLs on another host: list only addresses on the same host as the
sitemap.
www.example.comandexample.comcount as different hosts. - No lastmod dates: add
<lastmod>with the date each page last really changed. A date that changes on every visit teaches Google to ignore it.
After a fix, check the site again here to confirm it.
Questions
Does every site need a robots.txt?
No. Without one, search engines may crawl every page, which is what most small sites want. It is still useful for one line: a Sitemap line that tells every crawler where your sitemap is.
Does Disallow keep a page out of Google?
Not always. Disallow stops Google from reading the page, but the address can still show in results when other sites link to it. To keep a page out, let Google crawl it and add a noindex robots meta tag instead.
Which rule wins when Allow and Disallow both match?
Google uses the most specific rule: the one with the longest path. When an Allow and a Disallow rule are the same length, Allow wins. The order of the lines does not matter.
Do I still need to submit my sitemap to Google?
A Sitemap line in robots.txt is enough for Google and Bing to find it. Adding it in Google Search Console and Bing Webmaster Tools as well shows you how many of its pages were read and indexed.
Should I block AI crawlers?
It is your choice. Blocking GPTBot, ClaudeBot or Google-Extended in robots.txt does not change your Google or Bing rankings, but it can keep your pages out of those AI tools and their answers. The checker only reports what your file says.