Your robots.txt file controls which crawlers can access your site. Here's how to test it for AI bots specifically.
https://yourdomain.com/robots.txtUser-agent: GPTBot
User-agent: Google-Extended
User-agent: ClaudeBot
User-agent: PerplexityBot
User-agent: ChatGPT-User
User-agent: anthropic-ai
Disallow: / — Blocked from all contentAllow: / — Allowed full accessDisallow: /private/ — Blocked only from specific pathsUltraScout's free AI SEO Score automatically:
User-agent directives| Issue | Example | Fix |
|---|---|---|
| Global block | User-agent: * then Disallow: / | Add specific allow for AI bots before global block |
| Missing AI bots | No GPTBot entry | Add User-agent: GPTBot then Allow: / |
| Overly restrictive | Disallow: / for AI | Change to Allow: / |
User-agent: GPTBot
Allow: /
User-agent: Google-Extended
Allow: /
User-agent: ClaudeBot
Allow: /
User-agent: PerplexityBot
Allow: /
User-agent: *
Disallow: /admin/
Disallow: /private/
Check your AI SEO Score — free, instant, no sign-up required
Get My Free AI SEO Score → View Full Audit Report