robots.txt
The Robots Exclusion Protocol as standardized in RFC 9309, the robots.txt tokens of AI crawlers, page-level robots directives and the newer usage preference signals.
5 pages
Pages in this section
robots.txt syntax: groups, rules and matching
Reference for the robots.txt file format as standardized in RFC 9309: groups and user-agent lines, allow and disallow rules, the * and $ characters, comments, and the longest-match rule that decides which line applies to a URL.
Type: ReferenceVersionRFC 9309
AI crawler tokens for robots.txt
The robots.txt product tokens that OpenAI, Anthropic, Google, Apple, Perplexity, Common Crawl and Meta document for their crawlers and fetchers, what each operator says the token is for, and what it says about obeying robots.txt.
Type: Reference
Page-level rules: the robots meta tag and X-Robots-Tag
robots.txt decides whether a URL is fetched; the robots meta tag and the X-Robots-Tag header decide what a search engine may do with a page or file once it has been fetched, such as leaving it out of the index or showing no snippet.
Type: Reference
What robots.txt does not do
robots.txt asks crawlers not to fetch URLs. It does not protect content, hide paths, keep URLs out of search results or, for Google, carry noindex and crawl-delay rules. What to use for each of those instead.
Type: Intermediate
Usage preferences beyond allow and disallow
Allow and disallow say whether a URL may be fetched. A newer set of signals says how fetched content may be used, for search, as input to AI answers or for training: operator tokens such as Google-Extended, Cloudflare's Content-Signal line, and the IETF AI Preferences drafts.
Type: Intermediate