GPTBot (OpenAI)

Model training · Current version 1.4

What it is

GPTBot is the crawler OpenAI uses to collect content that may be used to train its generative AI foundation models. Disallowing it in robots.txt tells OpenAI that your content should not be used for that training. It does not control ChatGPT search, which relies on OAI-SearchBot.

Official documentation: developers.openai.com · checked 13 Nov 2026

GPTBot user agent

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

Official documentation: developers.openai.com/api/docs/bots · checked 13 Nov 2026

Block or allow GPTBot in robots.txt

Put these lines at the top of the robots.txt file in your site’s root (example.com/robots.txt). Each subdomain needs its own file.

Block GPTBot from the whole site
User-agent: GPTBot
Disallow: /
Allow GPTBot
User-agent: GPTBot
Allow: /
# repeat here the Disallow lines of your User-agent: * group

If GPTBot is not named in robots.txt, it already follows your User-agent: * rules, so you don’t need anything. A group of its own replaces the * group for this bot entirely: if you add one, repeat your general Disallow lines in it.

GPTBot IP ranges

openai.com/gptbot.json

Official list: 18 ranges · published by the owner 22 Sept 2026 · we checked it 13 Nov 2026

Check an IP from your logs

Show all 18
  • 4.227.36.0/25
  • 20.125.66.80/28
  • 20.171.206.0/24
  • 20.171.207.0/24
  • 52.230.152.0/24
  • 74.7.175.128/25
  • 74.7.227.0/25
  • 74.7.227.128/25
  • 74.7.228.0/25
  • 74.7.230.0/25
  • 74.7.241.0/25
  • 74.7.241.128/25
  • 74.7.242.0/25
  • 74.7.243.128/25
  • 74.7.244.0/25
  • 132.196.86.0/24
  • 172.182.202.0/25
  • 172.182.207.0/25

Does it respect robots.txt and Crawl-delay?

robots.txt: yes, GPTBot follows it according to its owner.

“Disallowing GPTBot indicates a site’s content should not be used in training generative AI foundation models.” — OpenAI documentation

Crawl-delay: the owner’s documentation does not mention it for GPTBot, so don’t rely on it.

Should you block GPTBot?

It is a legitimate choice. Blocking GPTBot opts your content out of this kind of use, and search and AI answers that rely on other bots are not affected. If you want your content used by AI models, leave it open.

Check your site

See whether your robots.txt and firewall let GPTBot in — together with every other AI bot in this directory. Free, no sign-up.

Other OpenAI bots

Questions

What is the GPTBot user agent string?+

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

How do I block GPTBot in robots.txt?+

Add a group for it to robots.txt in your site’s root: “User-agent: GPTBot” followed by “Disallow: /”.

What IP addresses does GPTBot use?+

OpenAI publishes 18 ranges at https://openai.com/gptbot.json. Requests that call themselves GPTBot from other addresses are most likely fake.

Does GPTBot respect robots.txt?+

robots.txt: yes, GPTBot follows it according to its owner.

← All AI bots