llms.txt is a concise, curated Markdown file at yourdomain.com/llms.txt that guides AI to your canonical pages, improving answers and citations. Create, organize, and update it; curate links, avoid noise, and treat ranking gains as indirect.
/llms.txt
(site root).llms-full.txt
for deep content.“llms.txt” is one of those new-ish things everyone keeps hearing about but few have fully wrapped their heads around. Here’s the complete picture, no fluff.
llms.txt
(in plain English)llms.txt
is a plain-text Markdown file you publish at https://yourdomain.com/llms.txt
. It’s a curated, LLM-friendly map of your most important content: a short intro, then organized links (ideally to clean, text/Markdown pages) with one-line descriptions. It was proposed by Jeremy Howard (Answer.AI) in Sept 2024 to help AI assistants use your site at answer time (not to crawl it like search bots).
Think of it as a hand-crafted sitemap for AI, not a rulebook like robots.txt. Its job is to point models to high-quality, canonical sources you want them to read/cite when answering questions about your brand, docs, products, or policies.
There’s also an optional companion, llms-full.txt
, which inlines much more of your content in one big Markdown file (useful for tooling and code assistants, but watch size). You’ll see live examples in the wild (e.g., Perplexity’s docs).
Short answer: it can help LLMs find, understand, and cite your best pages — but it’s not a guaranteed ranking lever (there’s no universal “LLM SERP” yet). Some platforms and ecosystems are experimenting (e.g., Anthropic/Perplexity interest; CMS/SEO tooling support), while others haven’t publicly committed, so treat it as smart enablement, not magic SEO.
Practically, sites adopting llms.txt
report benefits like:
llms.txt
files include/llms.txt
)# Your Project / Brand Name
> One-sentence what/why. Another sentence with scope or audience.
## Start here
- [Overview](https://example.com/overview.md): What the product is and who it’s for.
- [Quickstart](https://example.com/docs/quickstart.md): 5-minute setup with links to next steps.
## Product & docs
- [Core Concepts](https://example.com/docs/concepts.md): Key terms and mental model.
- [How-to Guides](https://example.com/docs/how-to.md): Tasks with step-by-step instructions.
- [API Reference](https://example.com/docs/api.md): Endpoints, auth, rate limits.
## Pricing & policies
- [Pricing](https://example.com/pricing.md): Plans, limits, billing cycles.
- [Terms of Service](https://example.com/legal/tos.md): Legal terms.
- [Privacy](https://example.com/legal/privacy.md): Data collection & processing.
## Support & status
- [FAQ](https://example.com/support/faq.md): Top issues and fixes.
- [Contact](https://example.com/support/contact.md): Email/chat/escalations.
- [Status](https://status.example.com): Reliability & incident history.
## Company & press
- [About](https://example.com/about.md): Mission, timeline.
- [Press kit](https://example.com/press.md): Logos, boilerplate, media contacts.
---
Last updated: 2025-08-11 • Maintainer: content@example.com
Tip: if you have deep technical docs, consider also publishing
/llms-full.txt
(a larger, single Markdown file that consolidates the most important docs for tools/agents), but keep an eye on size. LangChain
List the 20–60 pages you want models to hit first (docs, FAQs, pricing, legal, product pages). Trim duplicates and “OK-to-skip” pages.
Where possible, link to Markdown or clean HTML (strip heavy nav/JS). If you’re on a docs platform like Mintlify, many already generate both.
Use the template above. Keep link blurbs short (≈8–14 words). Group by intent (learn, build, buy, get help).
Save as llms.txt
and host it at https://yourdomain.com/llms.txt
. Many CMS/hosts now support dropping this into the root easily (e.g., Webflow added first-class support).
llms-full.txt
Generate a single, larger Markdown doc with the most useful long-form content. Link to it from llms.txt
under “For agents/tools.”
robots.txt
and llms.txt
logically aligned. If you block an area for AI user-agents in robots, don’t point to it in llms.txt
(polite bots won’t fetch it).llms.txt
?Not required; just ensure llms.txt
lives at the root and is publicly reachable. (Some folks add an FYI comment or a normal <link rel="...">
on docs pages, but it’s optional.)
Preferred, yes (cleaner input → better answers). If you only have HTML, keep it lightweight and clearly structured.
Keep llms.txt
short and pointed; if you need depth, put it in llms-full.txt
and link it.