Skip to content

Free tool

robots.txt generator for AI crawlers

Choose which AI assistants may read your site, block model training if you want to, and download a robots.txt that uses each crawler's exact token. Nothing leaves your browser.

1. Start from a preset
2. Adjust individual crawlers

Ticked crawlers are allowed. Untick one to block it.

AI search crawlers

User-triggered fetchers

Training crawlers and opt-out tokens

3. Paths and extras

robots.txt

# robots.txt generated with https://domyaeo.com/tools/robots-txt-generator

User-agent: *
Content-Signal: search=yes, ai-input=yes, ai-train=yes
Disallow: /wp-admin/
Disallow: /cart/
Disallow: /checkout/

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

Upload the file to the root of your site so it loads at yourdomain.com/robots.txt.

Which preset should you pick?

Allow everything suits most businesses. You want ChatGPT, Perplexity, Claude and Google's AI features to find, read and cite your pages, and being well represented in future models does you no harm.

Allow AI search, block training keeps you citable in AI answers while opting out of model training. Each company runs separate crawlers for each job, so this split works. See should you block AI crawlers?

Block all AI crawlers fits publishers protecting paid content. You keep Google and Bing search, but assistants cannot quote you. Our AI crawler directory explains what each one does.

robots.txt and AI crawler questions

Should I block GPTBot?+

Only if you do not want OpenAI to use your content for model training. GPTBot is OpenAI's training crawler; blocking it does not remove you from ChatGPT search, which uses OAI-SearchBot. Most businesses that want to be found allow both.

Does blocking Google-Extended remove me from Google AI Overviews?+

Google says Google-Extended does not affect a site's inclusion in Google Search; it controls use of content for Gemini training and grounding. For AI Overviews and AI Mode, Google documents the nosnippet and max-snippet controls instead.

Why does a named crawler ignore my User-agent: * rules?+

Under the robots.txt standard (RFC 9309) a crawler obeys only the most specific group that names it. If you add a group for GPTBot, GPTBot ignores everything in the * group, so repeat any paths it should also avoid.

Is robots.txt enough to block AI crawlers?+

It is a request, not a lock. The major AI search and training crawlers document that they follow it, but user-triggered fetchers such as ChatGPT-User and Perplexity-User may not. To enforce a block, use your CDN or firewall as well.