robots.txt for AI
Also called AI robots.txt rules
What is robots.txt for AI?
robots.txt for AI means using the robots.txt file at your site's root to decide which AI crawlers may read your pages, by naming their user agents.
Updated 1 Dec 2026
Each rule group starts with "User-agent:" followed by a bot name, then "Allow:" or "Disallow:" lines. A crawler follows the most specific group that matches its name, and falls back to the "*" group otherwise.
A common accident: a blanket "User-agent: *" with "Disallow: /" left over from a staging site, which blocks every AI crawler at once. Firewall and bot-protection settings can also block AI crawlers even when robots.txt allows them.
Related terms
See what AI says about your site.
Free audit in under a minute, no signup. Tracking is $9 a month at the founding price.