Skip to content
AI training crawlers

GPTBot: OpenAI's training crawler

Short answer

GPTBot is OpenAI's training crawler. It crawls content that may be used to train OpenAI generative AI models. According to OpenAI's documentation, GPTBot follows robots.txt rules.

At a glance

User-agent token
GPTBot
Operator
OpenAI
Respects robots.txt
Yes
User-agent string
User-Agent
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; GPTBot/1.4; +https://openai.com/gptbot

robots.txt rules for GPTBot

Rules apply per user-agent group. Put the group in the robots.txt file at the root of your site.

Block GPTBot
# Block GPTBot
User-agent: GPTBot
Disallow: /

Allow GPTBot
# Allow GPTBot
User-agent: GPTBot
Allow: /

Block training, keep OAI-SearchBot

Each token has its own group, so blocking GPTBot leaves OAI-SearchBot allowed.

robots.txt
# Keep OpenAI search
User-agent: OAI-SearchBot
Allow: /

# Block OpenAI training
User-agent: GPTBot
Disallow: /

Test your robots.txt against every AI bot

Frequently asked questions

What is GPTBot?

GPTBot is OpenAI's training crawler. It crawls content that may be used to train OpenAI generative AI models.

What is the GPTBot user agent string?

OpenAI documents this user agent string for GPTBot: "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; GPTBot/1.4; +https://openai.com/gptbot". To find it in your logs, match the token "GPTBot" rather than the whole string, since version numbers can change. Any client can send this string, so check the request IP against the list OpenAI publishes at https://openai.com/gptbot.json.

Does GPTBot respect robots.txt?

Yes. According to OpenAI's documentation, GPTBot follows robots.txt rules.

How do I block GPTBot?

Add a group to your robots.txt with the line "User-agent: GPTBot" followed by "Disallow: /".

All AI crawlers

GPTBot: OpenAI's training crawler | robots.txt rules