The short answer
Allow the search and answer bots (OAI-SearchBot, Claude-SearchBot, PerplexityBot, Googlebot, Bingbot) and the fetchers that visit when a shopper asks about your page. Training bots like GPTBot and ClaudeBot are your choice: blocking them doesn't remove you from AI search. Then check that your CDN or firewall isn't silently blocking AI bots, and that your product facts are in the HTML.
Key takeaways
- AI companies run separate bots for search, for user requests and for training. Treat each kind separately.
- Blocking GPTBot or ClaudeBot stops training, not search. Blocking OAI-SearchBot or Claude-SearchBot can drop you from answers.
- Never block Googlebot or Bingbot. They feed Google's AI Overviews, AI Mode and Bing.
- A CDN or firewall can turn AI bots away even when robots.txt lets them in. Test it.
- AI crawlers don't run JavaScript, so price, stock and specs must be in the page's HTML.
You want ChatGPT to recommend your store. You've also heard that AI companies take content without asking. So which bots do you let in? The answer isn't all or nothing. Each AI company runs different bots for different jobs, and blocking the wrong one can quietly take you out of AI answers.
robots.txt is a small text file at yourstore.com/robots.txt that tells bots which parts of your site they may visit. Well-behaved crawlers read it before they crawl. It's a request, not a lock: some bots skip it, and it can't stop your own firewall from blocking a bot you wanted.
What are the three kinds of AI bots?
- Search and answer bots build the index an AI searches when it answers a question. Block them and the AI can't find or cite your pages.
- User-triggered fetchers open a page because a person asked the AI about it, right now. Because a human asked, these often don't follow robots.txt.
- Training bots collect pages to train future AI models. Blocking them doesn't remove you from AI search.
Which bot does what, company by company?
| Company | Search and answer (allow) | User-triggered | Training (your choice) |
|---|---|---|---|
| OpenAI | OAI-SearchBot | ChatGPT-User | GPTBot |
| Anthropic | Claude-SearchBot | Claude-User | ClaudeBot |
| Perplexity | PerplexityBot | Perplexity-User | None listed |
Googlebot (Search, AI Overviews, AI Mode) | Google-Agent | Google-Extended (a control token, not a bot) | |
| Microsoft | Bingbot (feeds Bing) | None listed | None listed |
| Apple | Applebot (Siri, Spotlight, Safari) | None listed | Applebot-Extended (a control token, not a bot) |
| Meta | Meta-WebIndexer | Meta-ExternalFetcher | Meta-ExternalAgent |
| ByteDance | None documented | None documented | Bytespider |
xAI (Grok) and DeepSeek don't publish crawler documentation, so there's no reliable name to allow or block. The official pages for the rest: OpenAI, Anthropic, Perplexity, Google crawlers, Google user-triggered fetchers, Meta and Apple.
Is blocking training the same as blocking search?
No, and this is where many stores go wrong. The bots are separate, so the choices are separate:
- OpenAI says GPTBot and OAI-SearchBot are independent. Disallowing GPTBot means your content shouldn't be used for training. ChatGPT search can still show you while OAI-SearchBot is allowed.
- Anthropic says blocking Claude-SearchBot may reduce your visibility in Claude's search results, while blocking ClaudeBot keeps your future pages out of training.
- Google says Google-Extended doesn't affect your inclusion or ranking in Google Search. It does control whether Gemini may use your pages for training and for grounding its answers, so blocking it can cost you in Gemini.
- Apple says pages that disallow Applebot-Extended can still appear in its search results.
Should you allow training? It's a business choice. Some owners allow it because what an AI “knows” about a brand without searching comes from its training data. Others block it to protect their photos and copy. Both are reasonable. What isn't reasonable is blocking the search bots by accident while trying to block training.
What robots.txt should an online store use?
Here's a starting point for a store that wants AI search visibility and prefers to opt out of training. Change the training group if you decide otherwise, use your platform's own cart and checkout paths, and put in your own domain.
# AI search and answer bots, plus fetchers a shopper triggers.
# Allow them so AI assistants can find, read and cite your products.
User-agent: OAI-SearchBot
User-agent: ChatGPT-User
User-agent: Claude-SearchBot
User-agent: Claude-User
User-agent: PerplexityBot
User-agent: Perplexity-User
User-agent: Meta-WebIndexer
User-agent: Meta-ExternalFetcher
Disallow: /cart
Disallow: /checkout
Disallow: /account
Allow: /
# Training bots: your choice. Delete this group to allow training.
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Applebot-Extended
User-agent: Meta-ExternalAgent
User-agent: Bytespider
Disallow: /
# Everyone else, including Googlebot and Bingbot. Never block these.
User-agent: *
Disallow: /cart
Disallow: /checkout
Disallow: /account
Sitemap: https://yourstore.com/sitemap.xmlA few notes on how it works:
- A bot follows only the group that names it most closely, so each named group repeats the cart and checkout rules.
- Googlebot and Bingbot aren't named, so they follow the last group. Never block them: they feed Google's AI Overviews, AI Mode and Bing.
- Google-Extended is left out of the training group on purpose, because it also controls Gemini's grounding. Add it only if you accept that trade-off.
- Changes aren't instant. OpenAI says search can take about 24 hours to adjust, and Meta says its crawlers may cache the file for up to 24 hours.
- On Shopify, you edit robots.txt through a
robots.txt.liquidtheme template. Shopify warns that the template replaces its generated file, so save a copy of your current/robots.txtfirst and keep Shopify's default rules (Shopify docs). On Salla and Zid, open/robots.txton your domain to see what your platform publishes for you.
Is your CDN or firewall blocking AI bots?
robots.txt is only half the story. If your store sits behind a CDN (a network that serves your pages quickly around the world) or a WAF (a web application firewall that filters bad traffic), these can turn AI bots away before they ever read robots.txt. Your file says welcome, and the door is locked.
Since July 2025, Cloudflare blocks AI crawlers by default and asks every new domain whether to allow them. Vercel offers a firewall rule to block AI bots. And Perplexity warns that sites behind a WAF may need to allow its bots explicitly. One setting, clicked once by whoever set up your domain, can hide your store from every AI.
How to test it
Read your robots.txt
Open
yourstore.com/robots.txtand check that no group disallows OAI-SearchBot, Claude-SearchBot, PerplexityBot, Googlebot or Bingbot. The free store check does this for you.Check your CDN and firewall settings
In Cloudflare or your firewall, look for the AI crawler and bot settings, and see which bots are blocked or challenged. If you can't find them, ask whoever set up your domain.
Read your logs
Filter your CDN or server logs by user agent: OAI-SearchBot, ChatGPT-User, Claude-SearchBot, PerplexityBot. Status 200 means the bot got the page. 403, 429, 503 or a challenge page means it was turned away.
Ask the AI to open a page
Paste one of your product links into ChatGPT, Claude or Perplexity and ask for the price and the delivery time. If it says it can't open the page, something is in the way.
Allow by IP address, not only by name
OpenAI and Perplexity publish the IP ranges their bots use. Firewall rules that check both the bot's name and its IP address let the real bots in and keep fake ones out.
Two quick commands help too. The first only catches rules that block by bot name: a firewall that checks IP addresses will treat your computer as a fake bot, so confirm the result in your logs.
# 1. Does a rule block the bot by name? (200 = page served)
curl -s -o /dev/null -w '%{http_code}\n' -A 'OAI-SearchBot' https://yourstore.com/products/your-product
# 2. Is the price in the HTML a crawler receives, before any JavaScript runs?
curl -s https://yourstore.com/products/your-product | grep -i 'price'Can AI crawlers see your product facts?
Getting the bot in is step one. Step two is making sure it can read what matters.
None
OpenAI's and Anthropic's crawlers do download script files (11.5% and 23.8% of their requests in that study), but they don't run them. Gemini, which uses Googlebot's infrastructure, and Applebot do render pages. So if your price, stock, delivery time or specs appear only after a script runs (a price widget, a delivery-date app, reviews that load later), ChatGPT's and Claude's crawlers see an empty space. The same goes for structured data added by a script: on Salla, app snippets run as JavaScript in the browser, so data added that way is invisible to these bots.
The raw HTML test
Open a product page, right-click and choose View page source (not Inspect). Search the source for your price and your delivery time. If they're there, the bots can read them. If they're missing, they load with JavaScript and need to move into the page itself. The second command above does the same check from a terminal.
Then fix the facts themselves, starting with prices and stock an AI can read, shipping and returns policies and product facts that win.
Rizecart's free check reads your robots.txt against the bots ChatGPT, Claude, Perplexity and Google use, and looks at your product pages without JavaScript, the way these crawlers see them. While you're at it: an llms.txt file is optional, robots.txt is not. When you're ready to see the questions you're losing to other stores, compare the plans or read how to get recommended by ChatGPT.
Questions
Should I block GPTBot?
Will blocking AI training bots hurt my Google ranking?
Why can't ChatGPT open my product page when robots.txt allows it?
Do AI bots obey robots.txt?
How do I edit robots.txt on Shopify?
Sources
- OpenAI: Overview of OpenAI crawlers
- Anthropic Help Center: Anthropic's web crawlers
- Perplexity: Perplexity crawlers
- Google Search Central: Google's common crawlers
- Google Search Central: User-triggered fetchers
- Meta for Developers: Meta web crawlers
- Apple Support: About Applebot
- OpenAI Help Center: Shopping with ChatGPT search
- Cloudflare press release: AI crawlers blocked by default (1 July 2025)
- Vercel and MERJ: The rise of the AI crawler
- Shopify developer docs: robots.txt.liquid


