AI Crawler Access: Control robots.txt, AI Bots, llms.txt, and AI Search Visibility

AI crawler access (AI web infrastructure) is the stack of domain-level files (robots.txt and llms.txt), HTTP WAF rules, structured data, and DNS verification controls that govern how AI training crawlers, AI search indexers, and user-initiated agents access and cite your website. Modern bots split into training scrapers and search indexers. The 6 layers control access, context, and verification.

How the 6 Layers of AI Web Infrastructure Fit Together

AI companies operate three distinct classes of automated web clients: foundation model training crawlers (GPTBot, ClaudeBot, CCBot), AI search citation indexers (OAI-SearchBot, PerplexityBot), and user-triggered live fetchers (ChatGPT-User). Managing which bots access your server and how language models interpret your pages requires coordinating 6 technical layers across your domain. The table below compares all 6 layers of AI web infrastructure by file or protocol location, core job, enforcement mechanism, and primary AI consumer.

Infrastructure Layer File or Protocol Location What It Controls Enforcement Type Primary AI Consumer
1. Crawler Access Policy /robots.txt & X-Robots-Tag Declares per-bot Allow and Disallow path rules (GPTBot vs OAI-SearchBot). Voluntary (RFC 9309); honored by reputable operators. Search crawlers (Googlebot), AI search bots, and compliant training bots.
2. Edge WAF & Bot Verification CDN Firewall, CIDR IPs, & PTR DNS Enforces HTTP 403 blocks on non-compliant scrapers and verifies bot authenticity via Reverse DNS (FCrDNS). Hard network/edge enforcement (HTTP 403 / Challenge). Aggressive scrapers (Bytespider) and spoofed User-Agent bots.
3. Curated Markdown Context /llms.txt & /llms-full.txt Provides a clean, token-efficient Markdown map of your core documentation and pages. Informational context aid (never blocks crawlers). AI coding assistants (Cursor, Claude), RAG pipelines, and live prompt fetchers.
4. Autonomous Agent Rules /agents.txt Defines machine-readable boundaries, rate limits, and API endpoints for task-executing AI agents. Emerging specification for agentic workflows. Browser-operating AI agents and automated task runners.
5. Entity & Passage Semantics Schema.org JSON-LD & SSR HTML Supplies Server-Side Rendered HTML, structured summaries, native tables, and JSON-LD structured data (sameAs). Retrieval & extraction optimization (RAG). ChatGPT Search, Google AI Overviews, Perplexity, and Copilot.
6. Cryptographic Domain Trust HTTPS (TLS 1.3), DNSSEC, & CAA Certifies domain origin integrity (AD=1) and encrypted transport so AI fetchers trust the source. Cryptographic protocol verification. Validating resolvers, headless browser fetchers, and security auditors.

Explore the guides in three sections: Section 1 covers our 10 implementation guides (robots.txt, llms.txt, GEO, and allow/block strategies), Section 2 provides the complete 14-page AI Crawler & Bot Profiles (with exact robots.txt snippets and IP/PTR verification methods for every bot), and Section 3 links to our 8 free AI audit tools.

1. AI Crawler Control, llms.txt, and Generative Engine Optimization (GEO) Guides (10 Guides)

Ten guides explain how to configure /robots.txt and /llms.txt, separate AI model training scrapers from AI search indexers, structure pages for Retrieval-Augmented Generation (RAG) citations, and audit your domain's machine readability. Select a guide below:

Guide

robots.txt: Complete Guide & Examples

Master RFC 9309 directives (User-agent, Disallow, Allow, Sitemap), * and $ wildcards, HTTP status rules, and AI split templates.

Guide

llms.txt: What It Is & Markdown Format

