To manage AI crawlers in robots.txt, set separate rules based on what each one does. A search crawler can help a page appear in search answers, while a training crawler may collect public content to develop models. Before changing access rules, check the user-agent, the identifier a client sends in an HTTP request, and the host.
The table lists major crawlers and robots.txt tokens. The examples show how to configure GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot, and Google-Extended. robots.txt gives instructions to compliant crawlers; it does not password-protect private pages.
What robots.txt controls
robots.txt is a text file at the root of a site, such as https://example.com/robots.txt. Automated clients read it to see which URLs a site owner allows them to crawl or asks them to avoid.
The basic format is simple:
User-agent: ExampleBot
Disallow: /private/
Allow: /blog/
Sitemap: https://example.com/sitemap.xml
Each group starts with User-agent, which names the crawler it applies to. User-agent: * sets default rules for clients without a more specific group. RFC 9309 explains how crawlers choose a group and match paths.
If you’re comparing robots.txt with llms.txt, see how to create an llms.txt file and why a site might use one.
RFC 9309 makes clear that these rules do not control access. robots.txt cannot stop people from opening a page, add password protection, or guarantee that every crawler follows its instructions.
Use robots.txt to guide crawlers that follow its rules. Protect private content with authentication, server-side access controls, or a web application firewall (WAF). A noindex directive controls whether a page appears in search results; it does not make the page private.

Rules apply to a specific protocol, host, and port. A file at https://example.com/robots.txt does not cover https://blog.example.com/, and the HTTP and HTTPS versions of a site each need their own file. See Google’s robots.txt scope documentation.
Why AI crawlers have different roles
One service can use different user-agents for different tasks:
- training or improving foundation models;
- indexing pages for AI search;
- fetching a page at a user’s request;
- performing technical, advertising, or security checks.
For example, a site owner can allow OAI-SearchBot to help pages appear in ChatGPT search answers while blocking GPTBot from collecting content for training. Each user-agent can have its own rule.
A broad block can shut out crawlers you want to keep:
User-agent: *
Disallow: /
This rule blocks all compliant crawlers, including Googlebot. Check its effect before using it on a site that should appear in Google Search.
Training, AI search, and user-requested retrieval
Treat these as separate access decisions: content collection for model training, search crawling, and page requests initiated by users.
| Scenario | What happens | Why it matters |
|---|---|---|
| Model training | A crawler collects public content that may be used to train or improve models | Decide whether to allow this use of your site’s content |
| AI search and indexing | A service crawls pages to include the site in answers, citations, and links | Affects whether pages can appear in ChatGPT Search, Claude, Perplexity, and other AI search features |
| User-requested retrieval | A user asks an AI to open a URL or perform an action, and the crawler fetches that page | Affects whether the site is available when a user asks the AI to open a page |
Crawl access can affect whether a page appears in search answers. See our article on AI visibility and SEO for how AI answers fit into the search journey.
Basic AI crawlers and what they do
As of October 2026, official platform documentation describes the roles below. This list covers major search and training user-agents, not every automated client on the web.
| Company | User-agent or token | Documented role | What blocking means |
|---|---|---|---|
| OpenAI | GPTBot | Crawls content that may be used to train foundation models | Signals that the site opts out of this use for training |
| OpenAI | OAI-SearchBot | Helps sites appear in ChatGPT search answers | The site may not appear in ChatGPT Search answers, though it may remain a navigational link |
| OpenAI | ChatGPT-User | Opens a page after a user action in ChatGPT or Custom GPTs | robots.txt may not apply to user-initiated actions |
| Anthropic | ClaudeBot | Collects web content that may be used for model training | Signals that Anthropic should not use new site content for model training |
| Anthropic | Claude-SearchBot | Crawls pages to improve Claude search | The site may be unavailable in Claude search answers |
| Anthropic | Claude-User | Opens a page at a Claude user’s request | Claude may not receive the page in response to the request |
| Perplexity | PerplexityBot | Crawls pages for Perplexity search results | The site may be absent from relevant Perplexity results |
| Perplexity | Perplexity-User | Fetches a page when a user asks Perplexity to open it | Perplexity says these requests generally are not controlled by robots.txt |
Google-Extended | A robots.txt token for content use in Gemini Apps and Vertex AI | Does not control Google Search inclusion or ranking | |
| Apple | Applebot | Crawls pages for search features across Apple’s ecosystem | The site may be absent from relevant Apple results |
| Apple | Applebot-Extended | Controls whether Apple can use content crawled by Applebot to train models | Apple says crawled content should not be used for model training |
| Common Crawl | CCBot | Collects pages for the Common Crawl open web archive | Common Crawl stops new crawling of pages covered by the rule |
| Amazon | Amazonbot, Amzn-SearchBot, Amzn-User | Supports Amazon crawling and user-requested page access | Relevant Amazon services may not receive the page |
This list of AI bots for robots.txt helps you match each user-agent to its task. OpenAI uses GPTBot to collect content for training and OAI-SearchBot for ChatGPT search. Sources: OpenAI crawler documentation, Anthropic crawler guidance, Perplexity crawler documentation, Google’s crawler list, Applebot documentation, Common Crawl’s CCBot guidance, and Amazonbot guidance.
OpenAI: GPTBot, OAI-SearchBot, and ChatGPT-User
OpenAI separates search from model training. Its crawler documentation describes OAI-SearchBot as a search crawler that helps sites appear in ChatGPT search results. GPTBot separately crawls content that may be used to train foundation models.
How to configure GPTBot in robots.txt
Create a dedicated group and specify which paths it can crawl. To block the full site, add Disallow: /.
How to allow OAI-SearchBot in robots.txt
Give it a separate group. Keep GPTBot in its own group if search and training access should differ:
User-agent: OAI-SearchBot
Allow: /
User-agent: GPTBot
Disallow: /
Allowing OAI-SearchBot does not guarantee that ChatGPT will mention your brand. OpenAI says blocking it prevents the site from appearing in ChatGPT search answers, although the site may still appear as a navigational link.

