robots.txt

robots.txt is a plain-text file at a site's root that tells crawlers which paths they may fetch, standardized by the IETF as RFC 9309 in 2022.

Also called Robots Exclusion Protocol, RFC 9309.

The Robots Exclusion Protocol was published as a Standards Track RFC, RFC 9309, in September 2022. The file must sit at /robots.txt as UTF-8 plain text. It holds groups of rules: each starts with one or more User-agent lines naming a crawler, followed by Allow and Disallow lines for URL paths. A crawler with no group of its own follows the * group, if there is one.

The RFC says plainly that these rules are not a form of access authorization. They ask crawlers to behave and do not stop anyone. Crawlers may also read other lines, such as Sitemap, and Content Signals adds a Content-Signal line.

Cloudflare's Is It Agent Ready scanner counts robots.txt as a foundation check and also looks in it for rules that apply to AI crawlers. A wildcard group counts.

In Zine

Zine Site Audit and the agent readiness checker check that /robots.txt is a real robots file with a User-agent group, not an HTML page, and that a group applies to AI crawlers.

Sources

Related terms

  • Content Signals: Content Signals are robots.txt lines that state whether a site's content may be used for search, as AI input, or for AI training.
  • AI crawlers: AI crawlers are the bots AI companies use to fetch web pages: for model training, for search indexes, or to fetch a page a user asked about.
  • Agent readiness score: A number from 0 to 100: the share of scored agent readiness checks a site passes, as Cloudflare's Is It Agent Ready scanner counts them.