robots.txt and AI: is your website blocking ChatGPT?

One line in a text file can shut your business out of AI answers. Checking takes a minute.

  • No sign-up or payment card
  • Result in about a minute
  • 3 fix instructions for free

robots.txt is a text file in the root of a website that tells search engine and AI crawlers what they may read. You can find yours by typing yourcompany.com/robots.txt into your browser.

Which crawlers to let through

CrawlerServiceWhat it is used for
OAI-SearchBotChatGPTChatGPT search and source links.
ChatGPT-UserChatGPTFetching the page when a user asks about it.
GPTBotOpenAITraining data for the models.
ClaudeBotClaudeAnthropic's crawler.
PerplexityBotPerplexitySearch and source links.
Google-ExtendedGeminiPermission for Google's AI use.

How to recognise a block

A block looks like this. The first bans one crawler, the second bans all:

User-agent: GPTBot Disallow: / User-agent: * Disallow: /

If you find a section like this in your file, AI is not allowed to read your website. The second one bans Google too.

A working robots.txt for a business website

User-agent: * Allow: / Sitemap: https://yourcompany.com/sitemap.xml

This allows all crawlers and states your sitemap address. Replace the address with your own domain.

The block may be elsewhere too

  • Template setting: some website builders and WordPress plugins block AI crawlers by default.
  • Firewall or bot protection: for example Cloudflare's ”Block AI bots” setting blocks crawlers even if robots.txt allows them.
  • Page-level noindex: a noindex in the page's source code hides the page from search engines.

The inspection checks the robots.txt file, AI crawler access and noindex tags in one go.

FAQ

Should I allow GPTBot?

That's your choice. GPTBot collects training data, and OAI-SearchBot brings your website into ChatGPT's search. If you want to appear in the answers, allow at least OAI-SearchBot and ChatGPT-User.

What if my website has no robots.txt file?

Then all crawlers may read everything, so there is no block. It's still worth adding the file so that it contains your sitemap address.

How quickly does a change take effect?

Crawlers usually re-fetch robots.txt within a day. Visibility in the answers changes more slowly, over weeks.

Inspect your website now

You get a score, a verdict and fix instructions for the three most important issues for free.

Go to the inspection