# What is GPTBot, and should you allow it?

> 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`.

> GPTBot is OpenAI's training crawler. What it collects, the robots.txt rule, how to check a visit, and why blocking it leaves you in ChatGPT.

- Canonical page: https://attensira.com/bots/gptbot
- Family: bots
- Last updated: 2026-10-04
- Author: Karl-Gustav Kallasmaa (https://attensira.com/about)
- Claims as data: https://attensira.com/claims.json?slug=gptbot

**In short:** GPTBot is OpenAI's training crawler: OpenAI documents it as collecting content that may be used to train its foundation models. Blocking it does not remove you from ChatGPT, because ChatGPT's search results come from a separate agent, OAI-SearchBot. Block GPTBot if you object to training use; allowing it earns no citations either way.

AI traffic on attensira.com, 30 days to 2026-10-04 (Attensira AI traffic board, n=143,601 requests): ≈830 requests filed as GPTBot, its share of OpenAI's 7,536 (the row split by the purpose each agent declares). User agents as sent, not checked against address lists.

## How do I allow or block GPTBot in robots.txt?

Paste this into the robots.txt at the root of your domain.

```
# Block OpenAI's training crawler, keep ChatGPT's search crawler.
User-agent: GPTBot
Disallow: /

User-agent: OAI-SearchBot
Allow: /
```

We name GPTBot and allow it everywhere except /api/, the same as every AI and search crawler we allow by name.

```
User-agent: GPTBot
Allow: /
Disallow: /api/
```

## Who runs GPTBot, and what is it for?

- robots.txt token: `GPTBot`
- Operator: OpenAI (https://openai.com)
- What the fetch is for: Training. Collects text that may enter a training corpus. Blocking it removes no page from any assistant's search index or citations, though a model can still name you from what it already learned.
- robots.txt: Operator states it respects robots.txt
- Operator documentation: https://developers.openai.com/api/docs/bots (read 2026-09-03)

## Does blocking GPTBot remove you from ChatGPT?

No. Confusing the two is how a site meaning to opt out of training ends up opting out of ChatGPT search. OpenAI runs four agents, each with its own robots.txt token and its own documented job. GPTBot's job is to crawl content that may be used in training OpenAI's foundation models ([OpenAI](#claim-gptbot-purpose)). Surfacing websites in ChatGPT's search results is the job of a different agent, OAI-SearchBot ([OpenAI](#claim-openai-searchbot-separate)). Fetching one page because a person just asked about it is the job of a third, ChatGPT-User, and OpenAI says robots.txt rules may not apply to that one because the fetch follows a user action ([OpenAI](#claim-openai-chatgpt-user)).

So a rule that names GPTBot does exactly one thing: it keeps your text out of the training crawl. Your pages stay findable in ChatGPT search. A training fetch never ends in a link, a referral or anything your analytics can see, so blocking GPTBot costs you no citations or referrals, and allowing it earns you none.

The way sites lose ChatGPT by accident is the wildcard. A `Disallow: /` under `User-agent: *` applies to every agent without a group of its own. If OAI-SearchBot has no group of its own in that file, the wildcard block reaches it too.

## Does a GPTBot group override your wildcard group?

Yes, completely. RFC 9309 says a crawler obeys the `User-agent: *` group only when no group matches its own token ([RFC 9309](#claim-rfc9309-groups)). A file with `User-agent: *` and `Disallow: /`, plus a separate `User-agent: GPTBot` group with `Allow: /`, lets GPTBot crawl everything. GPTBot reads its own group and ignores the wildcard.

That cuts both ways. Once GPTBot has a group, none of the wildcard's rules reach it, so a private path you disallowed under `*` is open to GPTBot unless you repeat the rule in its group. The combining rule in the standard is narrower than it sounds: two groups that both name GPTBot are read as one. A GPTBot group and a wildcard group never are.

So name every agent you have an opinion about, as the block in the robots.txt section above does for GPTBot and OAI-SearchBot, and put the full set of rules you want for each one in its own group.

## How do I verify that a visit really came from GPTBot?

A user-agent header is free text, so a log line naming GPTBot is a claim until you check it.

Published IP ranges:

- https://openai.com/gptbot.json

OpenAI publishes a separate range file per agent, so a verified request identifies which of the four agents made it, independently of the header it sent.

## What does GPTBot look like in a real site's logs?

Here is our own site. Attensira measures AI crawler requests at the edge on attensira.com, the same way the product does for a customer. In the 30 days to 4 October 2026 it recorded **7,536 requests from OpenAI's agents across 428 pages**. Three of the four agents appeared: GPTBot, OAI-SearchBot and ChatGPT-User.

By the purpose each agent declares, 86% were search indexing, 11% were training and 3% were fetches for a live answer (shares of n=7,536). GPTBot, the training crawler, was the 11%, about 830 requests. Most of what OpenAI fetched from us was for search, which is the traffic a GPTBot-only rule never touches.

Two cautions. These counts are user agents as sent; the measurement does not check each request against OpenAI's range file, so read them as direction, not proof. And one site's mix is one site's mix: a large publisher's ratio will look different.

## How is GPTBot different from OAI-SearchBot and ChatGPT-User?

| Agent | Documented job | What blocking it does |
| --- | --- | --- |
| GPTBot | Crawls content that may be used for training | Keeps your text out of that crawl. No effect on citations |
| OAI-SearchBot | Surfaces websites in ChatGPT's search results | Removes you from the pool ChatGPT search cites from |
| ChatGPT-User | Fetches a page for a user's action in ChatGPT | Robots.txt may not apply to it, per OpenAI |

The side-by-side, with the robots.txt for each combination, is in [GPTBot vs OAI-SearchBot](/compare/gptbot-vs-oai-searchbot). If you are also weighing the open crawl corpus that many models train on, [CCBot vs GPTBot](/compare/ccbot-vs-gptbot) covers that pair.

## How often do sites block GPTBot?

Measured by us, not reported by the operator: we read the robots.txt of the 10,000 highest-ranked domains on the Tranco list for 2026-09-01 and parsed each one against this token.

- Blocked: 14.3% (1,147 domains)
- Explicitly allowed: 4.3% (349 domains)
- Never mentioned: 81.4% (6,540 domains)
- Sample: 8,036 domains whose robots.txt was read, on 2026-09-03

A domain that never mentions the token is not permission granted on purpose; it is a policy nobody wrote. The population, the failure count and the parse rules are in the robots.txt access study: https://attensira.com/data/ai-crawler-robots-access

## Why match the token and not the version?

OpenAI documents GPTBot's full header with a version number, `GPTBot/1.4` as of the date in the user-agent section above ([OpenAI](#claim-gptbot-user-agent)). The number increments. A log filter or firewall rule pinned to `GPTBot/1.4` stops matching the next time OpenAI ships, and it fails silently: the requests keep arriving and your report simply shows fewer of them. Match the bare token `GPTBot`, case-insensitively, as a whole word.

## What can Attensira show you about GPTBot?

Two separate things, kept apart on purpose. AI traffic, on the Growth and Business plans, counts which pages AI crawlers fetch, grouped by operator and by declared purpose, measured in edge middleware because crawlers do not run JavaScript. Prompt tracking reads what ChatGPT and the other engines actually answer about your brand every day. A page can be crawled constantly and never cited, so a GPTBot spike tells you nothing about ChatGPT answers. The answers themselves do.

If you want the numbers for your own site, [crawler logs](/features/crawler-logs) shows the fetches and the [robots.txt generator](/tools/robots-generator) writes the rule.

```
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; GPTBot/1.4; +https://openai.com/gptbot
```

Carries a version the operator increments; check the operator's page before relying on the exact string.

## Should I allow GPTBot in my situation?

- **You object to your writing being used to train commercial models, but you want ChatGPT to be able to find and link your pages.** Disallow GPTBot by name. Leave OAI-SearchBot allowed. These are two separate robots.txt tokens with two separate documented jobs. GPTBot's is training; OAI-SearchBot's is surfacing websites in ChatGPT's search results. A rule naming only GPTBot satisfies the training objection and leaves the citation path open.

- **You wrote a wildcard rule to keep AI companies out and your ChatGPT referrals disappeared.** Give OAI-SearchBot a group of its own that allows it, which takes it out of the wildcard entirely, and keep the block you meant in a named GPTBot group. A rule under the wildcard user agent applies only to agents without a group of their own. Unless the file names them, that includes the search crawlers and the user-triggered fetchers as well as the training crawler you were aiming at. RFC 9309 says a crawler obeys the * group only when no group matches its token, so one named group is the whole exemption.

- **Your logs show a spike of GPTBot traffic hammering a section of the site, and you want to know whether it is real before you rate-limit it.** Check the source addresses against openai.com/gptbot.json before doing anything else. The user-agent header is free text, and AI crawler tokens are worth copying because sites make exceptions for them. If the addresses are not in OpenAI's published range, you are rate-limiting a scraper wearing OpenAI's name, and the robots.txt rule you were about to write would have had no effect on it at all.

## FAQ

### Does GPTBot respect robots.txt?

OpenAI states that it does. A group naming GPTBot is the control, and it reaches GPTBot only: OAI-SearchBot, the agent behind ChatGPT search results, reads its own group under its own token.

### How do I know a GPTBot request in my logs is really GPTBot?

Check the source IP address against OpenAI's published range file at openai.com/gptbot.json. A user-agent header is free text that anything can send, and scrapers borrow AI crawler names because sites make exceptions for them. OpenAI publishes one range file per agent, so a match also tells you which agent it was.

### How much of OpenAI's traffic is GPTBot?

On attensira.com, about one OpenAI request in nine in the 30 days to 4 October 2026. Attensira's AI traffic measurement recorded 7,536 requests from OpenAI's agents across 428 pages, and 11% declared the training purpose. Most of the rest were search indexing. Your site's mix will differ.

## Sources

Each entry below is one claim on this page. `retrieved` is the date the exporter or a human last saw the source say this, and nothing more: it is not a publication date and not a promise of re-verification. `cite` is the anchor on the canonical page where this claim is rendered.

### gptbot-purpose

OpenAI documents GPTBot as the agent used to crawl content that may be used in training its generative AI foundation models.

- source: https://developers.openai.com/api/docs/bots (developers.openai.com)
- retrieved: 2026-09-03
- cite: https://attensira.com/bots/gptbot#claim-gptbot-purpose

> crawl content that may be used in training our generative AI foundation models
### gptbot-user-agent

OpenAI documents GPTBot's full user agent as "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; GPTBot/1.4; +https://openai.com/gptbot".

- source: https://developers.openai.com/api/docs/bots (developers.openai.com)
- retrieved: 2026-09-03
- cite: https://attensira.com/bots/gptbot#claim-gptbot-user-agent
### gptbot-robots

OpenAI states that GPTBot respects robots.txt.

- source: https://developers.openai.com/api/docs/bots (developers.openai.com)
- retrieved: 2026-09-03
- cite: https://attensira.com/bots/gptbot#claim-gptbot-robots
### gptbot-ip-ranges

OpenAI publishes the IP ranges GPTBot fetches from as a machine-readable file at openai.com/gptbot.json, one of four per-agent range files.

- source: https://developers.openai.com/api/docs/bots (developers.openai.com)
- retrieved: 2026-09-03
- cite: https://attensira.com/bots/gptbot#claim-gptbot-ip-ranges
### openai-searchbot-separate

OpenAI documents OAI-SearchBot, a separate robots.txt token from GPTBot, as the agent used to surface websites in search results in ChatGPT's search features.

- source: https://developers.openai.com/api/docs/bots (developers.openai.com)
- retrieved: 2026-09-03
- cite: https://attensira.com/bots/gptbot#claim-openai-searchbot-separate

> surface websites in search results in ChatGPT's search features
### openai-chatgpt-user

OpenAI documents ChatGPT-User as the agent used for certain user actions in ChatGPT and Custom GPTs, and states that robots.txt rules may not apply to it because the fetch follows a user action.

- source: https://developers.openai.com/api/docs/bots (developers.openai.com)
- retrieved: 2026-09-03
- cite: https://attensira.com/bots/gptbot#claim-openai-chatgpt-user
### rfc9309-groups

RFC 9309 section 2.2.1 states that a crawler obeys the group with a * user agent only when no group matches its own product token. Its rule for combining groups covers several groups that match the same token.

- source: https://www.rfc-editor.org/rfc/rfc9309.html (www.rfc-editor.org)
- retrieved: 2026-10-04
- cite: https://attensira.com/bots/gptbot#claim-rfc9309-groups

> If no matching group exists, crawlers MUST obey the group with a user-agent line with the "*" value, if present.
