Robots.txt Checker Robots.txt & Sitemap Checker
Validate robots.txt rules and discover XML sitemaps.
The robots.txt and sitemap checker reads a site’s robots.txt rules, lists its XML sitemaps and flags rules that block important pages or AI crawlers.
How to use the robots.txt checker
- Enter your website address (the homepage is enough).
- Click “Check” to read the site’s robots.txt file.
- Review the allow and disallow rules for each user-agent, including AI crawlers.
- Check that your XML sitemap is listed and reachable.
- Fix any rule that blocks important pages, then re-check.
What robots.txt is for
robots.txt tells crawlers which parts of a site they may visit. It should block admin areas, internal search and duplicate parameter URLs — never your service pages, blog or the CSS and JavaScript Google needs to render pages.
Blocking is not the same as noindex
A page blocked in robots.txt can still appear in Google if other sites link to it. To keep a page out of search results, allow crawling and add a noindex tag instead.
Keep your sitemap clean
Your XML sitemap should list only pages you want in Google: live (200), indexable, canonical URLs. Remove redirected, noindex and thin pages so Google spends its crawl time on the pages that bring business.
Decide on AI crawlers deliberately
GPTBot, Google-Extended and PerplexityBot read robots.txt too. Blocking them can keep your content out of ChatGPT, Gemini and Perplexity answers — usually the opposite of what a business wants.
What is robots.txt?
robots.txt is a small text file at yourwebsite.com/robots.txt that tells search engine bots which parts of the site they may crawl. It should block private areas (admin, cart, search results) and point to your XML sitemap — but never block pages you want to rank.
What is an XML sitemap?
An XML sitemap lists the important URLs on your site so Google can find them quickly, especially new or deep pages. It should include only indexable, canonical pages (no redirects, 404s or noindex pages) and be submitted in Google Search Console.
A good robots.txt example
User-agent: *
Disallow: /admin/
Disallow: /cart/
Disallow: /?s=
Sitemap: https://yourwebsite.com/sitemap.xmlCommon mistakes
- Disallow: / left from a staging site — blocks the whole website
- Blocking CSS or JavaScript files Google needs to render the page
- Sitemap containing redirected, deleted or noindex URLs
- No Sitemap line in robots.txt and sitemap never submitted
- Blocking AI and search bots you actually want (Googlebot, Bingbot, GPTBot) by accident
Ready to grow faster than your competitors?
Book a free 30-minute strategy call. We'll audit your presence and show you exactly where the growth is.
Frequently asked questions
Where is the robots.txt file?
Always at the root of the domain, for example https://spideryweb.com/robots.txt. If it is missing, crawlers assume everything may be crawled.
Should my sitemap be listed in robots.txt?
Yes. Add a “Sitemap:” line with the full sitemap URL so every search engine can find it, and submit it in Google Search Console too.
How do I submit my sitemap to Google?
Open Google Search Console, go to Sitemaps, enter the sitemap URL (for example /sitemap.xml) and click Submit. Check back after a few days for errors.
Can a robots.txt mistake remove my site from Google?
Yes — a single “Disallow: /” blocks the whole site. Check robots.txt after every site migration or theme change.
