AI Crawlers, Robots.txt and llms.txt
Decide which AI systems may read your site, and make your best content easy to use.
Hello. In this lesson I will take you through 4 ideas, one at a time.
Why it matters: Decide which AI systems may read your site, and make your best content easy to use. After each idea I will ask you one quick question.
In this lessonFollows you as you read
Know the crawlers
The short version: AI companies run crawlers for training and for live search or answers.
AI companies run crawlers for training and for live search or answers. They identify themselves with user agents that you can allow or block in robots.txt. Blocking training crawlers may not block search or answer crawlers from the same company, which often use different user agents.
Check each provider's documentation for current user agent names before changing rules.
Does blocking a training crawler always block a provider's answer crawler?
Decide by goal
The short version: If you want to appear in AI answers, allow the crawlers that power AI search and answers, and make sure key pages render in raw HTML.
If you want to appear in AI answers, allow the crawlers that power AI search and answers, and make sure key pages render in raw HTML. If some content is licensed or private, block crawlers for those paths and keep it behind login.
Record your policy and review it as providers change.
What is llms.txt?
llms.txt
The short version: llms.txt is a proposed convention: a Markdown file at your site root that gives AI systems a short summary of your site and links to the most useful pages.
llms.txt is a proposed convention: a Markdown file at your site root that gives AI systems a short summary of your site and links to the most useful pages. It is not a standard that all systems read, but it is cheap to add and helps tools that use it.
Keep it accurate and short, and update it when key pages change.
Why use repeated checks to measure AI visibility?
Measure AI visibility
The short version: Track whether AI assistants name and cite your site for buyer questions, using repeated checks because answers vary run to run.
Track whether AI assistants name and cite your site for buyer questions, using repeated checks because answers vary run to run. Watch referral traffic from AI assistants in analytics.
XDQ Labs built AI Search Tracker to measure this across ChatGPT, Gemini, Claude and Perplexity.
- AI crawlers for training and answers often use different user agents
- Set robots.txt rules by goal and review them
- Render citable content in raw HTML
- Add a short, accurate llms.txt
- Measure AI visibility with repeated checks
Review your robots.txt for AI user agents against your goals, write a short llms.txt for your site, and check whether your top pages render content in raw HTML.
Mark it complete to track your progress on this device.