ShipBastion / Security guides / llms.txt guide: format, examples and common mistakes
llms.txt guide: format, examples and common mistakes
llms.txt is a Markdown file at the root of your site that gives AI agents a short, curated map of your most useful pages. It is a proposal, not a ranking factor any major AI engine has confirmed, but it is cheap and helps agents that do read it.
Free scan. Sign in with Google to see the full report; paid plans start with a 7-day free trial.
Format
An H1 title, a blockquote summary, then H2 sections with Markdown link lists.
# Acme > Acme is a payments API for SaaS. Docs, pricing and API reference below. ## Docs - [Quickstart](https://acme.com/docs/quickstart): first payment in 5 minutes - [API reference](https://acme.com/docs/api): every endpoint ## Optional - [Changelog](https://acme.com/changelog)
Serve it correctly
Return HTTP 200 with text/plain or text/markdown. The most common mistake is a single-page app answering /llms.txt with its HTML shell and status 200: a soft 404 that agents cannot use.
curl -sI https://yourdomain.com/llms.txt | grep -i content-type
See who has one
Our AI Crawler Index records which of the top 100 sites serve a real llms.txt and which return soft 404s.
Try it on your own domain
Free scan, no card. Pro is $19/mo after a 7-day free trial and covers all four scanners: VibeShield, CiteReady, InboxShield and BrandShield.
FAQ
Does llms.txt improve rankings in ChatGPT or Google?
No major engine has confirmed using it for ranking. It helps agents and tools that read it; it is not a substitute for crawlable pages.
Related
robots.txt rules for AI crawlers: training vs search bots
Which AI user-agents train models and which power AI search: GPTBot vs OAI-SearchBot, ClaudeBot vs Claude-SearchBot, PerplexityBot, Google-E...
Allow GPTBot, ClaudeBot and PerplexityBot through Cloudflare's WAF
Your robots.txt allows AI crawlers but Cloudflare blocks them. How to check the AI bot setting, add a WAF skip rule for verified AI crawlers...
CiteReady vs Otterly.ai
CiteReady vs Otterly.ai: $19/mo vs EUR 29/mo. Live WAF probing with 4 real AI bot user-agents, 47-bot robots.txt audit and llms.txt checks, ...