Skip to main content

Robots.txt & AI crawler checker

See which AI crawlers your robots.txt allows or blocks - GPTBot, Google-Extended, PerplexityBot, ClaudeBot, and more - then generate new rules in seconds. Free, no signup.

  • No signup required
  • Checker + generator
  • 13 AI crawlers covered
Free SEO toolHow it works

See which AI crawlers (GPTBot, Google-Extended, PerplexityBot, ClaudeBot, and more) your robots.txt allows or blocks.

Build a robots.txt

Choose which AI crawlers to block, add your sitemap, then copy the result to your site root.

# Allow normal search engines full access
User-agent: *
Allow: /

# Add your sitemap URL, e.g.:
# Sitemap: https://example.com/sitemap.xml

What this robots.txt tool does

This tool does two jobs. The checker fetches your site's /robots.txt and tells you, in plain language, which of the major AI crawlers it currently allows or blocks - including OpenAI's GPTBot, Google-Extended, PerplexityBot, ClaudeBot, Common Crawl's CCBot, and more.

The generator lets you tick the crawlers you want to block, add your sitemap, and copy a ready-to-deploy robots.txt. It's the fastest way to take control of how AI systems use your content.

How robots.txt works

robots.txt is a plain-text file at your domain root. It follows the Robots Exclusion Protocol. The file is split into groups.

Each group starts with one or more User-agent lines (naming a crawler) followed by Allow and Disallow rules. Disallow: / blocks the whole site for that crawler; an empty Disallow: allows everything.

A User-agent: * group is the fallback for any crawler you have not named. You can also declare your sitemap with a Sitemap: line. For the full spec, see Google's robots.txt documentation.

One critical caveat: robots.txt is voluntary. Good crawlers honor it. Nothing makes them, and a bad actor can ignore it. To truly block access you need server-side controls. Think of robots.txt as a clear, respected request - not a lock.

The AI crawlers you can control

AI crawlers and what they do
CrawlerVendorWhat it's for
GPTBotOpenAITrains ChatGPT models
OAI-SearchBotOpenAIPowers ChatGPT search results
Google-ExtendedGoogleGemini training/grounding (not Search)
PerplexityBotPerplexityIndexes pages for Perplexity answers
ClaudeBotAnthropicTrains and grounds Claude
Applebot-ExtendedAppleApple Intelligence training
BytespiderByteDanceTikTok/ByteDance AI training
CCBotCommon CrawlOpen dataset used to train many LLMs

Should you block or allow AI crawlers?

This is a strategy decision, not a technical one. There are two distinct kinds of AI crawler, and they deserve different treatment:

  • Training crawlers (GPTBot, CCBot, ClaudeBot, Google-Extended, Bytespider) collect content to train models. Block them and your content stays out of training data. That is useful if you sell content, or if you want to guard your IP.
  • Search/answer crawlers (OAI-SearchBot, PerplexityBot) fetch pages to cite in live AI answers. Block these and you lose the chance to be cited, plus the referral traffic that comes with it.

Most businesses want visibility. The sane stance is to allow search/answer crawlers (so you get cited and referred). Then decide on training crawlers based on how closely you guard your content.

If your growth strategy includes being found in AI answers - as it should in 2026 - blocking the lot is usually a mistake. Pair your decision with our AI search visibility checker and llms.txt generator.

Common robots.txt mistakes

  • Accidentally blocking Googlebot. A stray Disallow: / under User-agent: * can drop your whole site from the index. Never block a normal search crawler.
  • Using robots.txt to hide sensitive pages. The file is public, so listing a secret path is a way of advertising it. Put a login in front of it instead.
  • Forgetting the sitemap. Add a Sitemap line so crawlers discover all your URLs.
  • Wrong location. It must be at the domain root and applies per host/subdomain.
  • Confusing crawling with indexing. A Disallow rule stops crawling. It may not stop indexing. Use a noindex meta tag to keep a page out of the results.

Control how AI sees your whole site

For the spec, see RFC 9309 (Robots Exclusion Protocol).

FAQ

Your questions, answered

Have a question about your project? Ask us on a free call, and we'll give you a straight answer.

What is robots.txt?
robots.txt is a plain-text file at the root of your domain (yourdomain.com/robots.txt) that tells web crawlers which parts of your site they may or may not access. Each rule targets a User-agent (a crawler's name) with Allow and Disallow directives, and you can declare your sitemap location too.
How do I block AI crawlers like GPTBot in robots.txt?
Add a group for the crawler's user-agent followed by Disallow: / - for example, 'User-agent: GPTBot' then 'Disallow: /'. Repeat for each AI crawler you want to block (Google-Extended, PerplexityBot, ClaudeBot, CCBot, and others). Use the generator on this page to build the rules and copy them into your robots.txt.
Should I block AI crawlers?
It depends on your goals. Blocking training crawlers (like GPTBot or CCBot) keeps your content out of model training, but it can also reduce your chances of being cited in AI answers. Many businesses choose to allow AI search crawlers (so they get cited and referred traffic) while blocking pure training crawlers. There's no universal right answer - decide based on whether AI visibility helps or hurts your strategy.
What's the difference between Google-Extended and Googlebot?
Googlebot crawls your site for normal Google Search and is essential for SEO - you should not block it. Google-Extended is a separate control that governs whether your content is used to train and ground Gemini and other Google AI products. Blocking Google-Extended does not affect your normal Search rankings.
Is this robots.txt checker free?
Yes, completely free with no signup. The checker fetches your public robots.txt and analyzes it; the generator runs in your browser. Nothing is stored.
Does robots.txt guarantee a crawler won't access my content?
No. robots.txt is a voluntary standard - well-behaved crawlers honor it, but it is not enforced and bad actors can ignore it. To truly restrict access you need server-side controls like authentication, IP blocking, or firewall rules. Treat robots.txt as a clear request, not a hard lock.
Where do I put the robots.txt file?
It must live at the root of your domain - https://yourdomain.com/robots.txt. It only applies to the host it's served from (including the protocol and subdomain), so each subdomain needs its own robots.txt if you want different rules.
Should robots.txt reference my sitemap?
Yes. Adding a 'Sitemap: https://yourdomain.com/sitemap.xml' line helps crawlers discover all your important URLs. It's a simple, high-value addition, and our generator includes it.
How do I block GPTBot?
Add "User-agent: GPTBot" then "Disallow: /". Use the generator above to build rules for any AI crawler and copy them in.
Google-Extended vs Googlebot?
Googlebot is for normal Search (don't block it). Google-Extended only governs Gemini AI training - blocking it doesn't affect your Search rankings.
Is this checker free?
Yes - free, no signup. The checker fetches your public robots.txt; the generator runs in your browser.
Does robots.txt guarantee a crawler stays out?
No - it's voluntary. Well-behaved crawlers obey it; to truly restrict access use authentication or firewall rules.
Where does robots.txt go?
At the domain root (yourdomain.com/robots.txt). It applies per host and subdomain.

Tell us about your project

Tell us what you're building, when you need it, and what's in the way. A senior engineer will reply within one business day with honest next steps, even if that means we're not the right fit.

  • Your project is led by a senior engineer, not a junior and not AI on its own
  • AI speeds up the build. Every change is reviewed and tested before it ships
  • Best for MVPs, SaaS products, automation, and fixing apps that keep breaking
Browse all SEO tools