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.
Generated draft
Your robots.txt result
Complete the form to generate a draft. The policy review and robots.txt text will appear here without reloading the page.
Policy review
- Policy
- —
- Content Signals
- Not included
Crawler names blocked
Crawler names allowed
Wildcard blocked paths
Review before publishing
# robots.txt will appear here
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.
- Open the current live
/robots.txtfile and save a copy. - Compare its crawler groups, paths, and sitemap lines with the generated draft.
- Keep every existing rule that still serves a documented purpose.
- Avoid creating duplicate groups for the same crawler unless you understand how the groups will be combined.
- 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.
- Open the published URL directly and confirm that it returns the intended plain text.
- Check the HTTP status and make sure a login page, redirect loop, error document, or HTML template was not returned instead.
- Use the live robots.txt checker with important crawler names and paths.
- Confirm the winning group and rule for each test, especially when exact and wildcard groups coexist.
- 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.
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.