Skip to content

AI search

GPTBot and AI crawlers: what to allow in robots.txt

The quick answer

GPTBot is the automatic page reader, called a crawler, that OpenAI uses to collect material that may train its AI. OAI-SearchBot is a separate one that helps your pages appear in ChatGPT search. You can let search in and still decline training. Check your robots.txt file, your hosting security and your server records to confirm each change worked.

A timber gate stands ajar along a gravel garden path beside a weatherboard home.
On this page

Key takeaways

  • OpenAI treats GPTBot (training) and OAI-SearchBot (ChatGPT search) as two separate settings, so blocking one doesn’t block the other.
  • Google-Extended is a rule name in robots.txt and not a visitor in your records; it has no effect on whether you appear or rank in Google Search.
  • ChatGPT, Perplexity and Claude can each fetch a page because one person asked; OpenAI and Perplexity say robots.txt may not apply to those visits.
  • robots.txt can give each bot its own rules, so keep your existing blocks for admin or staging areas and keep private pages behind a login.
  • After you change robots.txt, check the exact web address customers use and your server records, because each company updates on its own timing.

robots.txt is a small public file at the top of a website that works like a sign on the front gate. It tells the automatic page readers from ChatGPT, Perplexity, Google and other AI tools which pages they may visit. One wrong line can stop a search tool reading the page you want customers to find, so it’s worth checking yours if you have one.

These page readers are called crawlers. When a customer asks ChatGPT for a builder, the answer can draw on pages it looked up for search or on what it learned in training. Those are different jobs. Training is when an AI learns from a large body of text before it’s released.

This guide shows you how to let the search tools in, choose separately about training and check that your changes worked. Our AI SEO agency can help if you find an access problem. For the wider work of improving how AI answers describe your business, see what is GEO.

Here’s an example. Say you run a landscaping business in Penrith. A while back, someone helping with your website added a block for AI bots to robots.txt because you didn’t want your writing used for training. The block they copied also turned away ChatGPT’s search reader, called OAI-SearchBot. Now a homeowner asks ChatGPT for a landscaper in Penrith. The search reader arrives at your site and finds the sign telling it to stay out. It leaves without reading a page, so your site isn’t shown in ChatGPT’s search answers. The block was meant to stop training but it switched off search as well.

What does this mean for your business?

For most local businesses the first job is making sure the search readers can get in. Training is a separate choice about how your writing is used. Here’s the order we’d work in.

  1. Open yourdomain.com.au/robots.txt in a browser, using the exact address customers use and including www if your site has it.
  2. Look for blocks on the search readers, which are OAI-SearchBot, PerplexityBot, Claude-SearchBot and Googlebot. A block on any of them can stop that tool reading your pages.
  3. Make training its own decision. GPTBot and ClaudeBot collect pages for possible training and a block on them is only a preference for the future.
  4. Keep private pages behind a login, because robots.txt is a sign on the gate and not a lock.
  5. After any change, reload the file and give the companies time to catch up. Then check your server records to see who has actually visited.

OpenAI doesn’t say that allowing GPTBot helps you appear in ChatGPT search. It ties GPTBot to training and a different reader to search. GPTBot is an automatic page reader that collects material which may train OpenAI’s models. Disallowing it signals that your content shouldn’t be used for training.1

ChatGPT search uses OAI-SearchBot instead. OpenAI says it surfaces websites in ChatGPT’s search features. A site that opts out of OAI-SearchBot won’t be shown in ChatGPT search answers, though it may still appear as a link people open directly.1 OpenAI states that each setting is independent of the others.1

Three words to know. A crawler is software that requests web pages automatically. robots.txt is a public file at the top of your website that tells cooperating crawlers which pages they may visit.7 A user-agent token is the crawler name you write in those rules. The file doesn’t log anyone in and it doesn’t keep private information private.

Another file you may hear about, llms.txt, doesn’t control access either. Our llms.txt guide covers what it’s for.

Letting the search reader in gives ChatGPT access to pages it may use but it doesn’t guarantee a mention.1 Our ChatGPT SEO guide covers the wider work. The LLM SEO guide explains how an assistant can use what it learned or find pages while it answers.

Which AI crawlers do which jobs?

