SEO + AI Search|Google Ads · E-commerce Ads · Meta Ads

Free tool

AI Crawler robots.txt Generator

Decide which AI crawlers can read your site. Tick a bot to block it, then copy the rules into your robots.txt file. Every bot you leave unticked gets an Allow rule.

Free. Runs in your browser. Nothing you type is sent or stored.

Choose the bots to block

Updates as you tick
AI crawlers

Before you block: blocking a search or answer crawler, such as OAI-SearchBot, Claude-SearchBot or PerplexityBot, can remove your pages from that tool's answers and citations.

Google-Extended only controls whether Google may use your content for Gemini training. It is separate from Googlebot, so blocking it does not change your Google Search listings.

How to use it

Set your AI crawler rules

  1. Pick a starting point

    Use a preset, or tick each bot you want to block.

  2. Add your sitemap

    Optional. Paste your full sitemap URL to add a Sitemap line.

  3. Copy the rules

    Press Copy to put the rules on your clipboard.

  4. Update robots.txt

    Add the rules to the robots.txt at your domain root, next to your current rules.

Examples

robots.txt examples you can copy

Three common setups. Replace the sitemap URL with your own, and keep any rules you already have for other bots.

Allow all crawlers

The simplest robots.txt. Every crawler, including search engines and AI bots, may read the whole site.

User-agent: *
Allow: /

Sitemap: https://www.yoursite.com/sitemap.xml

Block AI training, allow AI search

Keeps your pages out of model training while letting AI search tools find and cite them.

User-agent: GPTBot
Disallow: /

User-agent: ClaudeBot
Disallow: /

User-agent: Google-Extended
Disallow: /

User-agent: CCBot
Disallow: /

User-agent: OAI-SearchBot
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: *
Allow: /

Block one folder for every bot

Useful for admin areas, internal search results or staging folders that should not be crawled.

User-agent: *
Disallow: /admin/
Disallow: /search/

Test your file after any change. Google Search Console shows the robots.txt it last fetched and flags rules it can't read.

Reference

AI crawlers at a glance

The bots this generator covers, who runs them and what they do.

User agentOperatorWhat it does
GPTBotOpenAICrawls public pages that may be used to train OpenAI models.
OAI-SearchBotOpenAIFinds pages to show and link in ChatGPT search results.
ChatGPT-UserOpenAIVisits a page when a ChatGPT user or action asks for it.
ClaudeBotAnthropicCrawls public pages that may be used to train Anthropic models.
Claude-SearchBotAnthropicCrawls pages to improve search results in Claude.
Claude-UserAnthropicVisits a page when a Claude user asks a question that needs it.
PerplexityBotPerplexityIndexes pages so Perplexity can show and cite them in answers.
Perplexity-UserPerplexityVisits a page when a Perplexity user asks about it.
Google-ExtendedGoogleNot a separate crawler. Controls whether content Googlebot collects may be used for Gemini training. Google Search is not affected.
Applebot-ExtendedAppleNot a separate crawler. Controls whether content Applebot collects may be used to train Apple AI models.
CCBotCommon CrawlBuilds the open Common Crawl web archive, which many AI projects use.
BytespiderByteDanceWeb crawler run by ByteDance.
Meta-ExternalAgentMetaMeta crawler that fetches pages for its AI products, including model training.
AmazonbotAmazonAmazon crawler used to improve Amazon products and services.

FAQ

Questions about AI crawlers and robots.txt

What happens if I block an AI search crawler?

Blocking a search or answer crawler such as OAI-SearchBot, Claude-SearchBot or PerplexityBot can stop that tool from finding your pages, so they may drop out of its answers and citations. If you want AI tools to cite you, leave these allowed.

Does blocking Google-Extended remove my site from Google Search?

No. Google-Extended is a control token, not a crawler. Googlebot keeps crawling your site for Search as usual, and the token only tells Google whether that content may also be used for Gemini training.

Can I block AI training but stay visible in AI search?

Often, yes. OpenAI and Anthropic, for example, run separate bots for training and for search. The preset on this page blocks the training bots and allows the search and user bots. Check each company's documentation, because bot names and roles change.

Do all AI crawlers follow robots.txt?

robots.txt works on trust. The large AI companies say their named crawlers follow it, though user-triggered visits can be handled differently, and some crawlers ignore it altogether. If you need a hard block, use firewall or server rules.

Where do I add these AI crawler rules?

Add them to the robots.txt file at the root of your domain, alongside your existing rules. Do not delete your current rules for Googlebot or other search engines unless you mean to.

Check what AI tools say about you

These files make your site easier for AI tools to read. To find out whether ChatGPT, Perplexity and Google AI Overviews actually name your business, ask for a free check.

Free AI Visibility Check