# Do AI crawlers respect robots.txt?

Canonical HTML page: https://brainjuicelabs.xyz/library/explainers/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?](https://brainjuicelabs.xyz/library/explainers/llms-txt-vs-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.

Table: What OpenAI, Google and Perplexity say about some of their crawlers

| Operator | User agent or token | What the operator says |
| --- | --- | --- |
| OpenAI | GPTBot | Disallowing it tells OpenAI the site's content should not be used to train its generative AI foundation models. |
| OpenAI | OAI-SearchBot | Sites that opt out are not shown in ChatGPT search answers, though they can still appear as navigational links. |
| OpenAI | ChatGPT-User | Acts when a person asks. robots.txt rules may not apply. |
| Google | Common crawlers | Always obey robots.txt rules when crawling automatically. |
| Google | Google-Extended | A 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. |
| Google | User-triggered fetchers | Generally ignore robots.txt, because a user asked for the fetch. |
| Perplexity | PerplexityBot | Surfaces and links sites in Perplexity search results. Not used to crawl content for AI foundation models. |
| Perplexity | Perplexity-User | Supports 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?](https://brainjuicelabs.xyz/library/explainers/should-you-block-gptbot)

## 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.

## CiteSurge AI Readiness Check

Figure: A score dial for the AI Readiness Check. The ring fills as a website's score counts up out of 100, and the letter grade changes as the score crosses each grade band.

It reads your published robots.txt rules and checks whether answer-engine crawlers, and agents acting on a person's request, may reach your key pages.

Free. No email.

[Check your AI crawler access with the free AI Readiness Check](https://citesurge.com/score)

## 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.

## Related terms

- [AI crawler](https://brainjuicelabs.xyz/library/glossary#ai-crawler): An AI crawler is an automated program that fetches web pages for an AI company, to collect training data, to build an index for AI search answers, or to read a page a user asked an assistant about.
- [robots.txt](https://brainjuicelabs.xyz/library/glossary#robots-txt): robots.txt is a plain text file at /robots.txt on a website whose rules tell crawlers, by user agent, which parts of the site they may and may not visit.
- [GPTBot](https://brainjuicelabs.xyz/library/glossary#gptbot): GPTBot is the OpenAI crawler that collects content that may be used to train OpenAI's generative AI foundation models.

## Sources

- [RFC 9309: Robots Exclusion Protocol](https://www.rfc-editor.org/rfc/rfc9309.html): The standard for robots.txt rules.
- [How Google interprets the robots.txt specification](https://developers.google.com/crawling/docs/robots-txt/robots-txt-spec): Google documentation on how its crawlers read robots.txt.
- [Overview of OpenAI Crawlers](https://developers.openai.com/api/docs/bots): OpenAI documentation for GPTBot, OAI-SearchBot and ChatGPT-User.
- [List of Google's common crawlers](https://developers.google.com/crawling/docs/crawlers-fetchers/google-common-crawlers): Google documentation, including the Google-Extended token.
- [List of Google user-triggered fetchers](https://developers.google.com/crawling/docs/crawlers-fetchers/google-user-triggered-fetchers): Google documentation for fetchers that act on a user's request.
- [Perplexity Crawlers](https://docs.perplexity.ai/guides/bots): Perplexity documentation for PerplexityBot and Perplexity-User.
- [How the readiness check works](https://citesurge.com/score/methodology): CiteSurge's method for the AI Readiness Check, including what it does not measure.

## More explainers

- [What is the difference between a mention and a citation in an AI answer?](https://brainjuicelabs.xyz/library/explainers/mention-vs-citation)
- [How do AI answers choose their sources?](https://brainjuicelabs.xyz/library/explainers/how-ai-answers-choose-sources)
- [Is letting AI crawlers in enough to get cited?](https://brainjuicelabs.xyz/library/explainers/ai-crawler-access-and-quotability)
- [Is llms.txt worth adding to your site?](https://brainjuicelabs.xyz/library/explainers/is-llms-txt-worth-it)
- [Should you block GPTBot and other AI crawlers?](https://brainjuicelabs.xyz/library/explainers/should-you-block-gptbot)
- [What is the difference between AI readiness and AI visibility?](https://brainjuicelabs.xyz/library/explainers/ai-readiness-vs-ai-visibility)
- [How is llms.txt different from robots.txt?](https://brainjuicelabs.xyz/library/explainers/llms-txt-vs-robots-txt)
