Sign inGet started
Tracking

GPTBot

View as MarkdownOpen in ChatGPTOpen in Claude
Connect your agent
Add to CursorAdd to VS Code

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

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 on November 29, 2026.

What does GPTBot's user agent look like?

OpenAI gives this example; the version number changes:

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?

BotWhat it's forrobots.txt
GPTBotTraining OpenAI's modelsFollows it
OAI-SearchBotShowing your site in ChatGPT's search resultsFollows it
ChatGPT-UserOpening a page because a person asked ChatGPTMay 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 and ChatGPT-User.

How do you block GPTBot?

Add this to your robots.txt:

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.

This command adds nextanalytica to Claude Code:

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

Next steps

Related
  • What the tag collects: Page views, clicks, forms, scroll, errors and page speed, counted without code. What never leaves the page.
  • Add the tag: Put one script line in the head of every page. Where it goes in plain HTML, site builders and each framework.
  • Next.js analytics: Add analytics to Next.js with @nextanalytica/tag: install, events, consent and AI crawlers, counted without cookies until a yes and read by your agent.
  • Next.js custom events: Send custom events from a Next.js app with @nextanalytica/tag: sign-ups, demo requests and conversions your agent reads by channel.
  • Next.js cookie consent: Wire a cookie banner in Next.js to analytics: count without cookies until the answer, and pass the saved answer on every page.
  • Next.js revenue tracking: Record orders in a Next.js app, from the browser or from your server, so revenue ties to the visit, channel and campaign it came from.
Still have questions?
Was this page useful?