Free tool · Runs in your browser

AI robots.txt generator.

Decide which AI companies may train on your content and which may cite you in their answers. Pick a preset, adjust 28 bots one by one, and download a robots.txt that keeps your existing rules.

1. Start from a preset

2. Fine-tune each bot (8 blocked)

AI search
User-triggered fetch
AI training
Training control token
Other AI crawler

3. Your existing rules (optional)

Your robots.txt

# AI crawlers blocked (generated at searchnoir.com/robots-txt-generator)
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Google-Extended
User-agent: Applebot-Extended
User-agent: meta-externalagent
User-agent: Amazonbot
User-agent: MistralAI-Training
User-agent: CCBot
Disallow: /

User-agent: *
Disallow:

Upload the file to your site root (example.com/robots.txt), then test it with the AI crawler checker.

Before you block

Training is not search.

Most AI companies now run separate bots for training models and for answering questions. Blocking GPTBot keeps your content out of OpenAI's future training data. Blocking OAI-SearchBot removes you from ChatGPT search answers. They are separate choices.

If AI assistants are becoming a way buyers find you, keep the search bots open. What each bot does, and whether it obeys robots.txt, is documented in our AI crawler directory. To block bots at the server or in Cloudflare, see how to block AI crawlers.

The interrogation

Questions, answered.

How do I block AI training but stay in ChatGPT and Perplexity answers?+

Block the training tokens (GPTBot, ClaudeBot, Google-Extended, Applebot-Extended, meta-externalagent, MistralAI-Training, CCBot) and leave the search bots allowed (OAI-SearchBot, Claude-SearchBot, PerplexityBot). The first preset in the generator does exactly that.

Will blocking Google-Extended hurt my Google rankings?+

No. Google says Google-Extended does not affect inclusion or ranking in Google Search. It controls whether your content trains future Gemini models and grounds answers in Gemini Apps and Vertex AI. Don't block Googlebot unless you want to leave Google Search.

Where do I put the robots.txt file?+

At the root of your domain, so it loads at https://www.example.com/robots.txt. Each subdomain needs its own file. On WordPress, Shopify and similar platforms you edit robots.txt through the platform or an SEO plugin rather than uploading a file.

Why paste my existing robots.txt?+

So you don't lose rules you already have, such as blocked admin folders or your sitemap line. The generator puts the AI rules first and keeps your rules underneath. If one of your existing groups names the same bot, crawlers combine both groups, so check the result with the AI crawler checker.

Does robots.txt stop every AI bot?+

No. It's a request that reputable crawlers follow. Some user-triggered fetchers, such as ChatGPT-User, Perplexity-User and Google-Agent, say robots.txt may not apply to them, and bad bots ignore it. Use your CDN or firewall to enforce a block.

Rules set. Now watch the answers.

Search Noir tracks whether ChatGPT, Perplexity, Gemini and Claude mention your brand, next to your daily Google and Bing rankings.

Start tracking free