llms.txt: What It Is, Does It Work, and Do You Need One?
Updated November 2, 2026: removed previously reported platform-data figures pending verification of the supporting methodology and publication permissions.
Understand the llms.txt convention, create a useful site-summary file and evaluate requests separately from answer citations.
What Is llms.txt?
llms.txt is a convention proposed by Jeremy Howard in September 2024. It asks websites to publish a Markdown file at /llms.txt that summarises the site and links to its key pages, so a language model can find the right content without parsing complex HTML, navigation and scripts.
The reasoning is simple: models have limited context windows, and a clean, curated file is easier to use than a full website. Documentation platforms adopted the idea quickly, because developer docs map neatly onto a list of linked pages. Much of what you read about llms.txt comes from tools that generate or host it, which is worth keeping in mind: their guides describe how to adopt the file, not whether it changes anything.
What llms.txt Does and Does Not Do
llms.txt is a voluntary convention, not a standard that any major AI engine has committed to reading when it answers questions. It is easy to confuse with the files you already know, so here is the difference:
| File | What it does | Who reads it | Effect on AI answers |
|---|---|---|---|
| robots.txt | Allows or blocks crawlers by user agent | Search and AI crawlers that respect it | Controls access; blocking a crawler can keep you out of that engine's results |
| sitemap.xml | Lists URLs for discovery | Search engines | Helps pages get found and refreshed |
| llms.txt | Summarises the site for a language model | Tools and agents that choose to fetch it | No confirmed effect on what AI engines cite |
What llms.txt does not do: it does not control crawling, it does not block AI training, it does not get pages indexed, and it does not guarantee citations. If you want to control which AI crawlers can reach your site, that is a job for robots.txt; our guide to robots.txt optimization covers the rules.
For which AI crawlers to allow or block, see AI crawlers and robots.txt.
How to Evaluate llms.txt Claims
Check file availability, actual requests and observed answer sources separately. Keep the question panel and observation window consistent when comparing outcomes; publishing a file and observing a later change does not establish causation.
Do You Need an llms.txt File?
The right answer depends on your site, not a universal rule. The file is cheap to add; the question is whether it deserves your time before other work.
| Site type | Recommendation | Why |
|---|---|---|
| Developer docs, APIs, SaaS with large docs | Add one | Low effort, mirrors your docs structure, and coding assistants and agents are the most likely readers |
| B2B SaaS marketing sites | Optional, low priority | Fix content and third-party presence first |
| Ecommerce (Shopify and similar) | Keep the default if you have one | Many stores already serve an auto-generated file; do not expect it to move citations |
| Publishers and blogs | Optional | Maintain accessible, useful articles before adding another summary file |
| Local businesses | Skip for now | Prioritise accurate business information and the channels your customers use |
| Agencies managing many sites | Add it last | Generate it in bulk once the higher-impact fixes are shipped |
Low cost, low proven benefit. Treat it as a five-minute task, not a strategy.
How to Create an llms.txt File
The format is plain Markdown:
- An H1 with your site or product name.
- A one-paragraph summary in a blockquote.
- Sections (H2) with lists of links to your most important pages, each with a short description.
A copy-paste template (illustrative):
# Acme
> Acme is project management software for remote teams of 5 to 200 people.
## Product
- [Features](https://acme.example/features): what the product does
- [Pricing](https://acme.example/pricing): plans and what each includes
## Docs
- [Getting started](https://acme.example/docs/start): setup in 10 minutes
- [API reference](https://acme.example/docs/api): every endpoint
## Company
- [About](https://acme.example/about): who we are
- [Contact](https://acme.example/contact): sales and support
Host it at the root of your domain so it loads at yourdomain.com/llms.txt as plain text, and update it when you add or remove key pages. If you would rather not write it by hand, our free llms.txt generator builds one from your site's existing pages.
What Actually Gets Sites Cited by AI Engines
Start with accurate, accessible pages that directly address a question. Inspect attributed sources in captured answers to understand what was observed. This guide does not rank tactics by a verified causal effect on citations.
How to Test Whether llms.txt Helps Your Site
Generate your own evidence instead of relying on vendor claims:
- Check your server logs for requests to
/llms.txtand note which user agents fetch it. Our guide to log file analysis for SEO and AI crawlers shows how. - Record a baseline of AI mention and citation rates across the engines and prompts you track.
- Publish the file and note the date. Change nothing else for the test period if you can.
- Re-measure on the same prompts after several weeks, and compare per engine.
If no requests or answer changes are observed, record that result and its observation limits; it does not prove the file can never be used. Tracking per engine matters here; our guide on how to track AI citations covers the method.
Where llms.txt Fits in Your Priority List
Treat llms.txt as an optional maintenance task. Address accurate content and access problems first, then keep any summary file aligned with your current site.
Generate Your llms.txt File Free
If you're adding the file anyway, get the Markdown right in a minute instead of hand-writing it.
Generate my fileFrequently Asked Questions
What is llms.txt used for?
llms.txt is a proposed Markdown convention for a site summary and links to important pages. Whether a particular tool reads or uses it depends on that tool. Serving the file does not itself demonstrate use in an answer.
Does llms.txt improve AI citations?
Adding llms.txt alone does not establish a citation improvement. Check whether the file is requested, then separately examine answer-source evidence using a consistent question panel. A before-and-after change alone cannot establish causation.
Is llms.txt the same as robots.txt?
No. robots.txt tells crawlers which parts of a site they may access, and crawlers that respect it follow those rules. llms.txt does not allow or block anything; it is a summary file that tools may choose to read. To control AI crawler access, use robots.txt.
Should I add an llms.txt file to my website?
Add one if you run developer documentation or a docs-heavy SaaS product, because it is cheap and agents are likely readers. For most other sites it is optional and low priority. Keep an auto-generated file if your platform already serves one, but do not expect it to change how often AI engines cite you.
How do I create an llms.txt file?
Write a Markdown file with your site name as an H1, a one-paragraph summary in a blockquote, and H2 sections listing your key pages as links with short descriptions. Save it as llms.txt at the root of your domain. A free generator can build it from your existing pages.
How can I tell if AI crawlers read my llms.txt?
Check your server or CDN logs for requests to /llms.txt and look at the user agents making them. Then compare your AI mention and citation rates before and after publishing the file, per engine, over several weeks.