The Practical llms.txt Guide for Technical & Product Websites
How to structure /llms.txt so AI agents and crawlers find your canonical pages without broken links, soft 404s, or bloat.
Why llms.txt exists
Large language models and answer engines have limited context windows and strict fetch budgets. Even when your sitemap.xml lists thousands of URLs, an agent looking for product pricing, API references, or documentation often needs one curated, plain-Markdown map at /llms.txt.
Publishing /llms.txt does not guarantee citations or rankings — no technical file can force a model to recommend a site. What it does is remove ambiguity when an automated reader checks your site for authoritative entry points.
Recommended structure
Following the llms.txt specification, keep the file concise, UTF-8 encoded, and served with text/plain or text/markdown and HTTP 200:
# Your Product Name
> One-sentence plain-language summary of what the site does and who it serves.
## Documentation
- [Quickstart](https://example.org/docs/quickstart): Install and run in five minutes
- [API Reference](https://example.org/docs/api): Authentication, endpoints, and error codes
## Product
- [Pricing](https://example.org/pricing): Plans and exact quotas
Key structural signals GEOReady checks in F16:
- Exactly one
# H1title naming the site or project. - A
>blockquote summary right below the title explaining what the site is. - Clear
## H2sections grouping links by purpose (Documentation, API, Pricing, Legal). - Standard Markdown link entries formatted as
- [Title](https://...): Short descriptionpointing to real, live200pages.
Common mistakes that reduce readiness
- Soft 404 HTML fallback: Single-page apps often return
200 OKwith the homepageindex.htmlfor/llms.txt. Always serve real plain text or return a true404when absent. - Broken or stale links: Listing deleted docs or redirecting URLs wastes agent fetch budgets. Keep
/llms.txtgenerated from your live route table or content collection. - Unbounded dumps: Pasting every blog tag or marketing landing page defeats the point of a curated index. Prioritize canonical docs, pricing, and reference pages.
- Mismatched hosts: Double-check that links use your production
https://origin rather than staging orlocalhostURLs.
Verify your implementation
Run a free readiness check on your domain to inspect F16 evidence: response status, MIME type, structural counts, and sampled link health.
Check your live site against these rules
Run a free rule-based readiness check to inspect your real HTTP responses, robots.txt verdicts, llms.txt structure, and JSON-LD evidence.