robots.txt Generator: Decide Which AI Crawlers Enter Your Site

robots.txt Generator for AI Crawlers

Tick the crawlers you want to block and copy the file. Blocking training is not the same as disappearing from AI search: each checkbox does a different job.

Your robots.txt file

The file goes at your domain root, at yourdomain.com/robots.txt. The rules are a request, not a lock: they only work for crawlers that choose to honour them.

Your site gets visitors who are not people. They are crawlers reading your content, and today many of them work for artificial intelligence models. Therefore this robots.txt generator lets you decide, one by one, which ones get in.

The robots.txt generator above builds the file for you. First you tick the crawlers you want to block, then you add your sitemap, and finally you copy the result. No code, no plugin.

Laptop with a dark-theme code editor, used to edit a website robots.txt file

What a robots.txt file actually does

Robots.txt is a plain text file that lives at the root of your domain. Moreover, the protocol is standardised in RFC 9309, published in September 2022, which requires the file to be named exactly /robots.txt, lowercase, at the top level of the service.

However, that same standard says something worth reading slowly: the rules are not a form of access authorisation. In other words, you are asking rather than blocking. A crawler that decides to ignore you will do exactly that.

Google is equally blunt in its robots.txt documentation: it is not a security mechanism, and a blocked page can still appear in results when somebody links to it. Consequently, for content that must truly stay out, the answer is a password or noindex, not robots.txt.

Training is not the same as being cited

Here is the mistake that costs the most traffic. Many owners block "AI" in one sweep, and as a result they erase themselves from answers where they could have appeared with a link.

The providers split those two jobs into separate crawlers on purpose. For example, OpenAI uses GPTBot to train models and OAI-SearchBot to surface sites inside ChatGPT search; according to its developer documentation, blocking the second one keeps you out of those answers.

Similarly, Anthropic runs three agents: ClaudeBot collects content that may train its models, Claude-SearchBot improves search result quality, and Claude-User visits when a person asks a question. The detail sits in Anthropic's support article.

Google draws the same line with Google-Extended. Its documentation states that this token controls whether your content feeds Gemini training and grounding, and that it does not affect your presence or your ranking in Google Search. Likewise, Apple uses Applebot-Extended to opt out of training without leaving search results.

The crawlers worth knowing by name

The robots.txt generator above groups twenty agents by provider and explains what each one does. Meanwhile, these are the ones that show up most often in a mid-sized site's logs.

  • OpenAI: GPTBot, OAI-SearchBot, OAI-AdsBot and ChatGPT-User.
  • Anthropic: ClaudeBot, Claude-SearchBot and Claude-User.
  • Google: Google-Extended, Google-CloudVertexBot and classic Googlebot.
  • Perplexity: PerplexityBot and Perplexity-User.
  • Meta: Meta-ExternalAgent, Meta-WebIndexer, Meta-ExternalAds and Meta-ExternalFetcher.
  • Others: Applebot and Applebot-Extended, Common Crawl's CCBot, and Amazonbot.

CCBot deserves its own note. Common Crawl publishes an open repository that many models reuse. Therefore blocking the big names while leaving CCBot open keeps the back door wide open.

The bots that may ignore your file

One category does not obey, and its owners say so openly. Specifically, these are the agents that arrive because a person asked for that exact page.

Perplexity documents that Perplexity-User disregards robots.txt because the request is user-initiated. Meta says the same about Meta-ExternalFetcher, and OpenAI warns that the rules may not apply to ChatGPT-User. For that reason, the widget flags those agents in yellow.

In short, the practical conclusion is simple. If somebody pastes your URL into a chat, your content will be read. Robots.txt governs bulk crawling, not one person's curiosity.

How to use the robots.txt generator and check it

Copy the file the robots.txt generator produces and upload it to your domain root over FTP or through your hosting file manager. Alternatively, in WordPress many SEO plugins let you edit it from the dashboard.

Afterwards, open yourdomain.com/robots.txt in a browser and confirm you see the text exactly as written. If an error page or the WordPress virtual robots file appears instead, the file did not land in the right place.

Be patient with the timing. Meta and Amazon both ask for up to twenty-four hours before changes take effect, and other providers cache the file for a similar window.

Finally, watch the effect on your data. If you want to understand what is happening to your visibility inside generated answers, our piece on the generative AI report in Search Console helps. Additionally, if you plan to touch content as well as the file, the keyword density analyzer is a sensible next step.

Frequently asked questions

Does blocking GPTBot remove me from ChatGPT?

No. GPTBot only controls training. OAI-SearchBot is the token that decides whether you appear in ChatGPT search, so you must block that one separately if you want to disappear from there.

Does blocking Google-Extended hurt my Google ranking?

No. Google's documentation is explicit: Google-Extended does not affect a site's inclusion in Google Search, and it is not used as a ranking signal. It only governs whether your content trains and grounds Gemini.

Does robots.txt stop people from copying my content?

No. RFC 9309 states that the rules are not access authorisation, and Google stresses that robots.txt is not a security mechanism. Consequently, sensitive content needs a password or a server-side restriction.

Where exactly does the file go?

At the domain root, in lowercase: yourdomain.com/robots.txt. A file inside a subfolder has no effect, and every subdomain needs its own copy.

How often should I review it?

Twice a year at least, and it is worth rebuilding it with the robots.txt generator each time. Providers keep adding agents: OpenAI introduced OAI-AdsBot and Meta split its crawling into several tokens. A two-year-old file no longer covers what you think it does.

/ You Might Like

Keep reading.

• / Let's Talk

Want to apply this to your business?

If this sounds familiar, let’s talk for 30 minutes. No hard sell — just to see if we’re a good fit.