Technical optimization

How do I control AI crawlers with robots.txt?

Robin Künnecke

Updated on:

November 2, 2026

•

Reading time

2

min.

Short answer

In the robots.txt, you decide per crawler whether it may fetch your pages. Distinguish between crawlers for search, for training and for user requests.

As of November 2026. Crawler names change. Check them in the providers' documentation before you set rules.

This guide shows which AI crawlers exist and how to allow or block them individually.

Why are there several crawlers per provider?

Many providers separate crawlers by purpose: search, training and fetches at a user's request. That way you can, for example, allow search and block training.

Which crawlers are important?

  • OpenAI: OAI-SearchBot for search, GPTBot for training, ChatGPT-User for user requests.
  • Anthropic: Claude-SearchBot for search, ClaudeBot for training, Claude-User for user requests.
  • Perplexity: PerplexityBot for search, Perplexity-User for user requests.
  • Google: Googlebot for search and AI Overviews, the Google-Extended token for Gemini.
  • Microsoft: Bingbot for Bing and Copilot.

How to do it

  1. Open the robots.txt in the root directory of your domain.
  2. Create a separate block per crawler: a User-agent line with the crawler name.
  3. Below it, write Allow with a slash to allow everything, or Disallow with a slash to block everything.
  4. Save the file and publish it.

A typical setup allows OAI-SearchBot, Claude-SearchBot and PerplexityBot and blocks GPTBot. Which rules suit you is a business decision.

How to tell it worked

Open your-domain.com/robots.txt in the browser and check the blocks. The free domain check shows whether AI crawlers are allowed.

Frequently asked questions

Should I block training crawlers?

That is your decision. A block prevents use for training, not automatically being named in live answers.

Is the robots.txt a technical block?

No. It is an instruction that reputable crawlers follow. A firewall, on the other hand, can block crawlers hard, even unintentionally.

What happens if a crawler is not mentioned?

Then the rules for all crawlers apply, that is, the block with the asterisk. If it blocks everything, the AI crawler is blocked as well.

Related docs

No items found.