What is robots.txt?

robots.txt is a file at a site’s root that tells automated crawlers which paths they may request. It is advisory rather than enforced, applies per user-agent, and is the file that determines whether AI crawlers such as GPTBot, ClaudeBot and PerplexityBot are permitted to read a site at all.

Category
Search, AEO & AI Visibility
Also called
Robots exclusion protocol

The most common self-inflicted AI-visibility problem lives here: a robots.txt copied from another project, or a blanket disallow added during development, that quietly blocks the crawlers behind the answer engines. A site cannot be cited by a system that was never allowed to read it.

Blocking is a legitimate choice — some publishers deliberately exclude AI training crawlers — but it should be a decision rather than an accident, and it is worth distinguishing the crawlers used for training from those used to fetch pages at answer time.

Common questions.

Should we block AI crawlers in robots.txt?

Only as a deliberate decision. Blocking crawlers such as GPTBot, ClaudeBot and PerplexityBot means the systems behind those answer engines cannot read the site, and a system that never read your pages will not cite them. Some publishers block training crawlers while allowing the ones that fetch pages at answer time. The common problem is a blanket disallow left over from development.

Does robots.txt keep a page out of search results?

Not reliably. robots.txt controls crawling rather than indexing, and it is advisory: well-behaved crawlers follow it and others may not. A blocked URL can still be listed if other pages link to it. To keep a page out of results, use a noindex directive or password protection, and leave the page crawlable so the directive can be read.

How do we check what our robots.txt allows?

Open yoursite.com/robots.txt in a browser and read it: each block names a user-agent and the paths it may or may not request. Look for a blanket "Disallow: /", which blocks everything, and for any rules naming AI crawlers. If a rule is there, confirm someone chose it rather than inheriting it from another project.

  • llms.txt

    llms.txt is a proposed plain-text file at a site’s root that offers language models a curated map of its most useful pages, in Markdown, without navigation and boilerplate.

    Search, AEO & AI Visibility
  • Generative Engine Optimization (GEO)

    Generative engine optimization is the practice of increasing how often a brand or page is used as a source by generative AI systems.

    Search, AEO & AI Visibility
  • XML Sitemap

    An XML sitemap is a machine-readable list of the URLs a site wants crawled, usually with a last-modified date for each.

    Search, AEO & AI Visibility

Scoping a project?

Reading definitions because you are scoping a project? Skip ahead and just ask.