Skip to content

News

Google clarifies robots.txt rules for AI crawlers, content usage

Google's Gary Illyes and Cherry Prommawin clarified robots.txt rules, emphasizing parser limitations, user-agent requirements, and AI crawler access.

Image: Abondance

Google clarified the fundamental rules governing robots.txt files on April 30, particularly regarding how AI crawlers interpret directives and the scope of content usage permissions for webmasters.

The clarification addresses common misconceptions among webmasters and AI developers about controlling AI model access and data utilization through the standard protocol.

Google’s robots.txt parser recognizes only four core directives: user-agent, allow, disallow, and sitemap, with all other lines silently ignored, according to Google’s Gary Illyes and Cherry Prommawin.

User-agent tokens, which identify specific crawlers, must not contain emojis or non-Latin characters, while non-ASCII characters within URL paths should be percent-encoded for proper interpretation, Illyes and Prommawin stated.

The robots.txt file solely governs whether a crawler can access a specific web page, not how any collected content is subsequently used by AI models or other applications, Google emphasized.

To effectively block an AI crawler, webmasters must target its exact user-agent token within the robots.txt file; custom rules attempting to dictate content usage are ineffective, the company said.

Googlebot, the search giant’s primary web crawler, processes only the initial 500 KB of a robots.txt file.

Excessive comments or decorative ASCII art within the file can push legitimate directives beyond this size limit, potentially rendering them unparsed and ineffective, Google reported.

The Internet Engineering Task Force (IETF) has standardized the robots.txt protocol, which dictates how web robots should interact with websites.

Google’s statements underscore the protocol’s narrow scope, focusing strictly on access control rather than broader content licensing or usage terms for AI applications.


Need links for your own site?

Guest posts from $59, link insertions from $45, or a managed plan from $269/mo.