Skip to content

AI crawlersand robots.txt

Allow the search crawlers, because they decide whether AI tools can show you: OAI-SearchBot for ChatGPT, Claude-SearchBot and Claude-User for Claude, PerplexityBot for Perplexity, Googlebot for Google's AI and Bingbot for Copilot. Training crawlers such as GPTBot, ClaudeBot and Applebot-Extended are separate, and you can block them and stay in the answers. Google-Extended is the one to think about: it also covers grounding in the Gemini app.

Updated · By Karthik, founder of Named

Close view of dark asphalt shingles and their granules
One wrong line in a small file can keep every AI tool out.

Three kinds of AI robot

  • Search crawlers index pages so an AI tool can find and cite them later. Block these and you mostly hide yourself.
  • User fetchers open a page when a person asks the AI about it. OpenAI says robots.txt rules may not apply to ChatGPT-User, and Perplexity says Perplexity-User generally ignores them, because a person asked.
  • Training crawlers collect pages to train AI models. Blocking these is a choice about your content. OpenAI, Google and Apple each say it doesn't remove you from their search.

robots.txt is a plain text file at yoursite.com/robots.txt. Each company names its robots, so you can treat each one differently.

OpenAI (ChatGPT)

  • OAI-SearchBot: for search. OpenAI says sites that opt out of OAI-SearchBot won't be shown in ChatGPT search answers, though they can still appear as navigational links.
  • GPTBot: for training. Disallowing it tells OpenAI your content shouldn't be used to train its foundation models.
  • ChatGPT-User: fetches a page when a ChatGPT user asks. OpenAI says it isn't used to decide what appears in search.

OpenAI says each setting is independent, and that ChatGPT search can take about 24 hours to adjust after you change robots.txt.

Anthropic (Claude)

  • Claude-SearchBot: indexes pages to improve Claude's search answers. Anthropic says blocking it may reduce your visibility in them.
  • Claude-User: fetches a page when a Claude user asks. Anthropic says blocking it stops Claude retrieving your content for those questions.
  • ClaudeBot: collects content that may be used for training. Blocking it signals that your future pages should be left out of training data.

Anthropic says its robots honour robots.txt, including the Crawl-delay rule, and that blocking its IP addresses may not work reliably. Use robots.txt instead.

Perplexity

  • PerplexityBot: surfaces and links websites in Perplexity's answers. Perplexity says it isn't used to collect content for training AI foundation models.
  • Perplexity-User: fetches a page when a user asks a question, and generally ignores robots.txt.

Google, Microsoft and Apple

  • Googlebot: crawls for Google Search, AI Overviews and AI Mode included. Google says robots.txt rules for Googlebot are how you control those.
  • Google-Extended: not a separate crawler but a robots.txt token. It controls whether Google may use your content to train Gemini models and to ground answers in the Gemini app. Google says it doesn't affect inclusion or ranking in Google Search. If you want the Gemini app to use your pages when it answers, leave it allowed.
  • Bingbot: Bing's crawler. Microsoft documents that Copilot searches the web through the Bing search service, so Bingbot is how Copilot finds you.
  • Applebot: powers search in Spotlight, Siri and Safari. Apple says its data may also help train Apple's models.
  • Applebot-Extended: block this to opt out of training Apple's models. Apple says Applebot keeps crawling, so you stay in Spotlight, Siri and Safari.

A robots.txt for a local business

This keeps every search crawler in and opts out of AI training. Lines 1 to 4 are one group: the three training robots, each told to stay out. Delete that group if you don't mind training.

  1. User-agent: GPTBot
  2. User-agent: ClaudeBot
  3. User-agent: Applebot-Extended
  4. Disallow: /
  5. User-agent: *
  6. Allow: /
  7. Sitemap: https://www.yourbusiness.ca/sitemap.xml

Add Google-Extended to the first group only if you accept that the Gemini app may not use your pages in its answers. And look for the two lines that hide you from everyone: “User-agent: *” followed by “Disallow: /”, or a search crawler named with “Disallow: /”.

When robots.txt isn't the problem

A firewall or bot setting can turn crawlers away even when robots.txt lets them in. If your site runs on Cloudflare, check Security, then Settings, then AI Crawler and Agent access policies: a Block setting there stops matching search, agent or training robots before they reach your site. Cloudflare says new domains start on Allow, but older settings and other hosts vary. Cloudflare can also add its own lines to the top of your robots.txt when Bot Preference Sync is on.

OpenAI and Perplexity both recommend allowing their published IP ranges. If you aren't sure, open yoursite.com/robots.txt in a browser, then ask your web person whether any firewall or bot setting blocks AI crawlers.

Questions

If I block GPTBot, will ChatGPT stop recommending me?

Not according to OpenAI. GPTBot is for training; OAI-SearchBot decides whether you show in ChatGPT's search answers, and OpenAI says each setting is independent.

Will my Google ranking drop if I block Google-Extended?

No. Google says Google-Extended doesn't affect inclusion or ranking in Google Search, AI Overviews included. It does cover grounding in the Gemini app, so blocking it can keep your pages out of Gemini app answers.

Do AI crawlers obey robots.txt?

The search and training crawlers here say they do. Fetchers acting for a user are the exception: OpenAI says robots.txt may not apply to ChatGPT-User, and Perplexity says Perplexity-User generally ignores it.

How long does a robots.txt change take?

OpenAI says about 24 hours for ChatGPT search. Other companies re-read the file on their own schedules.

Should a local business block AI crawlers at all?

Rarely. Your hours, services and prices are facts you want repeated. Blocking training is a choice about your content; blocking search crawlers mostly hides you.

More guides

See what ChatGPT, Gemini, Perplexity and Claude say about your business. About a minute, no card.Run my free AI check