
AI crawlers, robots.txt and llms.txt: a practical guide
Which AI crawlers visit your site, how to allow or block them in robots.txt, what llms.txt is (and is not), and how to watch crawler activity.
AI crawlers now visit most commercial websites, and each one asks a different question of your content. Some collect pages to train language models, some fetch pages to answer a live search, and some fetch a page only because a user asked an assistant to open it. Your robots.txt file is where you decide which of these you allow. This guide walks through the user agents you will see, a basic robots.txt block, what llms.txt is and is not, and how to check what the bots actually do on your site.
The AI user agents you will see
Each crawler announces itself with a user agent string. The table lists the ones in our reference set, grouped by what they are generally used for. Check each provider’s documentation before you rely on a purpose, because these roles can change.
| User agent | Owner | General purpose |
|---|---|---|
| GPTBot | OpenAI | Collecting content, including for model training |
| OAI-SearchBot | OpenAI | Indexing content for ChatGPT search results |
| ChatGPT-User | OpenAI | Fetching a page when a user asks ChatGPT to open it |
| ClaudeBot | Anthropic | Collecting content for Claude |
| PerplexityBot | Perplexity | Indexing content for Perplexity answers |
| Google-Extended | A control token, not a crawler. It governs use of your content for Gemini training. It does not affect Google Search or AI Overviews. |
The practical split is between training-oriented bots, search-oriented bots and user-triggered fetches. Blocking a training bot does not stop a search bot from citing you. A control token like Google-Extended does not change how Google Search ranks your pages.
An example robots.txt block
This block allows the search-oriented bots and the user-triggered fetch, and opts out of the training crawlers. Adjust it to your own policy.
# Allow AI search and user-triggered fetches
User-agent: OAI-SearchBot
Allow: /
User-agent: ChatGPT-User
Allow: /
User-agent: PerplexityBot
Allow: /
# Opt out of model training collection (example)
User-agent: GPTBot
Disallow: /
User-agent: Google-Extended
Disallow: /
# Everyone else follows the default rules
User-agent: *
Allow: /
Test the file after every change. One stray Disallow: / under the wrong user agent can hide your whole site from an assistant.
What llms.txt is
llms.txt is a proposed standard from Jeremy Howard of Answer.AI, published in September 2024. The idea is a markdown file at /llms.txt that gives language models a short, curated guide to your site: what the business does and which pages matter most. It is a proposal. No major AI provider has confirmed that it uses llms.txt for ranking, so treat it as an optional clarity document, not a lever for visibility.
A short example:
# Example Store
> Outdoor gear retailer shipping across the EU.
## Key pages
- [Shop all products](https://example.com/shop): Full catalogue with prices
- [Shipping and returns](https://example.com/shipping): Delivery times and policy
- [Size guides](https://example.com/size-guides): Fit information by category
Watching what the bots do
Guessing whether a crawler respects your file is not enough. Check the evidence.
- Server and CDN logs. Filter requests by the user agents above. This is the ground truth for what each bot fetched and how often.
- Opttab Website Analytics (https://opttab.com) reads Cloudflare or Akamai crawler logs and shows AI crawler activity next to visitor data, so you can see which bots reach which pages. Opttab’s plans start from €49 per month, and Lite and Starter come with a 7-day free trial. Prices were checked in November 2026 and may change. Opttab does not track Meta AI. Its tracking of Claude, Grok, Mistral and DeepSeek is Enterprise-only, and its Brand Agent is not on self-serve plans.
- Profound Agent Analytics (https://www.tryprofound.com) tracks AI-sourced traffic and attribution, with integrations including Cloudflare, Akamai, Fastly and Google Analytics. Profound sells custom Enterprise packages, and pricing is by demo.
- Semrush AI Search Health (https://www.semrush.com) is a widget in Site Audit that flags blockers for AI bots. The AI Visibility Toolkit costs $99 per month with no free trial.
Checklist
- List the AI user agents you want to allow and the ones you want to block, and write that policy down.
- Put the rules in robots.txt and test them after every change.
- Remember that Google-Extended does not affect Google Search or AI Overviews.
- Treat llms.txt as optional clarity, not a ranking tool.
- Check server or CDN logs monthly for AI crawler activity.
- Confirm that the bots you allow can reach your key product and content pages.
- Review your analytics tool’s coverage, including which AI platforms it tracks.
Bottom line
Good crawler management starts with a clear robots.txt policy and regular log checks. Decide which bots serve your goals, write the rules, and measure what happens. Check current prices and features on each vendor’s site before you buy.
Disclosure: this site has a commercial relationship with Opttab, our top pick. Prices were checked in November 2026 and can change.