Glossary · Getting in: access

robots.txt

A file at the root of your site that tells crawlers and agents which pages they may visit. Well-behaved agents follow it; scrapers ignore it. See robots.txt for AI agents.

Why it matters

robots.txt is usually the first thing an agent reads, so one line in it can decide whether AI assistants can visit your site at all. In our study of 255 online stores, robots.txt blocked AI assistants or AI search on only 4%, but it's an easy place for an old rule to block more than anyone intended. Review it with your SEO or content owner whenever your AI policy changes.

Read the guide robots.txt for AI agents: who to allow and who to block The three kinds of AI agent, the robots.txt names each one uses, a sensible default, and the most-specific-group rule that catches most people out. Read it

Every term, A to Z → · Read the glossary in full →

Can AI agents use your site?

Get your free AgentScore in under a minute, with the fixes that matter most.