AI Robots.txt Generator & Access Checker
Set separate rules for AI search, user requests and training-related crawlers. Generate a robots.txt draft or check a bot’s access to a path.
How to use this tool
Search crawlers, user-requested fetchers and training crawlers have different roles. Allowing a crawler does not guarantee inclusion in AI answers; blocking it depends on whether that crawler follows the rules.
- Choose Build policy and select which crawler groups to allow.
- Add protected paths and an optional sitemap URL.
- Generate, copy or download the draft. Merge it with existing rules rather than blindly replacing them.
- Publish robots.txt at the root of your site, then confirm the actual file and server behavior.
Worked examples
1. Keep existing rules, then add an AI policy
Suppose your existing file contains the wildcard and Googlebot groups below. Preserve both when adding rules. Googlebot’s specific group does not inherit the wildcard group’s restrictions.
User-agent: *
Disallow: /admin/
Disallow: /private/
User-agent: Googlebot
Disallow: /admin/
Disallow: /private/
Disallow: /internal/
Builder inputs: search allowed; user requests allowed; training blocked. Protected paths, one per line: /admin/, /private/, /internal/. Sitemap: https://example.com/sitemap.xml. The example uses a fictional domain; replace it before publishing.
Append the generated AI groups to the existing groups. Keep one sitemap declaration here. This is the complete merged example:
User-agent: *
Disallow: /admin/
Disallow: /private/
User-agent: Googlebot
Disallow: /admin/
Disallow: /private/
Disallow: /internal/
# AI crawler policy
# Generated from official bot tokens; review before publishing.
User-agent: OAI-SearchBot
Disallow: /admin/
Disallow: /private/
Disallow: /internal/
User-agent: Claude-SearchBot
Disallow: /admin/
Disallow: /private/
Disallow: /internal/
User-agent: ChatGPT-User
Disallow: /admin/
Disallow: /private/
Disallow: /internal/
User-agent: Claude-User
Disallow: /admin/
Disallow: /private/
Disallow: /internal/
User-agent: GPTBot
Disallow: /
User-agent: ClaudeBot
Disallow: /
User-agent: Google-Extended
Disallow: /
Sitemap: https://example.com/sitemap.xml
2. Reproduce these access checks
Paste the complete merged file into Check access. Enter each exact bot token and path below. These results come from this tool’s local rule checker, not requests made by actual crawlers.
| Bot / path | Result | Selected group / rule |
|---|---|---|
OAI-SearchBot/news/article | Allow | OAI-SearchBotNo matching restriction |
OAI-SearchBot/admin/settings | Block | OAI-SearchBotDisallow: /admin/ |
GPTBot/news/article | Block | GPTBotDisallow: / |
Googlebot/news/article | Allow | GooglebotNo matching restriction |
Googlebot/internal/report | Block | GooglebotDisallow: /internal/ |
OtherBot/private/report | Block | *Disallow: /private/ |
3. A merge mistake: wildcard rules are not inherited
User-agent: *
Disallow: /admin/
User-agent: OAI-SearchBot
Disallow:
Checking OAI-SearchBot with /admin/settings returns Allow for this file: its specific group has no restriction, so the wildcard group is not selected. Add Disallow: /admin/ to that specific group. In the full example, every allowed AI group repeats all three protected paths.
4. Verify the published file and understand the limits
- Open https://your-domain/robots.txt and verify that it serves the complete plain-text file, including the original crawler groups and the correct sitemap URL.
- This checker handles exact bot tokens, wildcard fallback and path rules. It does not simulate every crawler’s user-agent matching, redirects, caching or HTTP error handling.
- User-initiated ChatGPT-User requests may not follow robots.txt. Google-Extended is a separate control from Googlebot search crawling. Blocking a crawler does not remove an indexed URL or provide privacy; protect sensitive pages with authentication and server permissions.
Open the builder and access checker
References and example review: October 11, 2026. Google robots.txt · OpenAI bots · Google-Extended
Frequently asked questions
Does Disallow make a page private?
No. robots.txt is a request to cooperative crawlers, not authentication or access control.
Does blocking GPTBot also block OpenAI search?
GPTBot and OAI-SearchBot have separate roles and controls. User-initiated requests can be treated differently from automatic crawling.
Does Google-Extended block Google Search?
Google-Extended controls certain Gemini-related uses and is not the Googlebot search crawler. Consult the current official documentation before applying a policy.
Official references
English edition reviewed on October 3, 2026. The tool is a starting point, not a substitute for checking your live website and current provider documentation.
About this tool
UsefulSet builds small browser-based tools. AI assists with development and explanations; automated tests check generation rules and edge cases. This is an independent tool and is not an official service of Google, OpenAI or Anthropic.
Contact and corrections
Report an issue to [email protected]. Include reproduction steps and the expected result, but remove personal or confidential information.
Privacy
Updated October 3, 2026. Your tool inputs and generated results are processed in this browser and are not sent to our server or analytics events. Copies and downloads remain in the clipboard or files you choose.
Cloudflare provides hosting and may process IP addresses, requested URLs and browser information for service delivery and security. Cloudflare privacy policy.
Google Analytics loads only if you allow usage analytics. It can collect page visits, device information and general tool-use, copy or download events using cookies and identifiers. Tool inputs and generated results are excluded from these events. You can change your choice in Analytics preferences; withdrawing consent stops future collection and does not automatically erase past records. Google privacy policy.
Your analytics choice and color theme are stored in this site’s browser storage. Email inquiries are used to respond and investigate issues; unnecessary information is deleted when no longer needed, subject to required retention. Contact us for access, correction or deletion requests.
AdSense ads are currently disabled. Before enabling ads, applicable consent requirements and Google-certified CMP settings must be reviewed. The analytics choice is not an advertising CMP. Advertising providers may use cookies and prior visits for ad delivery. Google ad settings · Google partner-site data use.
Terms of use
This free tool provides a draft and explanatory guidance. You are responsible for verifying the output, accuracy of your inputs, applicable requirements and the effect on your website. Availability, search rankings, crawler compliance and revenue are not guaranteed. Do not enter confidential customer data. Use generated output only after reviewing it against the relevant official specifications.