robots.txt for AI crawlers: which bots to allow so AI assistants can cite you

Updated 24 November 2026

Short answer: if you want ChatGPT, Perplexity, Claude, Siri and Google AI answers to mention and link your business, allow their search and user-request crawlers. You can still block the training crawlers if you prefer; that does not remove you from AI search answers.

Answer and search crawlers (allow these)

Training crawlers (your choice)

Blocking these is a legitimate choice. A common mistake is a blanket User-agent: * / Disallow: / rule, or a security plugin that blocks "all bots", which also locks out the answer crawlers above.

Copy-paste robots.txt block

User-agent: OAI-SearchBot
Allow: /

User-agent: ChatGPT-User
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: Claude-SearchBot
Allow: /

User-agent: Applebot
Allow: /

User-agent: Bingbot
Allow: /

# Optional: opt out of model training
User-agent: GPTBot
Disallow: /

Sitemap: https://yourdomain.com/sitemap.xml

robots.txt is not the only lock

Our free check tests all of these on your homepage.

Check your own site in 20 seconds

Free, no signup: crawler access, business schema, phone consistency and FAQ content, with copy-paste fixes.

Run the free check