Create, review, and publish safely

Generate robots.txt Rules for AI Crawlers

Choose a preset or set individual crawler rules. The generator shows what will be allowed or blocked, highlights issues to review, and gives you a robots.txt file to publish yourself.

17 crawler names available 10 providers covered No account required Nothing is published automatically
1. Generate a draft The tool creates text for review. It does not edit your server.
2. Merge carefully Preserve rules, comments, and sitemaps that already matter to your site.
3. Publish and verify Place the final file at the exact host root, then test the live response.

Build the file

Choose the site and policy

Start with a preset, then change any crawler rule that does not match your policy.

?

The final file applies to this exact scheme and host. A subdomain needs its own root file.

?

Suggested sitemap: Enter a website URL first

?

Blocks common AI training and dataset crawlers while leaving regular search engines and AI-search crawlers available.

Best for
Sites that want search visibility and AI-search discovery while opting out of common training crawlers.
Review
The preset covers the crawler names listed in this tool. New or unidentified crawlers may require additional rules or server-side controls.
?

One path per line. Exact crawler groups generated by a preset do not automatically inherit wildcard path restrictions.

?

This experimental directive supplements crawler rules; it does not replace them or protect private content. Read the primary specification.

Advanced crawler overrides ?

Allow creates an exact allow group. Block creates an exact site-wide disallow group. Inherit keeps the selected preset or wildcard behavior.

SEO crawlers

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

AI search crawlers

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

User-triggered agents

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

AI training crawlers

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

Search engine crawlers

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

Product control tokens

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

Dataset and archive crawlers

CCBot CCBot Common Crawl · Dataset and archive crawlers Common Crawl crawler used to build public web datasets. Common Crawl documentation

Generated draft

Your robots.txt result

Waiting for input

Complete the form to generate a draft. The policy review and robots.txt text will appear here without reloading the page.

# robots.txt will appear here
After generation, review the exact crawler groups, merge any existing rules, publish at the host root, and test the live response.

Preset differences

Choose a policy by outcome, not by its shortest label

Every preset is a starting point. The result panel shows the exact crawler rules and any issues to check before publishing.

Mode What it does Important limitation
Balanced — keep search, block common training Blocks common AI training and dataset crawlers while leaving regular search engines and AI-search crawlers available. The preset covers the crawler names listed in this tool. New or unidentified crawlers may require additional rules or server-side controls.
Block listed AI crawlers Blocks the AI training, AI-search, user-triggered, product-control, and dataset crawler names listed in this tool. New, renamed, spoofed, or non-compliant crawlers may not follow these rules.
Explicitly allow AI search, block training Creates exact allow groups for listed AI-search crawlers and exact block groups for common AI-training crawlers. Exact allowed groups do not inherit path restrictions from the wildcard group.
Block user-triggered AI agents Blocks the listed agents that fetch pages after a person asks an AI product to open or use a page. Some user-triggered agents may not follow robots.txt. Check the linked official source before relying on this mode.
Custom — choose each crawler Starts without crawler-specific rules so you can explicitly allow or block individual crawler names below. Leaving all tokens on Inherit creates only the wildcard path and sitemap section.

What this generator creates—and what it does not

The generator creates a plain-text robots.txt draft for the exact website host you enter. It can add crawler-specific User-agent groups, wildcard path rules, a sitemap declaration, and an optional Content Signals preference. The result remains visible before download so you can review every explicit allow, block, path, and warning.

The tool does not connect to your hosting account, modify an existing file, authenticate a crawler, or guarantee that an automated client will comply. Publication remains under your control. If the site already has a robots.txt file, merge the draft into the current policy instead of replacing the file without review.

Choose a preset by its exact outcome

Preset names are shortcuts. Check the exact crawler names shown in the result before publishing, because providers may use separate names for training, search, and user-requested access.

  • Balanced — keep search, block common training: blocks common AI-training, product-control, and dataset crawlers while leaving ordinary search and AI-search discovery available.
  • Block listed AI crawlers: blocks the AI-training, AI-search, user-triggered, product-control, and dataset crawler names available in the generator. New, unidentified, or non-compliant clients may still require other controls.
  • Explicitly allow AI search, block training: creates exact allow groups for listed AI-search crawlers and exact block groups for common training-related crawlers.
  • Block user-triggered AI agents: targets listed agents that fetch pages after a person asks an AI product to open or use a page.
  • Custom: starts without crawler-specific rules so you can choose individual crawler rules yourself.

Use advanced overrides only when you can explain why a specific crawler needs different treatment from the selected preset. Provider documentation and crawler behavior can change, so check the linked official source before publishing a high-impact restriction.

Understand exact groups and the wildcard group

Robots.txt processors choose the most specific matching User-agent group. An exact crawler group does not inherit rules from User-agent: *. This matters when you combine explicit crawler permissions with wildcard blocked paths.

User-agent: OAI-SearchBot
Allow: /

User-agent: *
Disallow: /members/

In this example, the exact OAI-SearchBot group allows the whole site. The wildcard /members/ restriction is not automatically added to that exact group. If an explicitly allowed crawler must also avoid a path, edit its exact group accordingly and verify the result. The generator highlights this situation when your settings create both exact allows and wildcard blocked paths.

