← Blog and resources
Technical

How to let ChatGPT, Claude and Perplexity read your website: a robots.txt guide

Many websites block AI crawlers without realizing it. Which bots exist, what each one does and how to configure them.

9 October 20265 min readVisaeon

Short answer: if your robots.txt file blocks the search crawlers of AI assistants, they can't read your website when they look for information to answer with. It's one of the easiest mistakes to fix, and one of the most common.

What robots.txt is

It's a text file at the root of your domain (for example, yourcompany.com/robots.txt) that tells crawlers what they're allowed to visit. Some security plugins, CDNs and themes block bots they don't recognize by default, and AI bots often get caught by this.

The crawlers worth knowing

Each company uses several bots with different purposes. The key is to separate training (using your content to train models) from search (reading your website to answer a user right now).

CompanyBotPurpose
OpenAIOAI-SearchBotSearch in ChatGPT
OpenAIChatGPT-UserVisits ChatGPT makes when a user asks it to
OpenAIGPTBotModel training
AnthropicClaude-SearchBotSearch in Claude
AnthropicClaude-UserVisits Claude makes when a user asks it to
AnthropicClaudeBotModel training
PerplexityPerplexityBotPerplexity's search index
PerplexityPerplexity-UserVisits when a user asks for them
GoogleGoogle-ExtendedControls the use of your content for Gemini; does not affect your presence in Google Search

Bot names and behavior change over time. Check each company's official documentation before changing your configuration.

A sensible configuration

If you want to show up in assistants' answers, allow at least the search bots and the user-visit bots. Training is a business decision: you can allow it or not.

# Search and user visits: allow
User-agent: OAI-SearchBot
User-agent: ChatGPT-User
User-agent: Claude-SearchBot
User-agent: Claude-User
User-agent: PerplexityBot
User-agent: Perplexity-User
Allow: /

# Training: your call (allowed here)
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Google-Extended
Allow: /

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

Common mistakes

  • A blanket Disallow: / for all bots, left over from when the website was in development.
  • Blocks in the CDN or firewall (for example, anti-bot rules) that don't show up in robots.txt but return errors to crawlers.
  • Content that only loads with JavaScript. Some crawlers don't run JavaScript: if your main text isn't in the HTML, they may not read it.
  • No sitemap, or an outdated one.

How to check

Open yourdomain.com/robots.txt in your browser and look for Disallow lines that affect the bots in the table. The Visaeon free check reviews it automatically and tells you what to change. You can run it for free here.

Does AI recommend you?

Find out with a free check of your website.

Run my free check →