Granting permission in robots.txt looks simple, and half finished permission is the usual failure. You need one Allow rule per AI crawler token, placed ahead of any broad block rules. The block further down covers OpenAI's three crawlers, Anthropic's three, Perplexity's two, Bing's bingbot, and Meta's tokens.

Keep one limit in mind from the start. Permission is all an Allow rule gives. It will not lift your ranking. It will not force a crawl to happen. It will not restrain fetchers that pay the file no mind.

Three traps in copied blocks

Trap one: the training bot gets allowed while the search bot gets missed. GPTBot and OAI-SearchBot do different jobs, and most templates floating around name only one of them.

Trap two: copied blocks go stale. Claude-Web and anthropic-ai no longer match anything, since both names are retired. Forum lists also throw in tokens no vendor has ever documented, such as GrokBot and DeepSeekBot.

Trap three: the file binds only crawlers that respect it. ChatGPT-User, Perplexity-User, and meta-externalfetcher act for a specific user, so they generally pay robots.txt no attention. No allow block can steer them.

First, confirm the file is there

Open your robots.txt address in a browser, swapping in your own domain.

code
https://yourdomain.com/robots.txt

When nothing comes back, the file is missing. Build it at the root of your site first, since an allow block has nowhere to sit without it.

Next, paste the block ahead of any broad rules

code
User-agent: OAI-SearchBot
Allow: /

User-agent: GPTBot
Allow: /

User-agent: ChatGPT-User
Allow: /

User-agent: Claude-SearchBot
Allow: /

User-agent: ClaudeBot
Allow: /

User-agent: Claude-User
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: Perplexity-User
Allow: /

User-agent: bingbot
Allow: /

User-agent: meta-webindexer
Allow: /

User-agent: meta-externalagent
Allow: /

User-agent: meta-externalfetcher
Allow: /

User-agent: facebookexternalhit
Allow: /

User-agent: meta-externalads
Allow: /

Placement matters. Put these groups near the top, ahead of any broad disallow rules, so a broad rule cannot overshadow them.

What leaving each token out costs you

Leave OAI-SearchBot out, and ChatGPT live answers will skip your site. For a business hoping to be recommended this week, that token carries the most weight.

Leave GPTBot out, and only future training loses your pages. Live search stays untouched, because OpenAI keeps the two settings separate.

Leave ChatGPT-User out, and you still face its limit: since its fetches answer a user request, robots.txt rules may not bind it anyway.

Leave Claude-SearchBot out, and Claude search indexing stops for your pages.

Leave ClaudeBot out, and the only loss is future training material. Search stays untouched.

Leave Claude-User out, and Claude loses the ability to pull your content into an answer when asked.

Leave PerplexityBot out, and Perplexity results will neither surface nor link your site. Training never enters the picture for this crawler, and it respects robots.txt.

Leave Perplexity-User out, and you still face its limit: since a real user asked the question, it generally pays robots.txt no attention. That visit also carries the strongest citation signal of the two Perplexity crawlers.

Leave bingbot out, and Copilot loses its index feed. Microsoft has published no AI specific token of its own, so AI visibility on that side runs through the Bing index.

Leave meta-webindexer out, and you give up the most important Meta allow. Meta reports that allowing this token helps Meta AI cite and link your content.

Leave meta-externalagent out, and Meta loses a training source. Leave meta-externalads out, and Meta loses an advertising crawl source. Leave meta-externalfetcher out, and you still face its limit: user requested fetches, including ones for AI agents, may bypass robots.txt. Leave facebookexternalhit out, and link previews lose their fetcher.

Skip GrokBot and DeepSeekBot entirely. No vendor has documented a token for either, so rules written for them match nothing, and live fetches from both companies bypass robots.txt in any case.

Understand Google-Extended too, if it appears in your template. It is a policy token, not a crawler. It owns no user agent string and never turns up in server logs. Its job is to govern whether material Google already crawled may feed Gemini training and grounding. It changes nothing about Search inclusion, ranking, or AI Overviews.

Last, confirm the change is live

Fetch your robots.txt address again and check that the block appears. Then watch your server logs across the next day or two. OpenAI, Perplexity, and Meta each report that robots.txt changes need about 24 hours to take effect.

A candle maker who allowed the wrong bots

Picture a candle maker in Nashville. She copies an allow block from a forum. Her block names GPTBot while leaving OAI-SearchBot out, so ChatGPT's training pipeline gets permission while live search gets none. The same block names Claude-Web, a retired name matching nothing, plus GrokBot, which no vendor has documented. A month passes, and ChatGPT keeps citing a competitor in live answers. Her file looked complete. It simply welcomed the wrong bots.

What this guide does not do

This is a permission slip, nothing more. It will not describe your products to the models. It will not make a crawl happen sooner. It will not cover edge settings that can overrule the file after you save it.

Frequently Asked Questions

Will allowing a crawler force it to crawl me?

No. Permission is all you grant. It will not lift your ranking, force a crawl, or restrain fetchers that pay the file no mind.

I allowed GPTBot, so why does ChatGPT skip me in live answers?

GPTBot feeds training, not live search. Live ChatGPT search answers depend on OAI-SearchBot, and OpenAI keeps the two settings separate.

Should my block name GrokBot and DeepSeekBot?

No. No vendor has documented a token for either, so rules written for them match nothing, and live fetches from both companies bypass robots.txt in any case.

How soon does a change take effect?

OpenAI, Perplexity, and Meta each report about 24 hours for robots.txt changes. Fetch the file again to confirm the block appears, then watch your logs.

Verified Sources & Technical Documentation

links marked specific point to the page that supports the claim in this guide. Links marked general docs point to the vendor's general docs section for that topic, not to a page that proves every step. Check the vendor docs for the current path before relying on a menu name or click path in this guide.