Guide
What is llms.txt, and should your site have one?
A plain Markdown file that lists your best pages for language models. Cheap to add, but it does not replace robots.txt or a sitemap.
Short answer
llms.txt is a proposed Markdown file at the root of a site that gives language models a short summary and a list of the most useful pages; it is cheap to add, but Google has said its Search features don't use it, so treat it as a small extra, not a ranking factor.
Key takeaways
- llms.txt was proposed in September 2024 as a Markdown summary of a site for language models.
- It sits at /llms.txt, starts with an H1 and a short summary, then lists links grouped under H2 headings.
- It does not control crawling; robots.txt still decides which bots may fetch your pages.
- Google has said it does not use llms.txt for Search or AI Overviews.
- It is most useful for documentation and reference sites that coding tools and AI agents read.
A small text file called llms.txt has started appearing at the root of documentation sites, SaaS products and blogs. Some SEO tools now flag its absence. Before you add one, it helps to know what it is, who reads it and what it can't do.
What is llms.txt?
llms.txt is a proposed Markdown file at the root of a website that summarizes the site and links to its most useful pages for language models.
Jeremy Howard of Answer.AI published the proposal in September 2024. The idea is simple. Web pages are full of navigation, scripts and layout, and a model that reads a site, or an AI agent working on a task, has limited room for context. A short, curated Markdown file points it straight at the content that matters.
It is a convention, not a standard from a standards body, and no crawler is required to read it.
What goes in the file?
An H1 with the site name, a one-paragraph summary in a blockquote, optional notes, and lists of links under H2 headings.
A small example:
# Example Tools
> Free browser tools for checking images, fonts and colors. No signup.
## Tools
- [Image size checker](https://example.com/image-size/): finds oversized images on a page
- [Font pairing tool](https://example.com/fonts/): suggests heading and body font pairs
## Guides
- [Compressing images for the web](https://example.com/guides/compress/): formats and quality settings
## Optional
- [Changelog](https://example.com/changelog/)
The proposal treats an "Optional" section as content a tool can skip when space is short. Some sites also publish llms-full.txt, a single file with the full text of their key pages.
How is it different from robots.txt and a sitemap?
robots.txt sets crawl rules, a sitemap lists every indexable URL, and llms.txt is a short curated reading list with descriptions.
| File | Purpose | Who reads it | Enforced? |
|---|---|---|---|
| robots.txt | Allow or block crawling | Search and AI crawlers | Voluntary, widely honored |
| sitemap.xml | List all URLs you want indexed | Search engines | No |
| llms.txt | Summarize the site and its best pages | Some AI tools and agents | No |
Adding llms.txt does not let any bot in or keep any bot out. If your robots.txt or your CDN blocks AI crawlers, they can't fetch the pages llms.txt points to. The AI crawlers guide covers those settings, and the Robotto checker shows whether GPTBot, ClaudeBot, PerplexityBot, Google-Extended and CCBot are allowed by your robots.txt.
Does Google use llms.txt?
Google has said its Search features, including AI Overviews, do not use llms.txt, and that normal SEO practice is what matters for them.
Google representatives have described the file as not used and compared it to the old keywords meta tag, and Google's guidance on AI features in Search says no special files are needed. Other AI companies have not documented using llms.txt in their crawlers either. Where it does get read is by tools that a person points at a site: coding assistants reading library documentation, agents asked to work with a product's API, and similar cases where someone deliberately fetches it.
Should your site have one?
Add one if you run documentation, an API or a reference site, or if you can generate it automatically; skip it if it would be one more file to keep up by hand.
Good candidates:
- Developer documentation and API references.
- Product help centers.
- Sites with a clear set of tools or guides that an agent might need.
Weaker candidates:
- News sites, where the "best pages" change daily.
- Small sites whose navigation already makes everything obvious.
The cost is low either way. A build step that writes the file from the same data as your sitemap keeps it accurate with no extra work.
Will it get your site cited by AI assistants?
Nothing shows that llms.txt makes AI assistants cite a site more often; crawlable pages with clear answers matter far more.
AI search features and chat assistants that browse the web find pages through search indexes and their own crawlers, and they quote pages that answer questions directly. That favors the same things good SEO already rewards: a fast HTML page, a clear title, a short answer near the top and accurate facts. An llms.txt file can help an agent find your best pages once it is already on your site. It does not put you in front of the agent in the first place.
How do you add one well?
Keep it short, link to stable canonical URLs, describe each link in one line and regenerate it on every build.
- Put it at
https://yourdomain.com/llms.txt, served as plain text or Markdown with status 200. - Start with the H1 and a one-sentence summary that a model could quote.
- List tools, guides and key reference pages, with absolute URLs.
- Leave out login pages, search results and thin tag archives.
- Make sure robots.txt doesn't block the pages you list.
- Check the file loads from outside your network, the same way you would test robots.txt.
Treat it as a small courtesy to the tools that read it. The work that decides whether people and search engines find your pages is still crawlable HTML, clean redirects and a sitemap that loads.
Questions
Does llms.txt block AI crawlers?
No. llms.txt is a reading list, not a set of rules. To allow or block crawlers you use robots.txt, and to block at the network level you use your CDN or firewall settings.
What is llms-full.txt?
A companion file some sites publish with the full text of their key pages in one Markdown document. It saves an AI tool from fetching many pages, but it can be large, so keep it to content you are happy to have read in full.
Will an llms.txt file improve my rankings?
There is no evidence it does. Google has said it does not use the file, and its general advice is that normal SEO practices also apply to AI features in Search.
How often should I update llms.txt?
Whenever you add or remove an important page. Generating it during your site build keeps it from going stale.