Do AI crawlers respect robots.txt?

It depends on the crawler and on who asked for the fetch. robots.txt is a request, not access control. OpenAI, Google and Perplexity document robots.txt controls for their crawlers, and each says that fetches made because a person asked may not follow them. We do not know how often crawlers comply in practice.

Key points.

  • robots.txt rules are a request. The standard, RFC 9309, says they are not a form of access authorization.
  • Google says its common crawlers always obey robots.txt when they crawl automatically.
  • Fetches a person asks for, such as ChatGPT-User, Perplexity-User and Google's user-triggered fetchers, may not follow robots.txt.
  • OpenAI and Perplexity publish their crawlers' IP ranges. Perplexity recommends checking the user agent and the IP address together.

What robots.txt is.

robots.txt is a plain text file at /robots.txt, at the top level of a site. Its rules are grouped by user agent, the name a crawler gives itself, and each group lists the paths that crawler may or may not visit.

The rules are set out in RFC 9309, the Robots Exclusion Protocol, a Proposed Standard. It says crawlers are requested to honor the rules, and that the rules are not a form of access authorization.

The standard also says a crawler should not use a cached copy of robots.txt for more than 24 hours, unless the file cannot be reached. Google says it generally caches the file for up to 24 hours.

How robots.txt differs from llms.txt: How is llms.txt different from robots.txt?

What each operator says.

The table covers some of the crawlers that OpenAI, Google and Perplexity document. Each row restates the operator's own page, listed under Sources.

What OpenAI, Google and Perplexity say about some of their crawlers
OperatorUser agent or tokenWhat the operator says
OpenAIGPTBotDisallowing it tells OpenAI the site's content should not be used to train its generative AI foundation models.
OpenAIOAI-SearchBotSites that opt out are not shown in ChatGPT search answers, though they can still appear as navigational links.
OpenAIChatGPT-UserActs when a person asks. robots.txt rules may not apply.
GoogleCommon crawlersAlways obey robots.txt rules when crawling automatically.
GoogleGoogle-ExtendedA robots.txt token with no user agent of its own. It covers training future Gemini models and grounding in Gemini Apps and in Grounding with Google Search on Vertex AI. It does not affect Google Search.
GoogleUser-triggered fetchersGenerally ignore robots.txt, because a user asked for the fetch.
PerplexityPerplexityBotSurfaces and links sites in Perplexity search results. Not used to crawl content for AI foundation models.
PerplexityPerplexity-UserSupports user actions in Perplexity. Generally ignores robots.txt, because a user requested the fetch.

This list is not complete. It leaves out other operators, and other crawlers these three run.

Which crawler to block, and what each block changes: Should you block GPTBot and other AI crawlers?

Why fetches a person asks for differ.

Some fetches happen because a person asked an assistant to open a page. OpenAI says robots.txt rules may not apply to these user-initiated actions, and that ChatGPT-User is not used to crawl the web automatically.

Perplexity says Perplexity-User generally ignores robots.txt, since a user requested the fetch, and that it is not used for web crawling. Google gives the same reason for its user-triggered fetchers.

Google also says the protocol does not apply to its crawlers that users control, such as feed subscriptions.

When you need more than a request.

RFC 9309 says the protocol is not a substitute for valid content security measures.

OpenAI and Perplexity publish the IP ranges their crawlers use, and Perplexity recommends checking the user agent and the IP address together in firewall rules. Google publishes the IP ranges of its user-triggered fetchers.

A robots.txt change can take about 24 hours to reach OpenAI's search results, and up to 24 hours at Perplexity.

What we do not know yet.

We do not know how often AI crawlers follow robots.txt in practice. None of the sources below measures it. We also do not know whether blocking a crawler changes how often AI answers name or cite a site.