Skip to content

robots.txt for AI bots

Model training, AI search, on-demand visits by a user: decide bot by bot what you accept, then copy the rules.

Analyze my current robots.txt (optional)

Bots

Rules to add

Add these lines to your existing robots.txt file at the site root, without deleting your current rules.

Three families of bots, three decisions

FamilyWhat the bot doesIf you block it
TrainingCollects pages to train future models.Your texts are no longer used for training. No effect on your Google ranking.
AI searchIndexes your pages so they can be cited in the assistant's answers.You no longer appear as a source, and no longer receive the visits that come with it.
On demandOpens a page when a user pastes your link or asks for a search.The assistant can no longer read the page its user shows it.
  • Google-Extended visits nothing: it is a simple signal that forbids the use of your pages for Gemini. It does not change your presence in Google Search, which is handled by Googlebot.
  • robots.txt is a convention, not a barrier. The big providers say they respect it; a malicious bot ignores it. For a real ban, you need blocking on the server or firewall side.
  • Blocking is not retroactive. What has already been collected stays collected.

The list of bots is kept up to date from each provider's public documentation, but new bots appear regularly: review your rules once or twice a year.

How it works

How to use the AI bots robots.txt generator

Training, AI search, on-demand visits: decide bot by bot, then copy the rules.

  1. Analyze what exists

    Optional: the tool reads your robots.txt and shows what happens to each bot.

  2. Set each bot

    Or apply a quick setting: block training, keep AI search.

  3. Copy the rules

    To add at the end of your robots.txt, without removing the rest.

FreeNo subscription, no hidden limits.
No sign-upOpen the page and use the tool. That’s it.
InstantResults in seconds, on mobile too.
SecureEncrypted connection, nothing is stored.

About the AI bots robots.txt generator

Not all AI bots do the same thing. Some collect pages to train models; others build the index that lets an assistant cite your site; still others open a page only when a user asks. Blocking the first protects your content; blocking the second removes you from answers.

The most common setting is therefore to refuse training while accepting search and on-demand visits. The tool sorts sixteen bots by vendor and family, writes rule groups that conform to the standard and can read your current file so you start from what exists.

robots.txt remains a convention: the major vendors say they follow it, but it technically prevents nothing. For a firm ban, add a block at the server or firewall level.

robots.txt ai block gptbot block chatgpt claudebot google-extended perplexitybot oai-searchbot ai bots list prevent ai training
FAQ

Frequently asked questions about the AI bots robots.txt generator

How do I block ChatGPT from my site?

Add a “User-agent: GPTBot” group followed by “Disallow: /” to your robots.txt to refuse training. To disappear from ChatGPT search as well, block OAI-SearchBot.

Does blocking AI bots hurt my Google ranking?

No. Googlebot, which powers search, is not affected. Google-Extended only serves to refuse the use of your pages for Gemini.

Do bots really respect these rules?

The main vendors say so. An unscrupulous bot can ignore them: only server-side protection stops it.

What happens to my site’s address?

It is sent to our server only if you run the analysis, to read your public robots.txt. Nothing is stored.

Does blocking erase what was already collected?

No, it only applies going forward.

Is it free?

Yes, with no sign-up and no usage limit.

Esc
↑ ↓ navigateEnter open