Blog

Should I block GPTBot on Shopify? Training vs ChatGPT search

Blocking GPTBot opts your pages out of OpenAI's training without taking your store out of ChatGPT search. The three Shopify switches, and the one rule to add.

By · · 9 min read

The short answer: block GPTBot only if you don't want OpenAI to use your store's pages for training. It won't take you out of ChatGPT search, which finds pages with a different crawler, OAI-SearchBot, and OpenAI treats the two as separate settings.

So the decision is about training, and on Shopify it comes down to one rule in your theme's robots.txt.liquid. The trouble usually starts next to it: a copied snippet that blocks OAI-SearchBot along with GPTBot, or the assumption that robots.txt also controls what Shopify sends to ChatGPT. Below: what each OpenAI crawler does, the three switches that decide how a Shopify store reaches AI assistants, the case for and against blocking GPTBot, and how to add the rule without touching anything else.

GPTBot vs OAI-SearchBot

OpenAI's crawler documentation (read on 27 October 2026) lists the user agents it runs and what each one is for. Three matter to a store:

User agent What OpenAI uses it for What a robots.txt block does
OAI-SearchBot Finding sites to show in ChatGPT search Your pages stop appearing in ChatGPT search answers. OpenAI says they can still show up as navigational links
GPTBot Collecting content that may be used to train OpenAI's foundation models Tells OpenAI your content shouldn't be used for that training
ChatGPT-User Visiting a page when a ChatGPT user's question calls for it Possibly nothing. A person starts these visits, so OpenAI says robots.txt rules may not apply. It also says this agent doesn't decide what appears in search

A fourth, OAI-AdsBot, only visits pages that have been submitted as ChatGPT ads.

OpenAI is direct about the first two: "Each setting is independent of the others." Allowing OAI-SearchBot while disallowing GPTBot is the example OpenAI gives. If you allow both, OpenAI may crawl a page once and use the result for both purposes, to avoid fetching it twice.

Two more details from the same page. ChatGPT search can take about a day to reflect a robots.txt change. And the page doesn't say what happens to content GPTBot collected before you added a block, so don't assume the rule reaches backwards.

The usual way this goes wrong is a "block AI bots" snippet that puts OAI-SearchBot and GPTBot in the same group. Consecutive User-agent: lines share the rules below them, so one Disallow: / blocks both, and a store that meant to opt out of training drops out of ChatGPT search as well. How to check if your store blocks AI crawlers shows how to spot a shared group.

Three different switches

robots.txt is one of two places that decide how a Shopify store reaches AI assistants. The other is your Shopify admin, and the two don't overlap.

Switch Where you set it What it controls Default
Agentic storefronts Admin: Sales channels > Agentic Whether Shopify sends your product data through Shopify Catalog to AI channels such as ChatGPT and Microsoft Copilot On for eligible stores
Search crawlers, such as OAI-SearchBot Theme: robots.txt.liquid Whether an assistant can fetch your pages from the open web and cite them in answers Allowed
Training crawlers, such as GPTBot Theme: robots.txt.liquid Whether your pages may be used to train models Allowed

Other AI companies split their crawlers the same way. The crawler check lists them.

