# robots.txt generator for AI crawlers

> For the complete documentation index, see [llms.txt](https://attensira.com/llms.txt).
> Every page on this site is also served as Markdown: append `.md` to any URL, or send `Accept: text/markdown`.

> Build a robots.txt with per-crawler rules for GPTBot, ClaudeBot, PerplexityBot, Google-Extended and more, then copy the file. Runs in your browser.

- Canonical page: https://attensira.com/tools/robots-generator
- Source: converted from this page's own HTML. It carries no claim
  records, because the page is not a content-pipeline entity.

The AI robots.txt generator builds a robots.txt with a rule for each AI crawler: GPTBot, ClaudeBot, PerplexityBot, Google-Extended and the rest. It starts by allowing the crawlers that can put you in an answer and blocking the ones with no documented answer use; change any of them, then copy the file. Free, no sign-up.

attensira.com/robots.txt 3 of 34 groups

1. User-agent: GPTBot Allow: / Disallow: /api/ Training the default blocks it
2. 18 more groups, PerplexityBot among them
3. User-agent: Google-Extended Allow: / Disallow: /api/ Grounding same as the default
4. 10 more groups
5. User-agent: CCBot Disallow: / Training same as the default
6. AhrefsBot, SemrushBot and \*
7. Sitemap: https://attensira.com/sitemap-index.xml Sitemap declared

Show the full excerpt Show less

The live file, read directly, n=1 run · 4 Oct 2026

Or use the free tool below

## Build your file

In your browser · Free, no sign-up

Which AI crawlers may fetch your site?

Every crawler below is documented by its operator, with what the operator says it is for. The defaults allow the crawlers that can put your pages in an answer and block the ones with no documented answer use. Each description links to the operator's own page, read on 4 October 2026. Change any of them and the generated file updates as you go.

13 of 20 allowed. Ticked means `Allow: /`.

Reset to the defaultAllow allBlock all

- GPTBot OpenAI · no answer use documented Crawls content that may be used to train OpenAI's foundation models. [OpenAI's documentation](https://developers.openai.com/api/docs/bots)
- OAI-SearchBot OpenAI · can put you in an answer Surfaces websites in search results in ChatGPT's search features. [OpenAI's documentation](https://developers.openai.com/api/docs/bots)
- ChatGPT-User OpenAI · can put you in an answer Visits a page when a ChatGPT or Custom GPT user's question calls for it. [OpenAI's documentation](https://developers.openai.com/api/docs/bots)
- ClaudeBot Anthropic · no answer use documented Collects web content that could contribute to training Anthropic's models. [Anthropic's documentation](https://support.claude.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler)
- Claude-SearchBot Anthropic · can put you in an answer Analyses content to improve the relevance of Claude's search responses. [Anthropic's documentation](https://support.claude.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler)
- Claude-User Anthropic · can put you in an answer Visits a page when a Claude user's question calls for it. [Anthropic's documentation](https://support.claude.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler)
- PerplexityBot Perplexity · can put you in an answer Surfaces and links websites in Perplexity's search results. Not used for foundation-model training. [Perplexity's documentation](https://docs.perplexity.ai/guides/bots)
- Perplexity-User Perplexity · can put you in an answer Visits a page when a Perplexity user's question calls for it, and links it in the answer. [Perplexity's documentation](https://docs.perplexity.ai/guides/bots)
- Google-Extended Google · can put you in an answer A control token, not a separate crawler: it governs whether Google may use your pages to train Gemini models and to ground answers in Gemini Apps and Vertex AI. It does not affect Google Search. [Google's documentation](https://developers.google.com/search/docs/crawling-indexing/google-common-crawlers)
- Googlebot Google · can put you in an answer The Google Search crawler. Its rules apply to Google Search and all its features, AI Overviews included. [Google's documentation](https://developers.google.com/search/docs/crawling-indexing/google-common-crawlers)
- Bingbot Microsoft · can put you in an answer The Bing crawler. Microsoft documents that pages in its index may be included in Bing Chat (now Copilot) answers, and that NOARCHIVE keeps them out. [Microsoft's documentation](https://blogs.bing.com/webmaster/september-2023/Announcing-new-options-for-webmasters-to-control-usage-of-their-content-in-Bing-Chat)
- Applebot Apple · can put you in an answer Powers search in Spotlight, Siri and Safari. Apple may also use what it fetches to train its foundation models unless Applebot-Extended is blocked. [Apple's documentation](https://support.apple.com/en-us/119829)
- Applebot-Extended Apple · no answer use documented A control token: it decides whether pages Applebot fetched may train Apple's foundation models. It does not change what Applebot crawls. [Apple's documentation](https://support.apple.com/en-us/119829)
- meta-externalagent Meta · no answer use documented Crawls for uses such as training foundation AI models or improving products by indexing content directly. [Meta's documentation](https://developers.facebook.com/docs/sharing/webmasters/web-crawlers/)
- meta-webindexer Meta · can put you in an answer Meta AI's search crawler: improves Meta AI search results, and Meta says allowing it helps Meta AI cite and link your content. [Meta's documentation](https://developers.facebook.com/docs/sharing/webmasters/web-crawlers/)
- Amazonbot Amazon · no answer use documented Improves Amazon's products and services and may be used to train Amazon AI models. Amazon's search experiences have their own token, Amzn-SearchBot. [Amazon's documentation](https://developer.amazon.com/amazonbot)
- Amzn-SearchBot Amazon · can put you in an answer Improves search experiences in Amazon products; allowing it makes your pages eligible for search experiences such as Alexa. Amazon says it does not crawl content for generative AI model training. [Amazon's documentation](https://developer.amazon.com/amazonbot)
- MistralAI-Index Mistral AI · can put you in an answer Indexes the web for Mistral's search, which answers questions in Mistral's assistant. Mistral says the content is not used for generative AI training of any kind. [Mistral AI's documentation](https://docs.mistral.ai/robots)
- Bytespider ByteDance · no answer use documented ByteDance's crawler. Its user-agent string points to ByteDance's webmaster platform, which publishes no description we could read, so no answer use is documented. [ByteDance's documentation](https://zhanzhang.toutiao.com/)
- CCBot Common Crawl · no answer use documented Builds the Common Crawl corpus, an open repository of web crawl data anyone can download and analyse. [Common Crawl's documentation](https://commoncrawl.org/ccbot)

13 of 20 allowed · see the fileCopy the file

Sitemap URL (optional)

Your own rules (optional)

robots.txt

Copy the file

```
# robots.txt built with https://attensira.com/tools/robots-generator

# OpenAI, no answer use documented
User-agent: GPTBot
Disallow: /

# OpenAI, can put you in an answer
User-agent: OAI-SearchBot
Allow: /

# OpenAI, can put you in an answer
User-agent: ChatGPT-User
Allow: /

# Anthropic, no answer use documented
User-agent: ClaudeBot
Disallow: /

# Anthropic, can put you in an answer
User-agent: Claude-SearchBot
Allow: /

# Anthropic, can put you in an answer
User-agent: Claude-User
Allow: /

# Perplexity, can put you in an answer
User-agent: PerplexityBot
Allow: /

# Perplexity, can put you in an answer
User-agent: Perplexity-User
Allow: /

# Google, can put you in an answer
User-agent: Google-Extended
Allow: /

# Google, can put you in an answer
User-agent: Googlebot
Allow: /

# Microsoft, can put you in an answer
User-agent: Bingbot
Allow: /

# Apple, can put you in an answer
User-agent: Applebot
Allow: /

# Apple, no answer use documented
User-agent: Applebot-Extended
Disallow: /

# Meta, no answer use documented
User-agent: meta-externalagent
Disallow: /

# Meta, can put you in an answer
User-agent: meta-webindexer
Allow: /

# Amazon, no answer use documented
User-agent: Amazonbot
Disallow: /

# Amazon, can put you in an answer
User-agent: Amzn-SearchBot
Allow: /

# Mistral AI, can put you in an answer
User-agent: MistralAI-Index
Allow: /

# ByteDance, no answer use documented
User-agent: Bytespider
Disallow: /

# Common Crawl, no answer use documented
User-agent: CCBot
Disallow: /

# Every other crawler
User-agent: *
Allow: /
```

Save it as `robots.txt` at the root of your domain, then open `/robots.txt` in a browser to check it is served as plain text.

Share

## What goes in the file?

1. ### One group per documented crawler
   
   Each crawler whose operator documents its token gets one Allow: / or Disallow: /, which you choose.
2. ### A comment on every group
   
   One line: the operator, and whether the crawler can put you in an answer, so every group in the file can be explained.
3. ### The catch-all, your sitemap and your rules
   
   User-agent: \* allows everything else; your Sitemap: line and your own rules go at the end.

## What does our own robots.txt allow?

Our live attensira.com/robots.txt, read on 4 October 2026, against what this generator writes by default.

We allow GPTBot and ClaudeBot, which OpenAI and Anthropic document as training crawlers. This generator's defaults would block both, because training does not put you in today's answer. Google-Extended is allowed in our file and by the default, because Google documents it as governing grounding in Gemini Apps too. Our file still blocks CCBot, so it is a choice, not a blanket allow.

That is the point of the toggles. The defaults keep every crawler that can put you in an answer and drop the ones with no documented answer use; the right file is the one whose every line you can explain.

The file is the excerpt at the top of this page. Read on 4 Oct 2026.

About this tool

- You give it: Ticks per crawler, a sitemap URL, your own rules
- It runs: In your browser
- It keeps: Nothing: nothing is sent to us
- Cost: Free, no sign-up
- Our own run: attensira.com/robots.txt · 4 Oct 2026 Details

## What does the generator write?

One group per crawler, for the 20 crawlers whose operators document their user-agent token: 13 that can put a page in an answer (search indexes, on-demand fetchers and grounding controls) and 7 with no documented answer use. Each group is a single `Allow: /` or `Disallow: /`, with a one-line comment naming the operator and whether the crawler can put you in an answer. A catch-all `User-agent: *` group allows everything else, and your sitemap line and your own rules go at the end.

Nothing is invented. A token that no operator documents is not on the list, because a rule for a crawler that does not exist does nothing and makes the file harder to read. Every description in the list above links to the operator's own page, all read on 4 October 2026.

## Which crawlers should you allow?

The ones that can put you in an answer, almost always. Blocking `OAI-SearchBot`, `Claude-SearchBot` or `PerplexityBot` removes your pages from the index those assistants search, so they can no longer cite you. The same holds for `meta-webindexer` (Meta AI), `MistralAI-Index` (Mistral) and `Amzn-SearchBot` (Amazon's search experiences). The on-demand fetchers (`ChatGPT-User`, `Claude-User`, `Perplexity-User`) visit a page because a person asked for it.

The training crawlers are a real choice. Blocking `GPTBot`, `ClaudeBot` or `Amazonbot` keeps your pages out of future training sets; it does not remove you from today's answers, because each of those operators documents a separate search token. Some publishers block training to protect their content. Others allow it so future models know them. The default here blocks training; our own site allows it, and the example above shows the file.

`Google-Extended` is not a training-only switch. Google documents it as governing both Gemini training and grounding in Gemini Apps and Vertex AI, so blocking it can keep you out of those answers. It does not affect Google Search or AI Overviews. The default allows it.

robots.txt is a request, not a lock. Documented crawlers honor it; anything that ignores it has to be stopped at your server or CDN.

The file

- Crawlers listed: 20
- Can put you in an answer: 13
- No documented answer use: 7
- Each group: One Allow: / or Disallow: /
- Operator pages read: 4 October 2026

The defaults

- Search and on-demand crawlers: Allowed
- Training crawlers: Blocked; our own site allows them
- Google-Extended: Allowed: it also governs Gemini grounding
- robots.txt itself: A request, not a lock

## Who keeps the file right after today?

Inside Attensira, a robots change reaches your repository as a pull request for you to review. Merging it is your call. [GitHub delivery](https://docs.attensira.com/agent/github).

Software that does your AI-search visibility work, with you in control of every change.

## How do you put the file live?

1. Copy the file and save it as `robots.txt` at the root of your domain: `https://example.com/robots.txt`. One file per host; a subdomain needs its own.
2. Open it in a browser. It must load as plain text with a 200 status. A 404 means every crawler is allowed everywhere; an HTML page in its place means the file was never deployed.
3. Run the [crawler URL inspector](https://attensira.com/tools/crawler-url-inspector) on a page you care about, to confirm each crawler gets the verdict you meant and a real response.
4. Merge, do not overwrite. If your current file carries rules for paths (an admin area, a staging folder), keep them in the “your own rules” box.

## Questions people ask about AI crawlers and robots.txt

What it will not claim

- robots.txt is a request: documented crawlers honour it, others must be stopped at your server or CDN.
- It does not remove a page from an index; noindex does.
- Allowing a crawler is the gate, not a citation.

### If I block GPTBot, will ChatGPT stop citing me?

Not by itself. OpenAI documents GPTBot as its training crawler and OAI-SearchBot as the one behind ChatGPT search. Blocking GPTBot keeps your pages out of training; blocking OAI-SearchBot is what removes them from search answers.

### What is Google-Extended?

A control token, not a separate crawler. Googlebot does the fetching; a `Google-Extended` rule tells Google whether those pages may be used to train Gemini models and to ground answers in Gemini Apps and Vertex AI. Blocking it does not affect Google Search, according to [Google's crawler documentation](https://developers.google.com/search/docs/crawling-indexing/google-common-crawlers) (read 4 October 2026).

### Why is there no rule for Claude-Web or anthropic-ai?

Because Anthropic does not document them as current tokens. The generator only writes rules for crawlers whose operators document them, so the file does not fill up with rules for crawlers that do not exist.

### How long until a change takes effect?

Crawlers re-read robots.txt on their own schedule. Google says it generally caches the file for up to 24 hours, and longer when it cannot refresh it; see [how Google interprets robots.txt](https://developers.google.com/search/docs/crawling-indexing/robots/robots_txt) (read 4 October 2026).

### Does this tool store anything?

No. The file is built in your browser as you tick the boxes. Nothing is sent to us.

## This writes the file. Attensira's crew keeps it right.

## Tell it where you want to be cited.
