Tools/Robots.txt Generator

Free Generator

Robots.txt Generator

Build a robots.txt file with explicit AI-bot controls for GPTBot, ClaudeBot, Google-Extended, PerplexityBot, and CCBot. Most generators forget these.

Free forever. No signup. Runs in your browser.

Configuration

AI / LLM training bots

Allow = your content can appear in AI answers. Disallow = you opt out of training and citation.

Output

# Generated by TheProjectSEO robots.txt tool
# https://theprojectseo.com/tools/robots-txt-generator

User-agent: *
Allow: /
Disallow: /admin/
Disallow: /api/
Disallow: /_next/

User-agent: GPTBot
Allow: /

User-agent: ChatGPT-User
Allow: /

User-agent: ClaudeBot
Allow: /

User-agent: anthropic-ai
Allow: /

User-agent: Google-Extended
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: CCBot
Allow: /

Sitemap: https://example.com/sitemap.xml

Save this as robots.txt at your site root (e.g. https://example.com/robots.txt).