AI Robots.txt Generator

Generate robots.txt with AI crawler controls - allow or block GPTBot, Claude, Google AI

Control AI Access: Select which AI crawlers can access your site. Allowing AI crawlers helps your content appear in ChatGPT, Claude, and other AI search results. Upload the generated robots.txt to your site's root directory.

AI Crawlers

|

GPTBot

Allowed

OpenAI's ChatGPT crawler

GPTBot

ChatGPT-User

Allowed

ChatGPT browsing feature

ChatGPT-User

Claude-Web

Allowed

Anthropic's Claude crawler

Claude-Web

ClaudeBot

Allowed

Anthropic's Claude bot

ClaudeBot

Google-Extended

Allowed

Google's AI training crawler

Google-Extended

PerplexityBot

Allowed

Perplexity AI crawler

PerplexityBot

Applebot-Extended

Allowed

Apple Intelligence crawler

Applebot-Extended

Amazonbot

Allowed

Amazon's AI crawler

Amazonbot

Diffbot

Allowed

Diffbot AI crawler

Diffbot

FacebookBot

Allowed

Meta's AI crawler

FacebookBot

ImagesiftBot

Allowed

AI image indexing bot

ImagesiftBot

Omgilibot

Allowed

Omgili AI crawler

Omgilibot

Bytespider

Blocked

ByteDance (TikTok) crawler

Bytespider
Status:
12 Allowed1 Blocked

Additional Settings

Optional: Link to your XML sitemap

Optional: Add custom robots.txt directives

Generated robots.txt

Copy and paste to your site

# robots.txt generated by Attensira
# https://attensira.com/tools/robots-generator

# Allowed AI Crawlers
# GPTBot - OpenAI's ChatGPT crawler
User-agent: GPTBot
Allow: /

# ChatGPT-User - ChatGPT browsing feature
User-agent: ChatGPT-User
Allow: /

# Claude-Web - Anthropic's Claude crawler
User-agent: Claude-Web
Allow: /

# ClaudeBot - Anthropic's Claude bot
User-agent: ClaudeBot
Allow: /

# Google-Extended - Google's AI training crawler
User-agent: Google-Extended
Allow: /

# PerplexityBot - Perplexity AI crawler
User-agent: PerplexityBot
Allow: /

# Applebot-Extended - Apple Intelligence crawler
User-agent: Applebot-Extended
Allow: /

# Amazonbot - Amazon's AI crawler
User-agent: Amazonbot
Allow: /

# Diffbot - Diffbot AI crawler
User-agent: Diffbot
Allow: /

# FacebookBot - Meta's AI crawler
User-agent: FacebookBot
Allow: /

# ImagesiftBot - AI image indexing bot
User-agent: ImagesiftBot
Allow: /

# Omgilibot - Omgili AI crawler
User-agent: Omgilibot
Allow: /

# Blocked AI Crawlers
# Bytespider - ByteDance (TikTok) crawler
User-agent: Bytespider
Disallow: /

# Standard Search Engines
User-agent: *
Allow: /

How to Use:

  1. 1.Click the "Copy" button above to copy the robots.txt content
  2. 2.Create a file named "robots.txt" in your site's root directory
  3. 3.Paste the content and save the file
  4. 4.Upload to your site (e.g., https://yoursite.com/robots.txt)
  5. 5.Verify it's accessible by visiting yoursite.com/robots.txt

See Where You Rank in AI Search Results

Get your free AI visibility report in 60 seconds. Track how often ChatGPT, Claude, and Google AI mention your brand—and discover exactly what your competitors are doing to outrank you.