ChatGPT-User fetches pages in response to a user’s action in ChatGPT or a Custom GPT. OpenAI says robots.txt may not apply to these user-initiated requests, so protect private pages with server access controls.
Anthropic: ClaudeBot, Claude-SearchBot, and Claude-User
Anthropic’s crawler guidance explains the different roles: ClaudeBot collects web content that may be used for training, Claude-SearchBot supports Claude search, and Claude-User fetches pages when a user asks.
How to block ClaudeBot in robots.txt
Create a separate group. Keep Claude-SearchBot allowed if pages should remain available in Claude search:
User-agent: ClaudeBot
Disallow: /
User-agent: Claude-SearchBot
Allow: /
User-agent: Claude-User
Allow: /
If you want the crawler to read updated /robots.txt rules, do not block its IP address at the firewall. Keep the file accessible.
PerplexityBot and Perplexity-User
Perplexity’s crawler documentation says PerplexityBot helps sites appear and receive links in search results. It also says the crawler is not used to scan content for foundation models.
How to manage PerplexityBot in robots.txt
Add a separate group for this user-agent and set its rule according to your policy.
User-agent: PerplexityBot
Allow: /
Perplexity-User fetches a page after a person asks Perplexity to open it. Perplexity says these requests generally ignore robots.txt. Use authentication or server access controls for sensitive pages.
You can add a Perplexity-User group as an instruction, but it does not protect private pages:
User-agent: Perplexity-User
Disallow: /clients/
Protect /clients/ with server-side authentication.
Google-Extended and Googlebot
Google describes Google-Extended as a robots.txt control token, not a separate HTTP user-agent. Google’s existing user-agents crawl the pages. See Google’s Google-Extended documentation. To configure Google-Extended in robots.txt, create a separate group for it.
Google-Extended lets publishers manage whether crawled content can be used in Gemini Apps and Vertex AI. It does not control inclusion in Google Search or act as a ranking signal. Google AI Overviews and AI Mode are Google Search features. For controls on snippets and page use in these features, see Google’s robots meta directives.
If Google Search should remain open while you restrict Google-Extended:
User-agent: Googlebot
Allow: /
User-agent: Google-Extended
Disallow: /
If you use Googlebot instead of Google-Extended, the rule affects crawling for Google Search.

