Free tool · Copy-paste policy · No signup

AI Robots.txt Generator

Choose whether to maximize AI search discovery, allow AI search while blocking selected training/model-usage tokens, or block most AI crawlers. The workbench keeps controls and generated robots.txt output visible together.

This is not a guarantee of AI rankings, citations, or crawler compliance. It is a technical policy helper for public pages you own or are authorized to manage.

Generator

Build your robots.txt snippet

Choose policy, scope, and sitemap once. The generated snippet stays visible while you adjust controls.

Output stays beside controls
Policy goal
Path scope changes every generated Allow/Disallow path. For full-site policy, keep scope as /. For a partial policy, validate the final robots.txt after publishing.

Generated policy

Maximize AI search discovery

Example domain is still selected. Replace it before publishing so the Sitemap line points to your real site.

# Allow key AI search discovery crawlers
User-agent: OAI-SearchBot
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: Claude-SearchBot
Allow: /

# Keep general search discoverability
User-agent: Applebot
Allow: /

Sitemap: https://example.com/sitemap.xml
Review before publishing: robots.txt can express policy to compliant crawlers, but it does not guarantee AI rankings, citations, or universal crawler compliance.

Search discovery bots

OAI-SearchBot, PerplexityBot, Claude-SearchBot, and Applebot are treated as discovery/search signals for public pages.

Training and model controls

GPTBot, ClaudeBot, Google-Extended, and Applebot-Extended are surfaced separately so training opt-out policy does not get mixed with search discovery.

Validate after editing

After updating robots.txt, run the AI Crawler Checker to verify named bot access and matched rule evidence.

FAQ

Does this guarantee AI search visibility?

No. The generator creates technical robots.txt policy snippets. AI search visibility, citations, crawler compliance, and rankings cannot be guaranteed.

Which policy should most public tool sites use?

For launch and SEO-focused public pages, start with Maximize AI search discovery. Review training and model-usage controls separately if your content policy requires an opt-out.

Can robots.txt fully block every AI crawler?

No. robots.txt is a crawler instruction, not a security mechanism. It can express your policy to compliant crawlers but cannot force every actor on the internet to obey it.