# AI Crawler Robots.txt Generator

Draft clean robots.txt rules to allow AI search bots while controlling model-training crawlers separately. Free, ready to review and copy.

## Choose which bots to block

## Model training crawlers

- GPTBot
- ClaudeBot

## AI search crawlers

Blocking a search crawler can reduce page visibility on its platform.

- OAI-SearchBot
- Claude-SearchBot
- PerplexityBot

## Google AI-use control

- Google-Extended

- Draft robots.txt rules

### Review before publishing

Merge this draft into your existing robots.txt. If a bot already has rules, review its full group, including any more specific Allow rules.

[Test the complete robots.txt draft](https://terlihat.com/en/robots-txt-tester)

### How to choose robots.txt rules for AI bots

### Decide which use you want to restrict

GPTBot and ClaudeBot support model training. OAI-SearchBot, Claude-SearchBot, and PerplexityBot support search. Google-Extended controls use of content for Gemini training and certain uses in Gemini and Vertex AI features.

### Example policy for training crawlers

To restrict GPTBot and ClaudeBot, select those two. The generator writes a separate Disallow: / group for each. Check your existing search crawler rules to confirm they allow the access you want.

### Review the complete file before publishing

Keep a copy of your current robots.txt. Merge the rules and test URLs for a product, service, or article against the complete draft. Publish the file at /robots.txt on each host where you want the rules to apply.

### Do training rules control access for ChatGPT Search?

OpenAI documents separate controls for GPTBot and OAI-SearchBot. Review OAI-SearchBot and your site's general rules to determine search crawler access.

### Can robots.txt protect a private page?

Use authentication or server-side access controls for private pages. Robots.txt expresses preferences for crawlers that follow it.

-   [OpenAI](https://developers.openai.com/api/docs/bots)
-   [Anthropic](https://support.claude.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler)
-   [Google](https://developers.google.com/crawling/docs/crawlers-fetchers/google-common-crawlers#google-extended)
-   [Perplexity](https://docs.perplexity.ai/docs/resources/perplexity-crawlers)

## Related tools

-   [AI Crawler Robots.txt Tester](https://terlihat.com/en/robots-txt-tester)
-   [Free AI Search Readiness Checker](https://terlihat.com/en/ai-search-readiness-checker)

### Review your crawler policy before publishing

Choose two sample URLs, one page that should remain discoverable and one public path you want to restrict for selected bots. Test the proposed rules on both URLs and note the host where the rules will be published.

If rules vary across hosts or your CDN restricts crawler access, bring the live robots.txt URL and the bots you want to manage. We can help review the policy and plan how to verify the changes.

[Discuss these findings](https://terlihat.com/en/contact)

---

Source: [Terlihat.com](https://terlihat.com/en/ai-robots-txt-generator)
Summary: Draft clean robots.txt rules to allow AI search bots while controlling model-training crawlers separately. Free, ready to review and copy.
Indonesian version: https://terlihat.com/buat-robots-txt-ai