Ready-to-use robots.txt rules
Use these examples as separate policies. Before publishing, check how each user-agent’s rules apply to the target URL.
Scenario 1. Allow AI search but block training crawlers
This policy keeps search crawlers open while blocking some content collection for training.
User-agent: OAI-SearchBot
Allow: /
User-agent: Claude-SearchBot
Allow: /
User-agent: PerplexityBot
Allow: /
User-agent: GPTBot
Disallow: /
User-agent: ClaudeBot
Disallow: /
User-agent: Google-Extended
Disallow: /
Permission does not guarantee that a page will appear in answers. To review which sources models cite, see how to analyze sources AI relies on.
Scenario 2. Block the listed AI crawlers
Use this policy if you do not want the listed AI crawlers to access site pages, or if the content faces a higher risk of copying.
User-agent: GPTBot
Disallow: /
User-agent: OAI-SearchBot
Disallow: /
User-agent: ChatGPT-User
Disallow: /
User-agent: ClaudeBot
Disallow: /
User-agent: Claude-SearchBot
Disallow: /
User-agent: Claude-User
Disallow: /
User-agent: PerplexityBot
Disallow: /
User-agent: Perplexity-User
Disallow: /
User-agent: Google-Extended
Disallow: /
OpenAI says blocking OAI-SearchBot prevents a site from appearing in ChatGPT search answers, though it may remain a navigational link. Check each platform’s documentation before assuming its crawlers follow the same rules.
Scenario 3. Block individual sections
Use this policy when crawlers should reach public pages but not client or internal sections.
User-agent: GPTBot
Disallow: /clients/
Disallow: /internal/
Allow: /blog/
Allow: /services/
User-agent: OAI-SearchBot
Disallow: /clients/
Disallow: /internal/
Allow: /
Check how each crawler applies Allow and Disallow before publishing this template.
Scenario 4. Keep Google Search open and limit Google-Extended
Use this policy when the site should stay in Google Search but the team wants to restrict Google-Extended.
User-agent: Googlebot
Allow: /
User-agent: Google-Extended
Disallow: /
For URL paths, the longest matching rule applies, and paths are case-sensitive. These rules appear in RFC 9309 and Google’s robots.txt specification. As a result, /blog/ and /Blog/ may produce different results.
How to check that the rules work
After publishing, confirm that the file is accessible, then review crawler requests to the site.
- Open
https://domain.com/robots.txtin a browser. Confirm that the server returns the file, not an HTML error page or an access denial. - Check the rules for each subdomain. If a blog lives on
blog.example.com, it needs its ownrobots.txt. - Check server logs for these user-agents:
GPTBot,OAI-SearchBot,ChatGPT-User,ClaudeBot,Claude-SearchBot,Claude-User,PerplexityBot,Perplexity-User, andGooglebot. OpenAI saysChatGPT-Usermay not be governed byrobots.txt, while Perplexity saysPerplexity-Usergenerally ignores it (OpenAI, Perplexity). Seeing either one after aDisallowrule does not prove that the rule failed. For a broader view of visits over time and bulk IP checks, see AI crawler log analysis. - Compare requests with the provider’s published IP ranges, if available. A user-agent string alone can be spoofed.
- Check the CDN and WAF. Cloudflare, AWS WAF, nginx, security plugins, or WordPress plugins can block a crawler before it reads
robots.txt. - Give crawlers time to apply new rules. As of October 2026, OpenAI says its systems may take about 24 hours to apply OAI-SearchBot changes (OpenAI crawler documentation). Other platforms may update on their own schedules.