Wildcard path rules are public crawling instructions. They are not a safe way to hide account pages, customer information, paid resources, private files, or administration areas. Protect sensitive content with authentication, authorization, server configuration, and application-level access checks.

Use the policy review before copying the file

The generated result includes more than the text file. The policy review identifies:

  • the selected policy and its exact output;
  • every crawler name explicitly blocked;
  • every crawler name explicitly allowed;
  • the paths placed under the wildcard group;
  • whether Content Signals were included;
  • warnings that require manual review before publication.

Pay particular attention to warnings about ordinary search crawlers, exact allow groups, and private paths. A syntactically valid file can still express the wrong visibility policy for your site.

Merge the draft with an existing robots.txt file

Do not assume a generated draft should replace the current file. Existing robots.txt content may contain platform rules, search-engine directives, crawl controls for third-party tools, multiple sitemap declarations, comments maintained by another system, or paths required by an ecommerce or content-management platform.

  1. Open the current live /robots.txt file and save a copy.
  2. Compare its crawler groups, paths, and sitemap lines with the generated draft.
  3. Keep every existing rule that still serves a documented purpose.
  4. Avoid creating duplicate groups for the same crawler unless you understand how the groups will be combined.
  5. Publish the merged file only after reviewing the complete result as one policy.

If your platform generates robots.txt dynamically, use the platform's supported editing method rather than uploading a static file that may be ignored or overwritten.

What the optional Content Signals line means

When enabled, the generator places the following preference inside the wildcard group:

User-agent: *
Content-Signal: search=yes, ai-input=no, ai-train=no

This expresses a preference to allow search use while declining AI input and AI training uses. Support varies by crawler and validator, and the directive does not replace crawler-specific rules. It also does not provide authentication, authorization, copyright enforcement, or a technical barrier against non-compliant clients.

Content Signals must appear inside a crawler group, so the generator places the line immediately after User-agent: *. After publishing, verify the live file with the checker and remember that support in third-party validators may vary.

Publish at the correct host root

Publish the final file at the root of the exact scheme and host it should govern, for example https://example.com/robots.txt. A file for www.example.com does not automatically govern shop.example.com, and a file placed in a subdirectory does not control the entire host.

  1. Open the published URL directly and confirm that it returns the intended plain text.
  2. Check the HTTP status and make sure a login page, redirect loop, error document, or HTML template was not returned instead.
  3. Use the live robots.txt checker with important crawler names and paths.
  4. Confirm the winning group and rule for each test, especially when exact and wildcard groups coexist.
  5. Review server logs separately when you need evidence of real requests. A claimed user-agent string alone does not authenticate its sender.

When the generated draft needs additional review

Do not publish the draft unchanged when the site uses a platform-managed robots.txt file, several hosts or subdomains, a reverse proxy or CDN that rewrites the response, sensitive routes, complex wildcard patterns, legal or licensing obligations, or existing rules you do not understand. In those cases, treat the generator as a structured starting point and verify the final policy with the responsible developer, platform documentation, or legal adviser where appropriate.

Primary references

Review the standards and provider documentation

Crawler names and supported controls can change. Use the official references below to confirm the current names and controls before publishing.

Next steps

Use the generator with supporting checks and guides

Generator FAQ

Does the generator change or publish my website automatically?

No. It creates a reviewable robots.txt draft in your browser. You must merge it with any existing policy, publish the final file through your own hosting or platform, and verify the live response.

Does “Block listed AI crawlers” block every AI bot?

No. It blocks the AI-related crawler names available in the generator. New, renamed, spoofed, non-compliant, or future crawlers are not automatically covered.

What is the difference between Balanced and Explicitly allow AI search?

Balanced leaves AI-search crawlers on the wildcard policy. Explicitly allow AI search creates exact Allow groups for listed AI-search crawlers, which can override rather than inherit wildcard path restrictions.

Do wildcard blocked paths apply to an explicitly allowed crawler?

Not automatically. A more specific User-agent group is evaluated instead of the wildcard group. If an exact allowed crawler must avoid a path, add and test the required rule in that crawler's exact group.

Should I replace my existing robots.txt file with the download?

Not without comparison. Preserve platform rules, existing crawler groups, comments, and sitemap declarations that still matter. Merge the draft into the current policy and test the complete file.

What Content Signals does the generator add?

It adds Content-Signal: search=yes, ai-input=no, ai-train=no inside the User-agent: * group. Support varies, and the directive is a preference rather than access control or a replacement for crawler-specific rules.

Where must I publish robots.txt?

Publish it at the root of the exact scheme and host it should govern, such as https://example.com/robots.txt. Subdomains and other hosts need their own applicable root file.

Can generated Disallow rules protect private content?

No. Robots.txt is public and relies on voluntary compliance. Protect private, paid, personal, or administrative content with authentication, authorization, server rules, and application security.

How should I verify the generated policy?

Open the live robots.txt URL, confirm its HTTP response and text, then use the checker with the exact crawler names and paths that matter. Review server logs separately when you need evidence of real requests.