robots.txt Generator With AI Crawler Control

Create a correct robots.txt for your site or store in a minute: allow search engines, block pages that do not help indexing, and choose whether AI crawlers may read your content.

Try:
robots.txtGooglebotBingbotOAI-SearchBotGPTBotClaudeBotCCBot

Generator

File settings

Your robots.txt

How the tool works

Four steps, all in your browser with no sign-up.

Type your domain

So we add your sitemap link.

Pick what to block

WordPress admin, search and cart.

Decide on AI

Block training, allow search, or both.

Copy the file

And put it at your site root.

What does robots.txt do?

A text file at your site root that every crawler reads before visiting your pages, telling it what it may crawl. It does not protect or hide pages; it guides well-behaved crawlers. To keep a page out of Google, use a noindex tag, not robots.txt.

  • Do not block CSS and JS: Google needs them to render the page.
  • Add your sitemap link: it helps search engines find pages faster.
  • Use "block everyone" only for staging: left on a live site, it gradually removes the site from search.

AI crawlers: which to block?

AI companies use different crawlers: some collect content to train models, others search to answer users and cite sources. Blocking training crawlers only keeps your content out of training while your site stays visible in AI search answers, which can bring visits.

CrawlerCompanyPurpose
GPTBotOpenAICollecting training data
OAI-SearchBot / ChatGPT-UserOpenAISearch and user requests
ClaudeBotAnthropicCollecting training data
Claude-SearchBot / Claude-UserAnthropicSearch and user requests
Google-ExtendedGoogleControls use of content for Gemini models; does not affect Google Search
Applebot-ExtendedAppleControls use of content for Apple model training
PerplexityBotPerplexityIndexing for search answers
CCBotCommon CrawlAn open archive used by many models
BytespiderByteDanceData collection
Meta-ExternalAgentMetaData collection for Meta models

Following robots.txt is voluntary for crawlers, and major companies state that they follow it. Crawler names change and new ones appear, so review the file from time to time.

Guides to read after checking

Step-by-step fixes from our knowledge base.

Key terms

Short definitions of what you meet along the way.

robots.txt
A text file at the site root telling search and AI crawlers what they may visit. It is guidance, not protection.
Sitemap
A file listing your pages for search engines so they find them faster; its link goes in robots.txt.
noindex
A tag inside the page that keeps it out of search results. This, not robots.txt, is how to hide a page.
AI crawlers
Crawlers that collect content to train models or answer in AI search, each with its own name in robots.txt.

Frequently asked questions

Did not find your answer? Ask us on WhatsApp

Where do I put robots.txt?

In the site's root folder, public_html, so it opens at example.com/robots.txt. With Rank Math or Yoast, edit it from the plugin settings.

Does blocking AI crawlers hurt my Google visibility?

Blocking Google-Extended does not affect Google Search. Blocking AI search crawlers may reduce your presence in their answers.

Does the file stop access to my pages?

No. It only guides well-behaved crawlers. To protect a page use a password; to hide it from search use noindex.

Should a store block cart and checkout pages?

Yes, they are per-visitor pages with no value in search.

Does blocking AI crawlers affect Google?

Blocking GPTBot or ClaudeBot does not affect Googlebot. Just do not block search crawlers themselves.

Where is my current robots.txt?

Open your domain and add /robots.txt to the end.

Want a site built for SEO from day one?

We design fast WordPress sites ready for search engines.

Contact us on WhatsApp