Is your robots.txt hiding you from AI search?

If ChatGPT search or Perplexity never cites your website, one possible reason is surprisingly simple: your site tells their crawlers to stay out.
This happens more than you'd think. A security plugin, a hosting default, a "block AI bots" toggle or a copied robots.txt rule can block AI crawlers without anyone noticing. Here's how to check, and how to choose what to allow.
Search crawlers vs training crawlers
The most useful thing to know: the big AI companies run separate crawlers for search and for training. You can allow one and block the other.
- Search crawlers let you appear, and be cited, in AI answers.
- Training crawlers collect pages to train future models.
- User fetchers open a page only when someone asks the AI about it.
| Company | Search | Training | User fetcher |
|---|---|---|---|
| OpenAI | OAI-SearchBot | GPTBot | ChatGPT-User |
| Anthropic | Claude-SearchBot | ClaudeBot | Claude-User |
| Perplexity | PerplexityBot | none listed | Perplexity-User |
| Googlebot | Google-Extended | none |
A few details worth knowing, from each company's documentation:
- OpenAI says blocking GPTBot keeps your content out of model training, while OAI-SearchBot controls whether you can appear in ChatGPT search. ChatGPT-User visits a page only when a user's request needs it, and robots.txt may not apply to those requests.
- Anthropic says ClaudeBot collects training data, Claude-SearchBot indexes pages for Claude's search answers, and Claude-User fetches pages for a user's request. Blocking the last two can reduce your visibility in Claude.
- Perplexity recommends allowing PerplexityBot if you want to appear in its results, and says it isn't used to train AI models. Changes can take up to 24 hours to apply.
- Google-Extended is a setting, not a separate crawler. It only controls whether your content is used for Gemini and Vertex AI. It does not affect Google Search, and it doesn't keep you out of AI Overviews, which use the normal Googlebot.
How to check your robots.txt
The quick way: paste your site into our free AI crawler checker. It reads your robots.txt and shows, for each crawler above, whether it's allowed. To check by hand:
- Open
https://yoursite.com/robots.txtin your browser. - Look for groups that start with
User-agent:followed by any of the names above, orUser-agent: *(which means "every crawler"). - Check for
Disallow: /under them. That blocks the whole site for that crawler.
For example, this blocks ChatGPT's search crawler from everything:
User-agent: OAI-SearchBot
Disallow: /
And this blocks every crawler, including Google:
User-agent: *
Disallow: /
If you see either one and didn't mean to, that's your fix.
A sensible robots.txt for most SaaS sites
If you want to be found and cited in AI search but would rather not have your content used for training, this is a reasonable starting point:
# Search crawlers: allowed (except private pages), so AI search can find and cite us
User-agent: OAI-SearchBot
User-agent: Claude-SearchBot
User-agent: PerplexityBot
Disallow: /app/
Disallow: /api/
# Training crawlers: blocked
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Google-Extended
Disallow: /
# Everyone else (including Googlebot)
User-agent: *
Disallow: /app/
Disallow: /api/
Sitemap: https://yoursite.com/sitemap.xml
Change /app/ and /api/ to the private parts of your own site (your logged-in app, admin, API), and use your real sitemap address. Repeat those private paths in each group: a crawler named in its own group follows only that group and ignores the * rules.
Whether to allow the training crawlers is a business decision, not a technical one. Allowing them may help future models know about your product; blocking them keeps your content out of training sets. Neither choice affects whether you appear in AI search: that's what the search crawlers are for.
robots.txt isn't the only thing that can block you
Even with a perfect robots.txt, AI crawlers can still miss your content if:
- A firewall or bot protection blocks them. Services like Cloudflare have settings that block AI crawlers. Check your dashboard for "AI bots" or "bot fight" settings and make sure the search crawlers you want are allowed.
- Your pages need JavaScript to show text. Many crawlers read the HTML your server sends. If your homepage is an empty shell until JavaScript runs, they may see almost nothing. A quick test: view the page source (not the inspector) and check that your headline and main text are there, or paste the page into our free AI page reader.
- Your key pages have
noindex. Anoindextag keeps a page out of search, including Google's AI features.
Then check whether it worked
Fixing access doesn't mean AI will recommend you; it means it can. Whether it does depends on how clearly your site describes your product and which other sites mention you. See why AI recommends your competitor instead of you for what to work on next.
KipSEO's free check also reads your robots.txt and shows whether the main AI crawlers can read your homepage, alongside whether ChatGPT, Gemini and Perplexity actually name you.