Free robots.txt generator for AI crawlers

Decide crawler by crawler who may read your site: stay visible in ChatGPT, Claude and Perplexity answers while opting out of AI training. Paste your current file to see what it actually allows.

Free · No sign-up · Runs in your browser

1. Start from a policy

Or import your current robots.txt

2. Fine-tune each crawler

Everyone else

AI search

Build the indexes assistants search when they answer. Block these and you can't be cited.

  • OAI-SearchBot · OpenAI

    Indexes pages ChatGPT can show and cite in search answers. Block it and ChatGPT search can't cite you.

  • Claude-SearchBot · Anthropic

    Indexes pages Claude can find and cite when it searches the web.

  • PerplexityBot · Perplexity

    Builds the index Perplexity answers from. Perplexity says it is not used for training.

  • Amazonbot · Amazon

    Used for Alexa answers and Amazon's AI services.

Live fetch

Read a page when a person asks the assistant about it.

  • ChatGPT-User · OpenAI

    Fetches a page when someone asks ChatGPT about it or it follows a link during an answer.

  • Claude-User · Anthropic

    Fetches a page when a Claude user asks about it.

  • Perplexity-User · Perplexity

    Fetches a page live when a Perplexity user asks about it.

  • DuckAssistBot · DuckDuckGo

    Fetches pages for DuckDuckGo's AI-assisted answers.

  • MistralAI-User · Mistral

    Fetches a page when a Le Chat user asks about it.

Search engines

Google (including AI Overviews), Bing (including Copilot) and Apple.

  • Googlebot · Google

    Google Search, AI Overviews and AI Mode all use Googlebot. Blocking it removes you from all three.

  • Bingbot · Microsoft

    Bing's index powers Copilot answers and is one of the sources other assistants search.

  • Applebot · Apple

    Feeds Siri and Spotlight suggestions.

AI training

Collect pages to train future models. Blocking them doesn't affect answers today.

  • GPTBot · OpenAI

    Collects pages to train OpenAI models. Blocking it does not remove you from ChatGPT search.

  • ClaudeBot · Anthropic

    Collects pages to train Anthropic models. Separate from Claude's search crawler.

  • Google-Extended · Google

    A control token, not a separate crawler: opts content out of Gemini model use. It does not affect Google Search or AI Overviews.

  • Applebot-Extended · Apple

    A control token that opts content out of Apple's model training without affecting Siri or Spotlight.

  • Meta-ExternalAgent · Meta

    Collects pages for Meta's AI models.

  • CCBot · Common Crawl

    A public crawl many AI models are trained on.

  • Bytespider · ByteDance

    Collects pages for ByteDance's AI models.

3. Private paths and sitemap

Use * as a wildcard and $ for the end of a URL, e.g. /*?sort= or /*.pdf$.

robots.txt

# robots.txt generated with CiteGlance's free generator
# https://www.citeglance.com/free-tools/robots-txt-generator

# Blocked: Training
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Google-Extended
User-agent: Applebot-Extended
User-agent: Meta-ExternalAgent
User-agent: CCBot
User-agent: Bytespider
Disallow: /

# Everyone else
User-agent: *
Disallow: /admin/
Disallow: /cart
Disallow: /checkout
Disallow: /search
  • Google-Extended is blocked but Googlebot isn't: you stay in Google Search and AI Overviews and opt out of Gemini training.
  • Add your sitemap URL so every crawler can find your pages.
  • robots.txt is a request, not a lock. Use logins or noindex for pages that must stay private.

Search, live fetch and training are different crawlers

Each AI company runs separate crawlers for separate jobs. Search crawlers (OAI-SearchBot, Claude-SearchBot, PerplexityBot) build the index an assistant searches when it answers. Live fetchers (ChatGPT-User, Claude-User) read a page when someone asks about it. Training crawlers (GPTBot, ClaudeBot, Google-Extended, CCBot) collect pages for future models.

Blocking a search crawler removes you from that assistant's answers. Blocking a training crawler doesn't. That's why "block all AI" is rarely what a business wants.

This generator follows RFC 9309, the robots.txt standard: the most specific group wins, then the longest matching rule. After you publish, check it with the free AI readiness checker, which also catches CDNs that block AI crawlers before robots.txt is read.

Questions people ask

How do I block AI training but stay in ChatGPT search?

Block GPTBot (training) and allow OAI-SearchBot and ChatGPT-User (search and live fetch). Do the same for each company: block ClaudeBot but allow Claude-SearchBot, and block Google-Extended but allow Googlebot. The 'AI search yes, training no' preset does exactly this.

Does blocking Google-Extended remove me from AI Overviews?

No. Google-Extended only controls whether your content is used for Gemini models. AI Overviews and AI Mode use Googlebot, the same crawler as Google Search.

If I add a group for GPTBot, do my * rules still apply to it?

No, and this catches many people out. A crawler obeys only the most specific group that names it. Once GPTBot has its own group, it ignores the * group. The generator repeats your private paths wherever that matters.

Is this robots.txt generator free?

Yes. It runs entirely in your browser, so nothing you enter is sent to us, and it's free to use as often as you like.

Can robots.txt keep pages private?

No. It's a public request that well-behaved crawlers follow. Anyone can read it, and it can't stop a page being linked or indexed from elsewhere. Use authentication, or a noindex tag on a crawlable page, for anything that must stay out.

Where do I put robots.txt?

At the root of your domain, e.g. https://yourbrand.com/robots.txt. Each subdomain needs its own. Most platforms (WordPress, Shopify, Webflow, Next.js) have a setting or file for it.