Agentic storefronts is Shopify's own feature, and it doesn't go through robots.txt at all. It's active by default for eligible stores, under a setting called Allow Shopify to manage for me (Shopify's overview, read on 27 October 2026). To take ChatGPT out, turn that setting off, open ChatGPT and turn off Shopify Catalog access (Shopify's steps). Shopify says the data can take up to 7 days to stop flowing. And if you turn Allow Shopify to manage for me back on later, every agentic setting switches back on, direct checkout included (managing agentic storefronts).

Search crawlers decide whether an assistant can read your pages and link to them. For almost every store this is the switch to leave open: block OAI-SearchBot and your pages stop appearing in ChatGPT search answers.

Training crawlers are where the GPTBot question sits. Blocking GPTBot doesn't change the other two switches.

Shopify draws the same line. Its help center says blocking AI crawlers in robots.txt only affects discovery on the open web, and doesn't stop Shopify Catalog from sending product data to the agentic storefronts you've turned on. It works the other way too: with Catalog access off, Shopify says your products can still be found through web crawling and indexing.

So each goal has its own switch:

The steps below only touch robots.txt. The agentic storefronts settings stay where they are.

Should you block GPTBot?

It comes down to whether you mind OpenAI training on your pages. A few points help settle it.

Reasons to block it

Reasons to leave it

Not a reason either way

One limit applies whatever you choose. Shopify notes that robots.txt rules are advisory, and not every crawler is guaranteed to follow them. OpenAI's page describes a GPTBot block as a statement that your content shouldn't be used for training.

The short version: if you'd rather OpenAI didn't train on your pages, block GPTBot. If you don't mind, leaving Shopify's default in place is the low-maintenance choice. Either way, leave OAI-SearchBot alone.

How to block only GPTBot on Shopify

  1. Save a copy of your live robots.txt. Open yourstore.com/robots.txt and save the page. Shopify recommends comparing it with the template's output before you publish.

  2. Open the theme code. Go to Online Store > Themes, then ... > Edit code on your live theme, and look in the templates folder for robots.txt.liquid.

  3. If the template isn't there, create it. Right-click templates, choose New file and name it robots.txt.liquid. Start with the loop over robots.default_groups from Shopify's robots.txt.liquid page, which outputs Shopify's default rules. Without it, the template replaces those rules with only what you type.

  4. If it's already there, keep everything in it. A person, an app or a theme added it for a reason. Read it first: if it already names GPTBot, you may have nothing to add.

  5. Add a group for GPTBot after the loop:

    User-agent: GPTBot
    Disallow: /
    

    Put it below the loop, not inside it, so it's a group of its own. Don't add the User-agent: GPTBot line directly above another group's rules, or GPTBot shares them. And don't add OAI-SearchBot to this group.

  6. Save, then reload yourstore.com/robots.txt. Compare it with your saved copy. The difference should be the GPTBot group at the end. Anything else that changed is worth a look, since the template's output doesn't always match the generated file.

To opt out of other training crawlers at the same time, give each one its own group the same way.

The template belongs to the theme. If you publish a different theme later, copy robots.txt.liquid across, or the new theme serves Shopify's generated file without the GPTBot rule.

Check that OAI-SearchBot is still allowed

Once the file is live, read it one more time:

A store can also be blocked in ways robots.txt doesn't show, such as private mode or noindex tags. The crawler check covers those.

Quick answers

Does blocking GPTBot remove my store from ChatGPT?

No. ChatGPT search finds pages with OAI-SearchBot, and OpenAI treats the two crawlers as separate settings. Shopify's ChatGPT channel doesn't depend on crawling either: it gets product data through Shopify Catalog, which robots.txt doesn't affect.

Does Shopify block GPTBot by default?

No. The robots.txt Shopify generates has two groups, User-agent: * and adsbot-google, and doesn't name GPTBot, so GPTBot follows the same rules as any other crawler. That's how the file read on kith.com, brooklinen.com and tentree.com on 27 October 2026, three stores whose files were identical apart from the store ID. The file also opens with comments that point agents to the store's /agents.md (what Shopify puts in that file).

Not necessarily. Shopify says that with Catalog access off, your products can still be discovered through web crawling and indexing. Whether ChatGPT search can show your pages depends on OAI-SearchBot in robots.txt.

Does blocking GPTBot remove content OpenAI already collected?

OpenAI's crawler page doesn't say. It describes a GPTBot block as telling OpenAI that your content shouldn't be used to train its models, and doesn't address pages crawled before the block.

Setting the training rule without editing theme code

Discoverly for Shopify, an AI visibility app, keeps the two kinds of crawlers apart. Bots that bring shoppers, such as OAI-SearchBot for ChatGPT search, stay open. Bots that only train models, such as GPTBot and Google-Extended, get a switch of their own, and that switch is free.

Discoverly's AI training policy setting with three options: keep Shopify defaults, block known AI training crawlers, or explicitly allow them
The training switch on a Discoverly test store. Blocking adds Disallow rules for GPTBot and the other training crawlers and leaves AI search crawlers alone.

robots.txt changes arrive as drafts. You read each one line by line against your live file, nothing goes live until you press publish, and the original is saved, so the change rolls back in one click. The AI visibility score and audit are free too.

Discoverly's review screen for a robots.txt draft, listing each new Disallow rule in red above two confirmation checkboxes
The draft before it goes live. Each new Disallow line is listed in red, and publishing needs a second box ticked.

Bring your store into the answer.

Install on Shopify 14-day trial, 20 AI credits. The audit stays free.