> AI agents: this is one page of nextanalytica's docs. The full index for agents: https://nextanalytica.app/llms.txt

# GPTBot

> GPTBot is OpenAI's training crawler. Its user agent, how it differs from OAI-SearchBot and ChatGPT-User, how to block it, and how to see it on your site.

Updated: 2026-11-29

GPTBot is OpenAI's web crawler for training: it collects pages that may be used to train OpenAI's generative AI models. It's one of three OpenAI bots, and the only one for training. Blocking it in robots.txt keeps your pages out of future training without taking you out of ChatGPT search, which `OAI-SearchBot` handles.

We checked OpenAI's [bots page](https://developers.openai.com/api/docs/bots) on November 29, 2026.

## What does GPTBot's user agent look like?

OpenAI gives this example; the version number changes:

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

Its requests come from the addresses OpenAI publishes at `https://openai.com/gptbot.json`. A request that says GPTBot from any other address isn't OpenAI.

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

| Bot | What it's for | robots.txt |
| --- | --- | --- |
| `GPTBot` | Training OpenAI's models | Follows it |
| `OAI-SearchBot` | Showing your site in ChatGPT's search results | Follows it |
| `ChatGPT-User` | Opening a page because a person asked ChatGPT | May not apply |

Each setting is independent of the others, so you can block GPTBot and still allow OAI-SearchBot. When both are allowed, OpenAI says it may use one crawl for both. See [OAI-SearchBot](/docs/tracking/bots/oai-searchbot) and [ChatGPT-User](/docs/tracking/bots/chatgpt-user).

## How do you block GPTBot?

Add this to your robots.txt:

```text
User-agent: GPTBot
Disallow: /
```

That stops GPTBot from crawling your site. To stay in ChatGPT search, leave `OAI-SearchBot` allowed.

## Should you block GPTBot?

GPTBot never sends you a visitor: it reads for training, not for an answer someone is waiting for. Blocking it costs you no traffic today. Allowing it means your pages may shape what future models know about your field and your product. Look at what it reads before you decide.

## How do you see it on your site?

No bot runs your analytics tag, so Google Analytics 4 and other tag-based tools never show it. nextanalytica counts it from your server: a small sender on a Cloudflare Worker, Next.js middleware or the WordPress plugin passes one hit for each request from an AI crawler, after your site has answered, and nothing about people. Your agent then reads which bots came, which pages they read and whether each hit is real, and can add the sender for you. See [AI crawlers](/docs/tracking/ai-crawlers).

This command adds nextanalytica to Claude Code:

```bash
claude mcp add --transport http nextanalytica https://mcp.nextanalytica.app/mcp
```

## Next steps

- [AI crawlers list](/docs/tracking/ai-crawlers-list)
- [OAI-SearchBot](/docs/tracking/bots/oai-searchbot)
- [ChatGPT-User](/docs/tracking/bots/chatgpt-user)

Canonical address: https://nextanalytica.app/docs/tracking/bots/gptbot
