Bot directory · AI training
GPTBot
Crawls web content that may be used to train OpenAI's generative AI foundation models.
At a glance
- Operator
- OpenAI
- Purpose
- AI training
- robots.txt token
GPTBot- Obeys robots.txt
- YesOpenAI says disallowing GPTBot signals that a site's content should not be used to train its foundation models.
- Published IP ranges
- openai.com/gptbot.json
User agent
As OpenAI documents it. Version numbers can change.
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; GPTBot/1.4; +https://openai.com/gptbot Block or allow GPTBot in robots.txt
To keep GPTBot off the whole site:
User-agent: GPTBot
Disallow: / To keep it out of one folder and allow the rest:
User-agent: GPTBot
Disallow: /private/
A group for GPTBot replaces your User-agent: * rules for this bot,
so repeat any general rules you still want it to follow. Check the result with the robots.txt checker.
How to verify GPTBot
OpenAI publishes the IP addresses GPTBot uses. A request is genuine if it comes from one of them.
Paste an IP from your logs into the bot IP verifier to check it.
Good to know
OpenAI calls the string an example whose version number may change. When fetching robots.txt it may add a robots.txt marker to the user agent. If a site allows both GPTBot and OAI-SearchBot, OpenAI may use one crawl for both purposes. The bots page moved from platform.openai.com/docs/bots to developers.openai.com/api/docs/bots.
Questions
What is GPTBot?
GPTBot is OpenAI’s ai training crawler. Crawls web content that may be used to train OpenAI's generative AI foundation models.
How do I block GPTBot?
Add “User-agent: GPTBot” followed by “Disallow: /” to your robots.txt. OpenAI says GPTBot follows robots.txt.
How do I know a request really comes from GPTBot?
OpenAI publishes the IP addresses GPTBot uses. A request is genuine if it comes from one of them.