The companies divide the work differently, so match the name in your robots.txt file or server records to the job below. The crawlers in this guide fall into three groups.

  • Search readers (OAI-SearchBot, PerplexityBot, Claude-SearchBot and Googlebot) find pages to show in answers.
  • Training collectors (GPTBot and ClaudeBot) gather pages that may be used to train a model.
  • On-request visitors (ChatGPT-User, Perplexity-User and Claude-User) open a page because one person asked an assistant to.

Google-Extended sits slightly apart. It’s a rule name that controls specified Gemini training and a use called grounding, which means using retrieved content to support an answer. Check that extra use before you treat it as a training-only switch.1452

Should a small business allow or block AI crawlers?

Most local service businesses want customers to find them in AI search, so allowing the search bots is the sensible default. Blocking training bots is a separate choice about how your content is used.

Scroll across to read every column

Your goalSearch bots (OAI-SearchBot, PerplexityBot, Claude-SearchBot, Googlebot)Training bots (GPTBot, ClaudeBot) and specified Gemini reuse (Google-Extended)
Be found by customers using AI searchAllowYour choice
Keep content out of future model trainingAllow, if you still want search visibilityBlock with a rule for each bot
Keep a page privateUse a passwordUse a password

Anthropic describes a ClaudeBot block as a signal that the site’s future materials should be excluded from training datasets.5 None of the pages we read says a block removes content already collected, so treat it as a preference for the future.

Blocking a search bot is different. OpenAI and Anthropic both say it can take your site out of their search results or reduce your visibility.15

How do you allow search access and block training?

Write a separate group of rules for each bot name. Allow the search bots and disallow the training ones, then read the whole file before you publish it. Treat the example below as a set of choices to review and not as a file to paste over your own.

Each group starts with a User-agent line that names the crawler. An Allow: / line lets it visit the whole site and a Disallow: / line asks it to stay out. Lines starting with # are notes for people.

# OpenAI: allow ChatGPT search, decline training
User-agent: OAI-SearchBot
Allow: /

User-agent: GPTBot
Disallow: /

# Anthropic: allow search and user requests, decline training
User-agent: Claude-SearchBot
Allow: /

User-agent: Claude-User
Allow: /

User-agent: ClaudeBot
Disallow: /

# Perplexity: allow search
User-agent: PerplexityBot
Allow: /

# Google: decline Gemini training and grounding, leave Googlebot alone
User-agent: Google-Extended
Disallow: /

Google explains how its page readers pick which group applies. They use the group that matches their name most closely and they don’t combine it with the general * group.6 So when you add a group for one crawler, copy across any blocks you already have, because a new group doesn’t inherit them. Those blocks don’t replace a login for confidential content.

Never replace your whole file with the example. Keep the existing blocks for admin or staging areas. Use a login or password to keep confidential material private.7 Anthropic supports a setting called Crawl-delay that spaces out requests. It also says each subdomain needs its own rules.5

The picture below shows four of those groups as separate switches. ChatGPT search and Perplexity search stay on, while OpenAI training and Gemini reuse go off. Each group stands alone, so changing one leaves the others as they were.

Separate search and training

ChatGPT search

User-agent: OAI-SearchBot
Allow: /

Search access

OpenAI training

User-agent: GPTBot
Disallow: /

Decline training

Perplexity search

User-agent: PerplexityBot
Allow: /

Search access

Gemini reuse

User-agent: Google-Extended
Disallow: /

Training + grounding

Review example only

Preserve path exclusions

Not a privacy control

Separate bot groups let you choose search access and training permissions independently, while preserving the rest of your rules.

What does Google-Extended control?

Google-Extended controls training for future Gemini models. It also controls specified uses of retrieved content to support answers, called grounding, in Gemini Apps and Vertex AI. It doesn’t control inclusion or ranking in Google Search.2 Decide these reuse permissions separately from whether customers can find your pages in Search.

You won’t see Google-Extended as a visitor in your server records. It has no separate name in the requests your server receives, because Google uses its existing page readers. It exists only as a rule name in robots.txt.2

Google’s separate Search generative AI setting controls participation in AI Overviews, AI Mode and the generative features in Discover. It doesn’t control model training.3 Blocking Googlebot can stop Google reading your pages. Even so, robots.txt doesn’t reliably remove those pages’ addresses from Search.7 Our AI Mode and AI Overviews guides explain the participation setting.

Do visits started by a person follow the same rules?

