Two steps, not one
Most advice about letting AI crawlers in stops at robots.txt. But robots.txt can only ask crawlers to stay out of places; it can't let them in. What a crawler actually gets is decided by your server and everything in front of it: the CDN, the firewall, security plugins, rate limits. If any of them turns the crawler away, your robots.txt doesn't matter.
It happens more often than you'd think. In the November 2026 AI Access Index, 62 of the 547 top sites whose robots.txt allows at least one of GPTBot, OAI-SearchBot, ClaudeBot or PerplexityBot refused a request sent with an allowed crawler's name. Their robots.txt said yes; their server said no.
So allowing AI crawlers takes two steps: rules that let them in, and a server that agrees. Here is each one, in order. If you would rather keep some or all of them out, that is a valid choice too, and this guide covers doing it on purpose.
1. Decide which crawlers you want
“AI crawlers” are three different kinds of visitor, and each AI company runs more than one:
- Search and answer crawlers build the indexes that AI assistants search when someone asks a question:
OAI-SearchBot(ChatGPT search),Claude-SearchBot,PerplexityBot, and Googlebot, whose index AI Overviews and AI Mode answer from. - Fetchers visit a page because a person asked about it:
ChatGPT-User,Claude-User,Perplexity-User,MistralAI-Userandmeta-externalfetcher. - Training crawlers collect data for future models:
GPTBot,ClaudeBot,CCBot(Common Crawl),Bytespiderand others.
If the goal is to show up when people ask AI assistants about your field, the first two kinds are the ones that matter. Training is a separate decision, and blocking a training crawler doesn't take you out of today's answers. Two names sit in between: Google-Extended controls Gemini training and grounding in the Gemini apps (not AI Overviews), and meta-externalagent both trains Meta's models and indexes content for its products. The crawler directory lists what each of the 60 names we track is for, from each vendor's own documentation.
2. Let them in with robots.txt
robots.txt works by exception: anything it doesn't disallow is allowed. A site with no robots.txt, or one that only disallows a few private paths, already allows every AI crawler. So the job is usually to remove blocks, not to add permissions. Three things to look for:
- A blanket block.
User-agent: *followed byDisallow: /shuts out every crawler that has no group of its own. It is often a leftover from a staging site. - Named blocks you forgot about. A group such as
User-agent: PerplexityBotwithDisallow: /, added by a plugin, a theme or a past decision. Your CDN can add them too: Cloudflare's managed robots.txt places its AI rules above your own, so lines you never wrote can end up in the file crawlers read. - The named-group trap. A crawler that finds a group with its own name follows that group and ignores
User-agent: *. That is how the robots.txt standard (RFC 9309) works. So if you add a group to welcome OAI-SearchBot, it no longer sees the rules in your*group, such asDisallow: /checkout. Either leave the crawlers you welcome unnamed, or copy your general rules into their group.
The simplest version names nobody:
User-agent: *
Disallow: /checkout
Disallow: /account
Sitemap: https://www.example.com/sitemap.xmlEvery AI crawler, like every other crawler, may read everything except /checkout and /account. No Allow line is needed. If you prefer to name the AI crawlers you welcome, one group can list several of them, and it repeats the general rules:
User-agent: OAI-SearchBot
User-agent: ChatGPT-User
User-agent: Claude-SearchBot
User-agent: Claude-User
User-agent: PerplexityBot
User-agent: Perplexity-User
Disallow: /checkout
Disallow: /account
User-agent: *
Disallow: /checkout
Disallow: /accountTwo more details:
- The file has to load. If
/robots.txtanswers with a server error (a 5xx status), the standard tells crawlers to assume they may crawl nothing until it loads again. A 404 means the opposite: no rules, so everything is allowed. - Fetchers may skip it. OpenAI, Meta and Perplexity say their user-triggered fetchers may not follow robots.txt, because a person asked for the page. Allowing them costs nothing.
The robots.txt generator writes a file along these lines and keeps your own rules in it, and the robots.txt validator shows which of the 60 crawlers your current file lets in.
3. Remove the blocks that override robots.txt
This is the step most sites miss, because none of it shows up in robots.txt.
- Your CDN's AI crawler settings. Cloudflare has its own controls for search, agent and training crawlers that block at the edge, before your server sees the request, and its defaults for new sites have changed more than once since 2025. Check what yours are set to rather than assuming. Other CDNs and hosts have similar switches, usually labelled “AI bots” or “block AI scrapers”.
- Bot protection. Settings that challenge traffic which doesn't look like a person (bot-fight modes, “under attack” modes, JavaScript challenges) can catch AI crawlers, especially smaller ones that aren't on the CDN's list of verified bots. A crawler can't solve a challenge, so it gets the challenge page instead of your content.
- Firewalls and security plugins. WordPress security plugins, host firewalls and “bad bot” lists often include AI crawler names, and an update can add new ones without telling you.
- Rate limits. Answering a crawler with 429 (too many requests) again and again keeps it out as surely as a 403.
- Blocks on cloud servers. AI crawlers run from cloud providers' IP ranges. Rules that block cloud hosting ranges, or whole countries, block them along with the traffic those rules were aimed at.
If you want to let only the genuine crawlers through, allow them by IP address as well as by name: anyone can send a crawler's name, but OpenAI and Perplexity publish the IP ranges their crawlers use.
4. Make the page readable
Being let in isn't the same as being read. Most AI crawlers don't run JavaScript, so a page that builds its content in the browser hands them an almost empty shell. Server-render the pages you want read; the guide to checking AI crawler access shows how to test for it. And keep Googlebot welcome: AI Overviews and AI Mode answer from Google's ordinary search index, so a page Google can't index can't appear in them either.
5. Check it from the crawler's side, then keep checking
Your browser is a person, and your CDN may treat it completely differently from a crawler. So check the way a crawler arrives:
- The free Crawl Readiness check reads your robots.txt for 60 AI crawlers, then requests your homepage as GPTBot, OAI-SearchBot, ClaudeBot and PerplexityBot, and tells you where the server disagrees with your robots.txt.
- The Content Parity Checker fetches any page as a browser and as AI crawlers and shows what each one got.
- Your server logs show the real visits: look for the crawler names and the status codes they received. 200 means they were served; 403, 429 and 503 mean they weren't.
Then check again later. AI access changes without anyone deciding to change it: a plugin update adds a bot list, a CDN changes a default, someone copies a staging robots.txt to the live site. After a check, “Watch free” re-checks the site every week and emails you when its verdict or a crawler's access changes.