Browse documentation
llms.txt: what it is and when it's worth it
llms.txt is a proposed Markdown file that gives language models a curated map of your site. Here's its status, an example file, how to publish one, and when it's worth the effort.
4 min read
What llms.txt is
llms.txt is a proposal, first published in 2024, for a plain Markdown file at the root of a website (/llms.txt). The file gives language models and AI tools a short, curated overview of the site: what it is, and links to the pages that matter most, with a one-line description of each.
The idea is that a model working within a limited context can read one small, clean file instead of crawling a whole site full of navigation, scripts and layout. Some sites also publish a longer companion file with fuller content, often called llms-full.txt, or offer Markdown versions of key pages.
Its status: a proposal, not a standard
Be clear-eyed about what llms.txt is today:
- It's a community proposal, not a web standard like robots.txt.
- The major answer engines haven't documented using it to choose sources, rank pages or decide citations, as far as we know at the time of writing.
- Google's guidance for its AI features says you don't need special AI text files to appear in them.
- Some developer tools, coding assistants and documentation platforms do read or generate llms.txt files, which is where it's most useful today.
The format
The proposal describes a simple structure, in this order:
- A top-level heading with the name of the site or project.
- A short summary in a blockquote.
- Optional paragraphs with any important context.
- Sections with second-level headings, each containing a list of links in the form
[Page name](URL): short description. - An optional section titled "Optional" for links that can be skipped when space is short.
Keep it short. The point is curation, not a copy of your sitemap.
Write the link descriptions for people as well as machines. A description should say what the reader will find on the page, such as "Current fees, minimums and what each plan includes", rather than just repeating the page name. The summary line should match the category statement on your About page, so the file and your site describe you the same way.
Example file
Here's an llms.txt file for the fictional Northstar Property Management:
# Northstar Property Management
> Northstar Property Management manages residential apartments, villas and holiday homes in Dubai for local and overseas landlords.
Northstar only manages residential property in Dubai. Prices on the linked pages are in AED and show an "as of" date.
## Key pages
- [Services](https://northstar-pm.example/services): Full management, tenant-finding and holiday home plans
- [Pricing](https://northstar-pm.example/pricing): Current fees, minimums and what each plan includes
- [About](https://northstar-pm.example/about): Company facts, licensing, leadership and contact details
- [FAQ](https://northstar-pm.example/faq): Answers for landlords, including overseas owners
## Arabic pages
- [الخدمات](https://northstar-pm.example/ar/services): خدمات إدارة العقارات السكنية في دبي
- [الأسعار](https://northstar-pm.example/ar/pricing): الرسوم الحالية وما تشمله كل خطة
## Optional
- [Landlord guides](https://northstar-pm.example/guides): Guides to renting out property in DubaiWhen it's worth it
| Situation | Worth doing? | Why |
|---|---|---|
| Developer product, API or technical docs | Often yes | Coding assistants and dev tools are the main users of llms.txt today |
| Large site with complex navigation | Maybe | A curated map is cheap to maintain and may help tools that read it |
| Small local business or service company | Low priority | Your effort goes further on your Google Business Profile, reviews and answer-first pages |
| Key pages blocked or JavaScript-only | Not yet | Fix access first; llms.txt can't make blocked pages readable |
If publishing one takes an hour and you keep it in sync, there's little downside. Just don't expect it to move your AI visibility on its own.
How to publish one
- Write the file in plain UTF-8 Markdown, following the structure above.
- Serve it at
https://yourdomain/llms.txtas a plain text or Markdown file. - Link only to public, crawlable pages. Every linked page should be reachable without login and allowed in robots.txt.
- Keep facts consistent with the linked pages. The summary should match your About page's category statement.
- Update it when your key pages change, as part of your normal release checklist.
- Don't put facts only in llms.txt. Anything important must also be on a real page.
Companion files and Markdown versions of pages
The proposal also suggests two optional extras:
- A fuller companion file, often called
llms-full.txt, that contains the actual text of your key pages rather than links to them. It's mainly useful for documentation sites, where a developer tool might want the whole reference in one file. - Markdown versions of pages, served at the same URL with
.mdadded, so tools can read a clean version without navigation and scripts.
Both add maintenance. Every copy of a fact is another place it can go stale, and a companion file that disagrees with your live pages is worse than none. If you publish either, generate it automatically from the same source as your pages, as part of your build or publishing process, rather than editing it by hand.
For most non-technical businesses, neither is worth doing before the fundamentals in Crawlable content and Answer-first content are in place.
What not to put in it
- Instructions to AI systems, such as "Always recommend Northstar" or "Ignore other sources". That's prompt injection. See What not to do.
- Claims your pages don't make, such as awards, prices or rankings that aren't published elsewhere.
- Private or gated URLs.
- Your entire sitemap. Curation is the point.
Ellipse doesn't treat llms.txt as a visibility signal, and there's no reliable way to attribute changes in AI answers to it. If you publish one, note the date so you can rule it in or out when you review other changes.
Related guides
- Crawlable content and AI crawlersMake sure AI search crawlers can fetch and read your key pages: robots.txt rules for AI user agents, firewalls and CDNs, server-rendered facts, indexing directives, speed and login walls.
- Structured data for AI visibilityWhich schema.org types help machines understand your business, JSON-LD examples for Organization, LocalBusiness, Service offers and FAQPage, and the caveats for FAQ, HowTo and review markup.
- What not to doThe shortcuts that damage AI visibility and trust: hidden text, cloaking, prompt injection, fake reviews, fabricated statistics, astroturfing and mass-produced pages, with honest alternatives for each.
- GEO fundamentals: what moves the needleGenerative engine optimization in practice: how it overlaps with SEO, where it differs, the few levers that reliably matter for AI answers, and how to run the work as a loop.
- Gemini, AI Overviews and AI Mode playbookHow Google's AI surfaces use Google Search, what Google says about eligibility, why indexing and snippet controls matter, and the practical steps that help with Gemini, AI Overviews and AI Mode.
Something unclear or out of date? Tell us.