Not always. OpenAI says ChatGPT-User actions are started by a person, so robots.txt rules may not apply.1 Perplexity says Perplexity-User generally ignores robots.txt for the same reason.4 Anthropic documents robots.txt compliance for its bots.5

robots.txt isn’t a security boundary. Google says a blocked page’s address can still appear in Search.7 So it works as a sign and not a lock. Anything confidential needs a login. When a person asks an assistant to open a public page, the visit may follow different rules from an automatic crawler, depending on the company.145

Why might an allowed crawler still not reach your page?

Your host or its security filters can block requests even when robots.txt allows them. A content delivery network, which is a network that delivers saved copies of your website files, may apply its own filters too. Ask your host to check whether a legitimate bot receives the page or an error.

Three checks narrow it down.

  1. Use the right address, because rules apply only to the exact host, protocol and port that serve the file. A subdomain, such as shop.yourdomain.com.au, needs its own robots.txt.6
  2. Check that the file loads, because a broken file changes what Google does. If robots.txt returns a 404, which is the “page not found” error, Google treats the site as having no restrictions. If the server returns an error instead, Google first stops its automatic page reading for 12 hours while it retries. It can then use the last good copy for up to 30 days. If none is available, it assumes no restrictions. Google’s documentation explains the later steps.6
  3. Check who is really visiting. Anyone can copy a bot’s name, so compare the visitor’s network address with the company’s published list. OpenAI and Perplexity provide those lists. Perplexity advises checking both the name and the address.14 Anthropic also publishes addresses but warns that blocking them can stop its bots reading robots.txt. That means an address block may not reliably tell Anthropic you want to opt out of training.5

If you use a service such as Cloudflare, Perplexity says to set its bots to Allow so their requests bypass other security rules. It also says to refresh the lists of network addresses automatically.4 Check your own provider’s documentation before copying that setting.

How do you check that a robots.txt change worked?

Changing the file isn’t the last step. Open it, read the rule that applies, give the companies’ systems time to catch up and then look at your records.

  1. Open the live file by visiting yourdomain.com.au/robots.txt on the exact address customers use, including www if you use it.
  2. Find the group for each bot. Then confirm it’s the one you meant and that your rules for private areas are still there.
  3. Allow time for updates, because OpenAI gives about 24 hours for its search systems to adjust to permission changes. Perplexity says its systems may take up to 24 hours. These statements are not universal deadlines for every bot and they don’t prove that a block has taken effect.14
  4. Check your server records by looking for the bot names, then compare the addresses with each company’s published lists.
  5. Test the page by making sure the public version loads without a login or a challenge screen.

A bot reaching your page, a search engine holding it and an answer citing it are three separate outcomes. The first doesn’t prove the second or the third.

Kavera note: In the Sydney trades AI search study we reported blocked, failed and no-answer checks separately from a business being absent. The same idea applies here. If an assistant can’t read your page, that’s an access problem and says nothing about how good the page is.

Kavera note: In two checks about two months apart, our client SHORE went from absent to first in one Sydney builder shortlist. The ChatGPT SEO guide records that one question. The comparison doesn’t establish whether any individual website change, including a change to robots.txt, caused the result.

What does each company say about its crawlers?

This table is the reference version of the three groups above. Don’t flatten the rows into one rule, because the companies treat these bots differently. Perplexity doesn’t describe either of its listed tools as collecting content to train AI foundation models, the large models behind AI assistants.4 OpenAI and Perplexity say the fetchers a person starts may or generally do ignore robots.txt. Anthropic says its bots honour robots.txt directives.145 Our Perplexity SEO guide covers how that engine picks sources.

Scroll across to read every column

Bot nameCompanyJobWhat its company says about robots.txt
GPTBotOpenAICollects content that may train its models1Disallowing it signals content should not be used for training1
OAI-SearchBotOpenAISurfaces websites in ChatGPT search1OpenAI recommends allowing it to appear in search results1
ChatGPT-UserOpenAIActs when a person triggers an action in ChatGPT1robots.txt rules may not apply, because a user started the action1
GooglebotGoogleReads and stores pages for Google Search and its features2Follows robots.txt during automatic visits2
Google-ExtendedGoogleControls specified Gemini training and use of retrieved content to support an answer, called grounding2A rule name, not a separate bot that visits2
PerplexityBotPerplexitySurfaces and links websites in Perplexity search and is not used for AI foundation models4Perplexity recommends allowing it4
Perplexity-UserPerplexitySupports a user action within Perplexity4It generally ignores robots.txt because a user requested the fetch4
ClaudeBotAnthropicCollects web content that could contribute to model training5Anthropic says its bots honour robots.txt directives5
Claude-SearchBotAnthropicImproves search result quality for users5Blocking it prevents Anthropic storing your content for search, called indexing5
Claude-UserAnthropicRetrieves pages when a person asks Claude a question5Blocking it may reduce visibility for user-directed search5

