llms.txt Kit

GPTBot robots.txt Generator & OpenAI Crawler Control

llms.txt
Line 1, Col 1
Valid Spec
0
Est. Tokens
0
Words
Links
0
Sections
llms.txt Sweet Spot (4k max)
0 / 4,000 (0%) Optimal Size
GPT-4o 0.00% / Claude 3.7 0.00% / Gemini 2.5 0.000%

Specification Linter Diagnostics

0 errors · 0 warnings
OpenAI Crawler Guide

How to Configure GPTBot vs. OAI-SearchBot in robots.txt

OpenAI operates three distinct user-agents with completely different purposes. Blocking GPTBot stops OpenAI from ingesting your articles and documentation into future foundation-model training sets, while keeping OAI-SearchBot and ChatGPT-User allowed preserves your site's eligibility for live ChatGPT Search citations and user-triggered browsing.

Recommended Policy: Allow ChatGPT Search, Block Model Training

User-agent: GPTBot
Disallow: /

User-agent: OAI-SearchBot
Allow: /
Disallow: /admin/
Disallow: /api/

User-agent: ChatGPT-User
Allow: /

How to Verify Your GPTBot Rule

Deploy the generated file to https://yourdomain.com/robots.txt and confirm it returns HTTP 200 OK with Content-Type: text/plain. Note that OpenAI caches robots.txt for up to 24 hours, so policy updates typically take effect within one day.

Frequently Asked Questions

GPTBot robots.txt Generator FAQ

Does blocking GPTBot remove my site from ChatGPT Search?

No. GPTBot is dedicated to foundation-model training scrapes. Live ChatGPT Search indexing uses OAI-SearchBot, and user-initiated page fetches use ChatGPT-User.

How long does OpenAI take to respect a new GPTBot Disallow rule?

OpenAI refreshes robots.txt policies approximately every 24 hours. After updating your root robots.txt, allow up to one day for crawl frequency to drop.

Can I block GPTBot only on specific directories like /blog/ or /docs/?

Yes. Replace Disallow: / under User-agent: GPTBot with specific path prefixes such as Disallow: /blog/ or Disallow: /private/ while keeping public landing pages accessible.

AI Crawler Rules & Framework Integration Guides

Explore dedicated robots.txt generators and platform-specific llms.txt deployment templates:

Copied!