Understand the llmstxt.org specification (# H1, > Summary, ## Optional), /llms-full.txt, .md mirrors, and 2026 adoption.

Guide

llms.txt Syntax and Format Rules

Detailed formatting rules, link description grammar, token budgeting, and common validation errors for llms.txt files.

Guide

Generative Engine Optimization (GEO)

How RAG retrieval works, the Princeton KDD 2024 9-method benchmark, SSR HTML requirements, and third-party corroboration.

Guide

AI Readiness: Is Your Domain Machine-Readable?

How HTTPS, DNSSEC, robots.txt, llms.txt, agents.txt, Schema.org JSON-LD, and security headers combine into one readiness score.

Guide

The Complete List of AI Crawlers & Bots

Reference table of every active AI crawler user-agent token classified by operator, job (training vs search), and IP verification.

Guide

How to Allow AI Crawlers for Visibility

Explicitly allow OAI-SearchBot, PerplexityBot, and ClaudeBot in robots.txt and Cloudflare WAF so AI engines cite your site.

Guide

How to Block AI Crawlers (robots.txt & WAF)

Copy-paste robots.txt templates, NGINX map 403 blocks, Apache .htaccess rules, Cloudflare WAF expressions, and X-Robots-Tag headers.

Guide

Does Blocking AI Crawlers Hurt Google SEO?

Why blocking GPTBot, ClaudeBot, and Google-Extended has zero impact on Googlebot rankings while blocking OAI-SearchBot drops AI citations.

Guide

How ChatGPT Search Fetches the Web

Understand how OAI-SearchBot indexing and live ChatGPT-User fetches retrieve, parse, and cite web pages.

2. Individual AI Crawler and Bot Profiles (14 Bots Compared)

Fourteen bot guides cover the exact User-Agent strings, operator companies, purpose classifications (Model Training vs AI Search Indexing vs Control Token), official published IP CIDR JSON lists, Reverse DNS (PTR) suffixes, and copy-paste robots.txt rules for each major AI bot. Open a bot profile below:

AI Bot

GPTBot (OpenAI Training Crawler)

User-agent token, openai.com/gptbot.json IP CIDR verification, and robots.txt rules to opt out of GPT model training.

AI Bot

OAI-SearchBot (ChatGPT Search)

OpenAI's dedicated search indexing crawler that powers clickable link citations inside ChatGPT Search answers.

AI Bot

ClaudeBot (Anthropic Crawler)

Anthropic's web crawler user-agent, crawl-rate controls, IP verification, and robots.txt allow/disallow syntax.

AI Bot

PerplexityBot (Perplexity AI)

How Perplexity's search indexer discovers pages, published IP ranges, and why blocking it removes Perplexity citations.

AI Bot

Google-Extended (Gemini Training Token)

How to opt out of Gemini foundation model training in robots.txt without affecting Googlebot Search rankings.

AI Bot

Applebot-Extended (Apple Intelligence)

Opt out of Apple Intelligence generative training while keeping your website indexed in Siri and Spotlight via Applebot.

AI Bot

Meta-ExternalAgent (Meta AI Crawler)

Meta's crawler for Llama model training and Meta AI assistant grounding, with robots.txt and WAF blocking rules.

AI Bot

CCBot (Common Crawl Bot)

The open web archive crawler used to pre-train dozens of commercial and open-source large language models.

AI Bot

Bytespider (ByteDance / Doubao Bot)

How to block ByteDance's high-volume LLM scraper using both robots.txt and hard Cloudflare WAF / NGINX 403 rules.

AI Bot

Amazonbot (Amazon AI & Search Crawler)

Amazon's web crawler powering Alexa answers, Rufus shopping AI, and AWS Q, with FCrDNS verification steps.

AI Bot

cohere-ai (Cohere LLM Crawler)

User-agent details and robots.txt rules for Cohere's enterprise retrieval and command model crawler.

AI Bot

Diffbot (AI Web Data Extractor)

How Diffbot's machine-vision web crawler extracts structured knowledge-graph entities and how to manage access.

AI Bot

YouBot (You.com AI Search Crawler)

User-agent specifications and robots.txt configuration for You.com's conversational search engine crawler.

Guide

GPTBot vs ClaudeBot Compared

Side-by-side comparison of OpenAI and Anthropic crawler behavior, IP verification transparency, and search vs training split.

3. Free AI Readiness, Crawler, and Schema Audit Tools (8 Tools)

Test which AI bots your /robots.txt file currently allows or blocks, generate a spec-compliant /llms.txt file, validate your Schema.org JSON-LD markup, and analyze real AI bot hits in your server access logs using our 8 free tools below:

Every guide, bot profile, and diagnostic tool in this AI Crawler Access reference guide helps you govern AI crawler access (robots.txt and WAF), publish machine-readable context (llms.txt, agents.txt, and Schema.org), and earn citations in generative AI search (GEO).

Frequently asked questions

What is the difference between AI training crawlers and AI search crawlers?+

AI training crawlers (such as GPTBot, ClaudeBot, CCBot, and the Google-Extended token) scrape web pages to build datasets for training future foundation language models. AI search crawlers (such as OAI-SearchBot and PerplexityBot) index pages so ChatGPT Search and Perplexity display your website with clickable link citations in live answers.

How do I verify if a bot claiming to be GPTBot or Googlebot in my server logs is real or a fake scraper?+

Always verify a crawler's source IP address using two network checks because any scraper easily spoofs the User-Agent HTTP header: either run a Forward-Confirmed Reverse DNS (FCrDNS) check in our Reverse IP Lookup tool (verifying that the IP resolves via PTR to an official hostname like *.openai.com, *.googlebot.com, or *.applebot.apple.com and that the hostname's A record resolves back to the same IP), or match the client IP against the operator's published CIDR JSON IP ranges.

Should I block all AI bots in robots.txt, allow all of them, or use a split policy?+

In practice, for most SaaS, e-commerce, and B2B websites that want referral traffic from AI search engines, we recommend a split robots.txt policy: set Disallow: / for pure training scrapers (GPTBot, ClaudeBot, Google-Extended, Applebot-Extended, CCBot, Bytespider) while explicitly setting Allow: / for AI search indexers (OAI-SearchBot and PerplexityBot). This protects your proprietary content from bulk training scrapes while keeping your brand cited in AI answers.

Do I need both a robots.txt file and an llms.txt file on my domain?+

Yes, in real-world deployments the two files perform completely different jobs: /robots.txt is your access gatekeeper (telling bots which folders they are allowed or forbidden to crawl), whereas /llms.txt is your curated briefing map (giving AI coding assistants and RAG tools a clean Markdown index of your 20 to 40 most important pages so they avoid wasting context tokens parsing raw HTML menus).