Skip to content
AI crawlers

AI crawler robots.txt generator

3 min read · Updated · By the Reveata team

Short answerTick the AI crawlers you want to block, or start from a preset such as blocking training crawlers only, and the generator writes the matching User-agent and Disallow lines to paste into the robots.txt file at the root of your site.

AI answersFetches a page because a person asked an AI assistant about it.
Search indexesFinds and indexes pages so search engines and AI search can link to them.
Training crawlersCollects public pages that may be used to train AI models.
OtherLink previews, SEO tools and data services.
robots.txt
User-agent: AI2Bot
User-agent: Amazonbot
User-agent: Applebot-Extended
User-agent: CCBot
User-agent: ClaudeBot
User-agent: Google-Extended
User-agent: GPTBot
User-agent: meta-externalagent
Disallow: /

Crawlers started by a person (for example when someone asks an assistant to read your page) may not follow robots.txt; each crawler’s page says what its operator documents.

AI companies read the web for different reasons: to train models, to build a search index, or to fetch one page because a person asked about it. Each reason usually has its own crawler name, so you can say yes to one and no to another. The generator runs in your browser and sends nothing anywhere.

How to use the generator

  1. Pick a preset: Block training only (the default), Block training and AI answers, or Allow all.
  2. Adjust single crawlers with their checkboxes. Each is listed with the company that runs it.
  3. Copy the result into the robots.txt file at the root of your domain, for example https://example.com/robots.txt. If you already have a robots.txt, add these lines to it rather than replacing it.

Only crawlers you block get a rule. Anything not named in robots.txt is allowed by default, so there is no need to list the crawlers you want to let in. All blocked crawlers share one group that disallows the whole site:

text
User-agent: AI2Bot
User-agent: Amazonbot
User-agent: Applebot-Extended
User-agent: CCBot
User-agent: ClaudeBot
User-agent: Google-Extended
User-agent: GPTBot
User-agent: meta-externalagent
Disallow: /

That is the output of the Block training only preset. Crawlers whose operators publish no robots.txt token are left out of the list, because a rule for them would do nothing.

The four groups

The crawlers come from Reveata's AI crawler directory, where every entry is sourced from the operator's own documentation.

Group What its crawlers do Examples
Training crawlers Collect public pages that may be used to train AI models. GPTBot, ClaudeBot, CCBot, Google-Extended
Search indexes Find and index pages so search engines and AI search can link to them. OAI-SearchBot, Claude-SearchBot, PerplexityBot, Googlebot, Bingbot
AI answers Fetch a page because a person asked an AI assistant about it. ChatGPT-User, Claude-User, Perplexity-User
Other Link previews, SEO tools and data services. facebookexternalhit, AhrefsBot, SemrushBot

Some names in the training group are controls, not crawlers. Google-Extended never appears in your logs: Google crawls with its usual user agents and reads this token to decide whether your pages may be used for Gemini. Applebot-Extended works the same way for Apple's generative models. Blocking either one does not remove you from Google Search or Apple's search features.

Choosing what to block

  • Blocking training tells AI companies not to use your pages for future models. It does not stop you appearing in AI search, because search uses separate crawlers: GPTBot and OAI-SearchBot, for example, are separate, so you can block one and allow the other.
  • Blocking search indexes removes you from those search results, including AI search answers that link to sources. For most businesses that want to be found, this costs traffic.
  • Blocking AI answers stops some assistants from reading your page when a person asks about it, but see the next section.

The generator never blocks search indexes in its presets; you have to tick them yourself.

What robots.txt cannot do

robots.txt is a request, not a lock. Well-behaved crawlers read it and follow it; nothing forces the rest. Two more limits:

  • User-triggered fetchers may not follow it. OpenAI says robots.txt rules may not apply to ChatGPT-User, and Perplexity says Perplexity-User generally ignores robots.txt, because a person started the request. Each crawler's page in the directory quotes what its operator documents.
  • It only covers the future. Blocking a training crawler today does not remove pages it collected before.

See which crawlers actually visit

The bot traffic page in Reveata lists the crawlers that read your site, how many pages they fetched and when they were last seen. For crawlers whose operators publish IP ranges, each request is checked and marked verified or spoofed (crawler verification). You can mark crawlers allowed or blocked there and copy the robots.txt lines it builds. Most crawlers do not run JavaScript, so to see them all, forward crawler requests from your server. Crawler hits are stored separately and never counted as visitors.

Frequently asked questions

Will blocking GPTBot remove my site from ChatGPT?

No. GPTBot is OpenAI's training crawler. ChatGPT search uses OAI-SearchBot, and ChatGPT-User fetches pages people ask about. Each is controlled separately.

How long until a crawler respects a new robots.txt?

Crawlers fetch robots.txt from time to time and cache it, so a change is not instant. Operators document their own behaviour; check the crawler's page in the directory.

Does robots.txt need to be at the root of the domain?

Yes. Crawlers only look for it at the root of each host, so https://example.com/robots.txt covers example.com, and a subdomain such as shop.example.com needs its own.

See it with your own numbersReveata ties every visit and sale to the source that brought it. Add your website in a minute.
Get started
Was this page useful?