01 / TWO DIFFERENT JOBS

robots.txt is an access gate; llms.txt is a Markdown map

Although both files sit in the root directory of your domain, they have completely different purposes, syntax, and industry adoption:

Dimension /robots.txt /llms.txt (and /llms-full.txt)
Standard Status IETF Internet Standard (RFC 9309), honored by major search engines and compliant AI crawlers for decades. Community-proposed convention (llmstxt.org) offering a concise Markdown index of a site’s key pages.
Primary Function Access control & sitemap discovery: Tells specific User-agent tokens which URL paths they may or may not fetch, and where sitemap.xml lives. Context curation: Gives developers, coding assistants, or agents that explicitly fetch /llms.txt a clean Markdown summary of your docs and pages without HTML nav clutter.
Effect on Google AI Overviews Direct & critical: Blocking Googlebot prevents your pages from appearing in Google Search and AI Overviews. None: Google Search relies on normal web crawling and indexing, not llms.txt.
Effect on ChatGPT / Claude / Perplexity Search Direct & critical: Blocking OAI-SearchBot, Claude-SearchBot, or PerplexityBot prevents search citations. Optional convenience: Helpful when a user or coding tool points an LLM at your docs, but does not override a robots.txt block.
02 / SEPARATING SEARCH FROM TRAINING

OAI-SearchBot vs. GPTBot (and how Anthropic, Google, and Apple split theirs)

OpenAI, Anthropic, Google, and Apple all separate the crawler tokens used for live search citations from the tokens used to opt out of foundation model training. Confusing the two is the #1 configuration error we see in technical audits:

Ecosystem Search / Citation Retrieval Token User-Initiated Fetch Token Model Training Control Token
OpenAI (ChatGPT) OAI-SearchBot
Indexes pages for ChatGPT search results & citations.
ChatGPT-User
Fetches pages when a user asks ChatGPT about a URL/topic.
GPTBot
Crawls public web content for potential generative AI training.
Anthropic (Claude) Claude-SearchBot
Navigates web for Claude search grounding.
Claude-User
Fetches pages during active user interactions.
ClaudeBot
Collects web data for model training.
Google (Search & Gemini) Googlebot
Powers both classic Google Search and AI Overviews / AI Mode.
— Google-Extended
robots.txt rule token only (no separate crawler UA).
Perplexity PerplexityBot
Indexes web pages for Perplexity answers.
Perplexity-User
User-triggered page retrieval.
—
Apple Applebot
Siri, Spotlight, and Apple search features.
— Applebot-Extended
robots.txt control token for Apple Intelligence training.
03 / COPY-PASTE CONFIGURATION

Production robots.txt recipe: allow AI search, disallow AI training

If your goal is to be discovered and cited in Google Search, Bing, ChatGPT Search, Claude Search, and Perplexity—while opting out of third-party foundation model training—use explicit per-agent blocks:

PRODUCTION /robots.txt EXAMPLEAllow search & AI citations · Opt out of training
# 1. Allow standard search engines & AI search retrieval bots
User-agent: Googlebot
User-agent: Bingbot
User-agent: OAI-SearchBot
User-agent: ChatGPT-User
User-agent: Claude-SearchBot
User-agent: Claude-User
User-agent: PerplexityBot
User-agent: Perplexity-User
Allow: /

# 2. Opt out of foundation model training crawlers & tokens
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Google-Extended
User-agent: Applebot-Extended
Disallow: /

# 3. Default rule for all other compliant crawlers
User-agent: *
Allow: /
Disallow: /api/

Sitemap: https://yourdomain.com/sitemap.xml
04 / HOW TO WRITE A CLEAN LLMS.TXT

What belongs in /llms.txt (and how Searchbop generates it)

While /llms.txt won’t boost your Google rankings, it takes thirty seconds to serve and is genuinely useful when developers, researchers, or AI coding tools inspect your domain. A clean /llms.txt follows a simple Markdown structure: an H1 with your site/product name, a blockquote summary, and a categorized list of your canonical URLs with their one-line descriptions.

CLEAN /llms.txt STRUCTUREGenerated from live 200 OK indexable pages
# Searchbop

> A local desktop SEO assistant for macOS. Connect Google Search Console, Bing, GitHub, and your own AI API key to audit indexing, check AI visibility, and review SEO changes as pull requests.

## Features & Workflows

- [Understand Your SEO Audit](/features/seo-audit/): Combine live HTML crawl checks with Search Console URL Inspection verdicts.
- [Check AI Visibility Without Guessing](/features/ai-visibility/): Audit 14 search/AI crawler rules and run live web-search probes.
- [Reviewed GitHub SEO Changes](/features/seo-content-workflow/): Draft Markdown articles and metadata fixes as pull requests.
- [Subdomain & Monorepo SEO](/features/subdomain-seo/): Split subdomains from a shared Search Console domain property.

## Technical SEO Guides

- [BYOK SEO: Keys, Models & Costs](/guides/byok-seo/): Local AES-256-GCM key storage and exact network data flows.
- [Crawled, Currently Not Indexed Checklist](/guides/crawled-currently-not-indexed/): Diagnose and fix unindexed pages.
- [Next.js SEO Audit Guide](/guides/nextjs-seo-audit/): App Router canonicals, sitemaps, redirects, and JSON-LD.

In Searchbop, if your site is missing /llms.txt, the visibility report offers a one-click Create llms.txt action (buildLlmsTxt) that compiles your live, indexable 200 OK pages—automatically excluding 404s and noindex routes—using their verified titles and meta descriptions.

05 / PARSER GOTCHAS

Two RFC 9309 robots.txt rules that trip up developers

  1. Specific User-agent groups override User-agent: * completely: If you define a User-agent: OAI-SearchBot group, OAI-SearchBot will only obey the rules inside its specific group and will ignore Disallow: /admin/ rules placed solely under User-agent: *. Repeat any critical path exclusions inside specific bot groups if needed.
  2. Longest path match wins, and Allow breaks ties: When a bot evaluates multiple rules in its group, the rule matching the most characters of the URL path wins. If an Allow rule and a Disallow rule have the exact same path length, Allow wins.

Honest boundaries & official sources

Allowing a bot is permission, not a citation guarantee: Permitting OAI-SearchBot or Googlebot in robots.txt ensures your server does not turn them away, and OpenAI notes it may take roughly 24 hours after updating robots.txt for systems to adjust. Whether an assistant cites your page still depends on relevance, authority, and user query context.

Official documentation: Google Search Central — AI Search Optimization Guide and OpenAI Publishers & Developers FAQ (OAI-SearchBot vs. GPTBot).

Research context & topics covered on this page AI Crawlers · P1

Cluster & intent: ai-crawlers (Informational · P1) · Planned URL: /guides/llms-txt-vs-robots-txt/

Topics addressed: llms.txt, llms.txt vs robots.txt, OAI-SearchBot vs GPTBot, AI crawler access checker, does llms.txt help SEO.

Primary documentation sources: Google AI Optimization Guide, OpenAI SearchBot Documentation.