Check a shop

Guides

Shopify robots.txt for AI search: what to add

Shopify writes a sensible robots.txt for every store, and you can change it with a robots.txt.liquid template. Most stores don't need to; check first, because themes, apps and Cloudflare can each add rules.

Edit it

Lines that let AI search and answer agents in

User-agent: OAI-SearchBot
Allow: /

User-agent: ChatGPT-User
Allow: /

User-agent: Claude-SearchBot
Allow: /

User-agent: Claude-User
Allow: /

User-agent: PerplexityBot
Allow: /

A crawler follows the most specific group that names it, so a group for OAI-SearchBot overrides a general “User-agent: *” rule for that crawler. Shopify's default rules keep checkout and cart pages out; leave them.

Our free check writes these lines for your store's actual rules, so you only add what's missing.

Check your shop free. It takes about 20 seconds and tells you exactly what’s blocked and the lines that fix it.

Check my shop

Sources