Generate a robots.txt Policy for AI Crawlers

Choose a policy mode, enter your website and sitemap, add any path or crawler overrides, then generate and download a robots.txt file. Publish it at the root of the correct host and verify the live rules with the checker before relying on them.

?
?

Suggested sitemap: Enter a website URL first

?
Blocks common AI training and dataset crawlers while keeping regular search engines and AI-search crawlers open.
?

One path per line. These paths are added as User-agent: * disallow rules.

?
Advanced custom bot rules ?

Allow explicitly allows this crawler. Block disallows it from the whole site. Inherit keeps the selected preset/default behavior.

Seo Crawler

AhrefsBot Ahrefs · seo crawler SEO crawler used by Ahrefs.
MJ12bot Majestic · seo crawler Crawler used by Majestic link intelligence.
SemrushBot Semrush · seo crawler SEO crawler used by Semrush.

Ai Search Crawler

Claude-SearchBot Anthropic · ai search crawler Anthropic crawler associated with search retrieval.
OAI-SearchBot OpenAI · ai search crawler OpenAI search crawler used for search result retrieval and linking.
PerplexityBot Perplexity · ai search crawler Crawler used by Perplexity for indexing/search retrieval.

User Triggered Agent

Claude-User Anthropic · user triggered agent User-triggered agent used when Claude accesses pages for a user request.
ChatGPT-User OpenAI · user triggered agent User-triggered agent used when a user requests page access through ChatGPT.
Perplexity-User Perplexity · user triggered agent User-triggered agent used when a user requests a page through Perplexity.

Ai Training Crawler

ClaudeBot Anthropic · ai training crawler Anthropic crawler associated with model training and data collection.
GPTBot OpenAI · ai training crawler OpenAI web crawler used for model improvement and training-related crawling.

Search Crawler

Applebot Apple · search crawler Apple crawler for search and related experiences.
Googlebot Google · search crawler Main Google Search crawler.
Bingbot Microsoft · search crawler Main Bing Search crawler.

Product Token

Applebot-Extended Apple · product token Apple robots.txt token for extended AI-related use preferences.
Google-Extended Google · product token Product token used in robots.txt, not a normal standalone HTTP user-agent.

Archive Crawler

CCBot Common Crawl · archive crawler Common Crawl crawler used to build public web datasets.

Your robots.txt result

Fill the form and generate a file. The result will appear here without reloading the page.

# robots.txt will appear here
After generation, upload the file to the root of your website and test it with the checker.

What the generator creates

This tool builds a plain-text robots.txt policy for the host you enter. The result can include crawler-specific User-agent groups, site-wide or path-specific Allow and Disallow rules, and a Sitemap directive.

The generator does not change your website automatically. It gives you a file to review, download, publish at the root of the correct host, and verify after deployment.

Choose a policy that matches your goal

Start with the outcome you want rather than blocking every automated client with one broad rule.

  • Balanced: restrict common AI training and dataset crawlers while keeping regular search and supported AI-search crawlers available.
  • Block all AI crawlers: apply a stricter policy to known AI training, AI-search, and user-triggered agents without automatically blocking ordinary Googlebot or Bingbot.
  • Allow AI search, block training: keep supported AI-search crawlers open while restricting common training crawlers.
  • Block user-triggered AI agents: restrict agents that fetch pages after a user request without automatically blocking training or search crawlers.
  • Custom: start without a preset and set the required crawler rules individually.

Advanced custom bot rules override the selected preset for the individual User-agent token. Use them only when you understand why that crawler needs a different rule.

Add paths and sitemap information carefully

Custom blocked paths are written under User-agent: *, so they may affect every crawler that relies on the wildcard group. Add only paths you genuinely want compliant crawlers to avoid. Do not list private URLs as a substitute for authentication, because robots.txt is publicly accessible.

If you leave the Sitemap field empty, the generator uses the usual /sitemap.xml location for the entered host. Sites using WordPress or an SEO plugin may instead publish a sitemap index such as /sitemap_index.xml. Enter the address that actually exists on your site.

Review experimental Content Signals separately

The optional Content Signals block expresses preferences for search use, AI input, and AI training. These signals are experimental, are not part of the core access-control rules, and may not be supported by every crawler. Keep crawler-specific User-agent rules when you need an explicit robots.txt instruction.

Publish and verify the result

  1. Review the generated groups and confirm that regular search crawlers are not blocked unintentionally.
  2. Download the result as robots.txt.
  3. Merge it carefully with any rules already used by your website instead of overwriting a working file blindly.
  4. Publish it at the root of the relevant host, for example https://example.com/robots.txt.
  5. Open the published file in a browser and use the robots.txt checker to test important crawlers and paths.

Remember that robots.txt controls crawling instructions for clients that choose to follow the protocol. It is not authentication, authorization, or a firewall.

FAQ

Does the generator change my website automatically?

No. It creates a robots.txt result for you to review and download. You must publish or merge the file on your own website and then verify the live version.

Should I replace my existing robots.txt file?

Not without reviewing it. Existing files may contain search, sitemap, platform, or security-related crawling rules. Merge the required changes carefully and test the final published file.

Can I allow AI search while blocking AI training?

Sometimes, when the operator provides separate User-agent tokens for those purposes. Use the relevant policy mode or custom overrides, then check the live result for each crawler.

What sitemap URL should I enter?

Use the sitemap that is actually published for the same site. Common locations include /sitemap.xml and /sitemap_index.xml, but a site may use another absolute or relative URL.

Are Content Signals a security control?

No. They are experimental preference signals and may not be supported by every crawler. They do not replace User-agent rules, authentication, server controls, or bot protection.