Avello Labs 856-470-6300

Home / Blog

How to check if your website blocks AI crawlers

If your website tells AI search bots to stay out, tools like ChatGPT and Perplexity have a harder time reading your pages and recommending you. Checking takes a couple of minutes.

A blue tin toy robot, standing in for the AI crawlers that read websites
Photo by Emilipothèse on Unsplash

In short

  • Your robots.txt file tells bots which parts of your site they may visit. It lives at yourbusiness.com/robots.txt.
  • Blocking AI search bots can keep you out of AI answers. Blocking AI training bots is a fair choice, and it doesn't keep you out of AI search.
  • Hosting and security settings can also block bots, and those don't show up in robots.txt.

What AI crawlers are

A crawler, or bot, is a program that visits web pages and reads them. Google has used one for decades to build its search results. AI companies now run their own, and they don't all do the same job. Most fall into one of these groups:

  • AI search bots find pages that AI tools can show and link to in their answers. Examples: OpenAI's OAI-SearchBot (ChatGPT search), Anthropic's Claude-SearchBot and PerplexityBot.
  • On-demand visitors fetch a page when a person asks an AI tool about it, for example ChatGPT-User, Claude-User and Perplexity-User.
  • Training crawlers collect pages that may be used to train AI models, for example OpenAI's GPTBot, Anthropic's ClaudeBot and Common Crawl's CCBot.
  • Regular search crawlers like Googlebot and Bingbot. These matter for AI too: Google's AI Overviews are built on Google Search, and Microsoft Copilot draws on Bing.

The difference between search and training matters. OpenAI, for example, documents GPTBot and OAI-SearchBot as separate bots with separate settings, so you can block training and still show up in ChatGPT search.

Where the rules live: robots.txt

Most websites have a small text file called robots.txt that tells bots where they may and may not go. Well-behaved bots read it before they visit. A rule that blocks one bot from the whole site looks like this:

User-agent: GPTBot
Disallow: /

User-agent names the bot, and Disallow: / means “stay out of everything”. A few other things are worth knowing:

  • User-agent: * means every bot. If it's followed by Disallow: /, the whole site is blocked for all bots that follow the rules, Google included.
  • A bot that has its own section follows only that section and ignores the * section.
  • An empty Disallow: line, with nothing after it, blocks nothing.
  • If there's no robots.txt at all, bots treat the whole site as open.

How to check your site

The quick way

Enter your website's address in our free AI crawler check. It reads your robots.txt and lists the main AI and search bots, with whether each one is allowed in and which rule decided it. It takes a few seconds and doesn't need a sign-up.

By hand

  1. Open a browser and go to your domain followed by /robots.txt, for example yourbusiness.com/robots.txt.
  2. If you get a “page not found” error, you don't have one, and nothing is blocked by it.
  3. If the file loads, look for User-agent lines that name AI bots, such as GPTBot, OAI-SearchBot, ClaudeBot, Claude-SearchBot, PerplexityBot or Google-Extended.
  4. Check the lines under each one. Disallow: / means that bot is blocked from your whole site.
  5. Look at the User-agent: * section too, since it covers every bot that doesn't have its own section.

If the file doesn't load at all, or your browser shows a server error, ask whoever looks after your site to fix it. When robots.txt can't be loaded, many crawlers play it safe and stay away.

Other things that can block AI bots

A clean robots.txt doesn't always mean bots can get in. Robots.txt is a request, and other settings can turn bots away before it ever comes into play:

  • Security and hosting settings. Cloudflare, for example, offers settings that block AI crawlers, and some website builders and hosts have their own. These blocks happen on the server, so they don't show up in robots.txt. Check your dashboard, or ask your web person.
  • Page-level tags. A noindex tag keeps a page out of Google Search, and with it out of AI Overviews and AI Mode. Google also says nosnippet stops a page's text being used in its AI features. These tags are sometimes left on by accident after a site is rebuilt.

What we suggest for most local businesses

  • Let search bots in. That means Googlebot and Bingbot, plus the AI search bots and on-demand visitors listed above. These are the ones that help people find you.
  • Decide about training bots. Blocking GPTBot, ClaudeBot or CCBot is a reasonable choice, and it doesn't keep you out of AI search. Letting them in is fine too.
  • Think twice before blocking Google-Extended. It isn't a crawler. It's a setting that tells Google whether your pages can be used for Gemini, including to ground Gemini's answers, so blocking it may make you less visible there. It doesn't affect Google Search.

Here's a simple robots.txt that keeps three training crawlers out and lets everything else in. Replace the sitemap address with your own:

User-agent: GPTBot
Disallow: /

User-agent: ClaudeBot
Disallow: /

User-agent: CCBot
Disallow: /

User-agent: *
Allow: /

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

On WordPress, an SEO plugin usually has a robots.txt editor. On Squarespace, Wix and similar builders, look in the SEO or crawler settings. If you're not sure, ask whoever built your site.

After you make a change

Bots don't see changes right away, because they keep a copy of your robots.txt for a while. Google, for example, says it generally refreshes its copy within 24 hours. Run the AI crawler check again to confirm the file says what you meant, then give it a few days before judging the results.

Check your robots.txt now

See which AI and search bots your site lets in, and which rules are blocking the rest. Free, and it only takes a few seconds.

Open the AI crawler check

Want more of our posts in your Google results? Google says it shows more from the sources you pick in Top Stories.

Add Avello Labs as a preferred source on Google

Monthly plans from $99

We build your site, then look after it every month so it keeps bringing in calls.

What's your website costing you? Try the calculator