What should you do first?

Open your website’s robots.txt file and check for accidental blocks on the search bots. Make your training choice separately. Then check that the search tools you meant to allow can reach your public pages.

If you want help, our AI SEO agency can run the access check with you. Our SEO audit is free. It reviews your technical setup, keywords, competitors and Google Business Profile, then gives you a prioritised roadmap. Implementation is separate unless retained. Monthly plans start at Suburb SEO, $890/month + GST. See the SEO packages for scope and terms. No SEO package guarantees rankings, leads or revenue.

Good questions

Common questions Clear answers

What is GPTBot?

GPTBot is OpenAI’s automatic page reader, called a web crawler. It collects material that may help train OpenAI’s AI models. If you disallow it in robots.txt, you’re signalling that your content shouldn’t be used for training. It’s separate from OAI-SearchBot, which helps websites appear in ChatGPT search, so choose the two permissions separately.

Does ChatGPT crawl websites?

OpenAI uses separate tools for different jobs. GPTBot collects pages for possible model training, OAI-SearchBot supports ChatGPT search and ChatGPT-User may fetch a page for a user’s request. Those aren’t all of its bots, because its documentation also lists OAI-AdsBot for pages submitted as ads. Choose permissions by purpose.

Does letting GPTBot crawl my website help my business appear in ChatGPT answers?

OpenAI doesn’t say so. It ties GPTBot to training and OAI-SearchBot to search. It also says sites that opt out of OAI-SearchBot won’t be shown in ChatGPT search answers. If you want to appear in search, allow OAI-SearchBot. Allowing GPTBot is a separate choice about training.

Can I block AI training and still let customers find my business through ChatGPT?

Yes. OpenAI lets you disallow GPTBot for training collection while you allow OAI-SearchBot for search. Anthropic also separates training collection from search. Perplexity describes its search and user-request tools as not collecting content to train AI foundation models, the large models behind AI assistants. Allowing search access supports discovery but doesn’t guarantee that an answer will name you.

How do I allow or block GPTBot without accidentally blocking other search tools?

Write a separate group of rules in robots.txt for each bot name. Google’s documentation says the most specific matching group applies, so a GPTBot group doesn’t change Googlebot’s rules. When you add a group, keep your existing blocked paths. Keep confidential pages behind a login instead of relying on those blocks.

Could AI crawlers slow my website down or raise my hosting costs?

Check your server records for how many requests arrive and how they affect the site. We found no load figures in the company pages we reviewed. Anthropic supports a setting called Crawl-delay in robots.txt that spaces out requests. If you find real strain, ask your host about rate limits.

How can I check whether GPTBot has visited and whether my blocking is working?

Find GPTBot requests in your server records and compare their network addresses with OpenAI’s published list, because a bot name alone can be copied. Then check which rule applies to the page requested. OpenAI’s statement that its systems adjust in about 24 hours concerns search results. It isn’t a promised deadline for confirming a GPTBot training block.

Sources

  1. Overview of OpenAI CrawlersOpenAI. Accessed .
  2. Google’s common crawlersGoogle Search Central. Accessed .
  3. Search generative AI controlGoogle Search Console Help. Accessed .
  4. Perplexity CrawlersPerplexity. Accessed .
  5. Does Anthropic crawl data from the web and how can site owners block the crawler?Anthropic. Accessed .
  6. How Google interprets the robots.txt specificationGoogle Search Central. Accessed .
  7. Introduction to robots.txtGoogle Search Central. Accessed .
Arthur Syrios, founder of Kavera Digital

Written by

Arthur Syrios

Founder, Kavera Digital

Arthur Syrios is the founder of Kavera Digital, a Sydney studio that builds websites and runs SEO and AI search work for Australian businesses. He writes our guides on SEO, AI search and website costs.

Let’s talk about what you need

Tell us what your business needs and we will point you to the right option.

View SEO pricing