AI-Ready robots.txt Generator
Create an optimized robots.txt file in seconds. Control which AI bots (GPTBot, ClaudeBot, Gemini) can cite your website.
1. Select a Preset Strategy
2. Site Information & Paths
3. Individual Bot Permissions
14 Supported CrawlersTrains ChatGPT & OpenAI models
Live search requests initiated by ChatGPT users
Trains Claude 3.5 models
Controls training for Gemini & Vertex AI
Retrieves live web sources for Perplexity citations
Trains Apple Intelligence foundation models
Meta AI Llama model training crawler
ByteDance Doubao & TikTok AI scraper
Bulk web crawler feeding open LLM datasets
Amazon Bedrock & Alexa AI crawler
Main Google search indexing crawler
Microsoft Bing & Copilot web crawler
SEO backlink and audit crawler
Semrush keyword & site audit crawler
robots.txt Preview
# robots.txt generated by UI Pirate (https://uipirate.com/tools/robots-txt-generator) # Domain: example.com # Last updated: 2026-08-24 User-agent: * Allow: / Disallow: /admin/ Disallow: /api/ Disallow: /checkout/ # Explicitly Allowed AI & Search Crawlers User-agent: GPTBot Allow: / User-agent: ChatGPT-User Allow: / User-agent: ClaudeBot Allow: / User-agent: Google-Extended Allow: / User-agent: PerplexityBot Allow: / User-agent: Applebot-Extended Allow: / User-agent: meta-externalagent Allow: / User-agent: Amazonbot Allow: / User-agent: Googlebot Allow: / User-agent: bingbot Allow: / User-agent: AhrefsBot Allow: / User-agent: SemrushBot Allow: / # Explicitly Blocked AI Training Scrapers User-agent: Bytespider Disallow: / User-agent: CCBot Disallow: / # AI Infrastructure & Discovery # llms.txt: https://example.com/llms.txt Sitemap: https://example.com/sitemap.xml
robots.txtLocation: /public/robots.txtHow to Properly Configure robots.txt for AI Search
Standard robots.txt directives follow RFC 9309. Understanding how AI crawlers interpret wildcard fallback rules prevents accidental search exclusion.
Order of Specificity
Specific bot rules (e.g. User-agent: GPTBot) take priority over the global wildcard User-agent: *.
Explicit Allow Overrides
Always pair disallow blocks with explicit allows for public documentation and sitemaps so AI citation agents can verify your domain authority.
Sitemap Declaration
Declare absolute URLs for all XML sitemaps at the very bottom of your robots.txt to ensure complete multi-engine crawl coverage.
Frequently Asked Questions about robots.txt
Where should I place robots.txt?
robots.txt must live in the root directory of your website (e.g. https://yourdomain.com/robots.txt). For Next.js projects, place it in /public/robots.txt or use app/robots.ts.
Can I block AI training without hurting Google SEO?
Yes. By targeting named user-agents (GPTBot, ClaudeBot, CCBot) and leaving Googlebot and Bingbot allowed, your Google rankings remain 100% unaffected.
Suggested Tools for Your Stack
Explore related utilities in this workflow or discover cross-category tools.
Related in AI & GEO Visibility
AI Crawler & GEO Readiness Hub
Instant 0–100 GEO Visibility Score across 26+ AI bots (OpenAI, Perplexity, Gemini) and Cloudflare WAF.
llms.txt & Knowledge Context Generator
Generate and validate standard llms.txt & llms-full.txt files to provide structured context to AI search agents.
Recommended from Other Categories
SaaS UX & Friction Audit
0–100 Product Experience Score across onboarding, IA, visual hierarchy, and navigation.
SaaS Pricing Page & Psychology Analyzer
Audit tier differentiation, annual toggle psychology, feature comparison, and objection handling.