Check that the rules did not block priority pages. If a previously cited page disappears after a change, check whether crawlers can still access it. See which website pages most often appear in AI answers for a way to identify pages that should remain accessible.
Common mistakes
Make sure you distinguish GPTBot from OAI-SearchBot, Googlebot from Google-Extended, and the main host from its subdomain. Disallow tells a compliant crawler not to fetch a path; it does not by itself remove a URL from an index. Anyone can read paths listed in a public robots.txt. RFC 9309 allows crawlers to cache the file, and not every crawler supports the non-standard Crawl-delay directive.
robots.txt sets crawling rules; it does not explain why a page should be cited. Citations depend on the page’s content, structure, and sources. For technical markup, see how structured data affects AI visibility.
Which policy to choose for different sites
Set rules according to whether you want search crawlers, training crawlers, or both to access the site.
| Site type | Practical policy |
|---|---|
| Blog or media | Allow search crawlers if you want pages to be eligible for answers; decide separately about training crawlers |
| SaaS or service site | Allow product, blog, FAQ, and documentation pages; protect private accounts, test environments, and client areas |
| Ecommerce | Allow categories, product pages, and help content; protect carts, internal search, parameter filters, and personal accounts |
| B2B company | Keep service pages, case studies, and expert content accessible; handle PDFs, price lists, and client materials with care |
| Closed knowledge base | Do not rely on robots.txt; use authentication and server-side access controls |
| Medical, legal, or financial website | Review the policy with a legal or compliance specialist if content has access restrictions |
After changing the rules, check that each host serves its robots.txt file, then review server responses and request logs.
Quick check
Decide which systems should find the site and whether you allow pages to be used for training. Create separate user-agent groups, check the file for the right host, and compare test responses with server logs. These steps help you manage AI crawlers in robots.txt while keeping search access separate from training collection.
Frequently asked questions
Will blocking GPTBot remove my site from ChatGPT? No. OpenAI says OAI-SearchBot controls whether a site can appear in ChatGPT search answers. GPTBot collects content that may be used for model training. Check both groups separately.
How to block GPTBot with robots.txt?
Create a User-agent: GPTBot group and add Disallow: / to ask compliant crawlers not to fetch the site. Keep a separate OAI-SearchBot rule if ChatGPT Search should remain available.
How to allow ChatGPT to crawl a website?
Allow OAI-SearchBot in robots.txt. This lets ChatGPT Search crawl pages, but does not guarantee that any specific page will appear in an answer.
Why is a bot still visiting after I added Disallow?
Check the host, crawler group, whether /robots.txt is accessible, and server logs. Perplexity says user-initiated Perplexity-User requests generally are not controlled by this file.
GPTBot vs OAI-SearchBot: what’s the difference? GPTBot collects pages that may be used for model training. OAI-SearchBot crawls pages for ChatGPT search answers. OpenAI’s crawler documentation describes them as separate controls.
Does Google-Extended affect Google Search? No. Google says Google-Extended does not affect inclusion in Google Search or work as a ranking signal. Path matching and case rules are in RFC 9309.
How the VYDAI GEO audit checks crawler access
The VYDAI GEO audit checks robots.txt for a URL and sends test requests with user-agent strings such as OAI-SearchBot, Claude-SearchBot, and PerplexityBot. It can also flag a server response that looks like a WAF page instead of the site’s content. This checks access; it does not mean VYDAI monitors brand mentions in Perplexity.
Because Google does not use Google-Extended as an HTTP user-agent, the audit reads its rule in robots.txt but does not send a separate HTTP request. A VYDAI test request cannot confirm that an official crawler made the request. Verify its source in server logs and compare it with the provider’s published IP ranges. Open the GEO audit or register for VYDAI.