What is llms.txt?
Definition
llms.txt is a plain-text file at the root of a website that tells AI assistants what the site is and which pages matter most. It is a proposed convention, not a formal standard, and it sits alongside robots.txt.
Also called: LLMs.txt file, AI site summary, Site summary for LLMs
What goes in an llms.txt file?
An llms.txt file holds a short Markdown summary of your site and links to its key pages, written for language models. Some sites add a second file, llms-full.txt, with the full text of those pages, so an assistant can read everything in a single fetch. The proposal suggests this shape for llms.txt:
- A heading with the site or product name.
- A one-paragraph summary of what it does.
- Sections of links to the pages that matter, each with a one-line note.
- An optional section of links an assistant can skip when it is short on space.
How is llms.txt different from robots.txt and a sitemap?
robots.txt sets rules, a sitemap lists pages, and llms.txt explains them. robots.txt tells crawlers what they may fetch. A sitemap gives search engines every URL you want found. llms.txt picks the few pages that answer most questions and says, in plain words, what each one is for.
None of them replaces the others. An llms.txt file grants no access that robots.txt denies, and it does not hide pages that robots.txt allows. It also does nothing about bot traffic that ignores the rules.
Do AI assistants actually read llms.txt?
Some do and some don't, so treat it as a cheap extra, not a ranking trick. It is a proposal from 2024, and no assistant or search engine is bound to fetch it. It helps most when someone points an assistant at it on purpose, for example to load a product's docs in one go. An MCP server is how an assistant acts on a site; llms.txt is how it learns about one.
What matters more is that the pages it links to are clear, current and easy to quote. A good llms.txt is short and generated from the same source as your site, so it never lists a page or a fact that has changed.
| File | Written for | What it does |
|---|---|---|
| robots.txt | Crawlers | Says which paths they may fetch |
| sitemap.xml | Search engines | Lists the URLs you want found |
| llms.txt | AI assistants and agents | Summarises the site and its key pages |
| llms-full.txt | AI assistants and agents | Puts the full text of key pages in one file |
llms.txt: common questions
Where do I put llms.txt?
At the root of your domain, so it opens at yoursite.com/llms.txt. Serve it as plain text and keep it short enough to read in one fetch.
Does llms.txt help SEO?
Not directly. Search engines rank your pages, not this file. It can help an AI assistant find the right page to answer from.
Is llms.txt an official standard?
No. It is a community proposal with a published format, and support varies between AI tools. It costs little to add, but nobody is required to follow it.
Can llms.txt stop AI from training on my content?
No. It describes your site; it does not set permissions. To ask crawlers not to train on your pages, use robots.txt rules or content signals, and know that only well-behaved crawlers follow them.
What is llms-full.txt?
A companion file with the full text of your key pages in one place. An assistant can read the whole site at once instead of fetching page after page.
Related terms
- MCP serverAn MCP server is a service that speaks the Model Context Protocol, an open standard that lets AI assistants like Claude or ChatGPT use outside tools. Connect a file host's MCP server and the assistant can publish a file and hand you the link.
- Bot trafficBot traffic is the opens a link gets from software rather than people: chat apps building a preview, email security scanners checking for phishing, search crawlers and uptime monitors. It is a common reason view counts look too high.
- Static siteA static site is a website made only of ready-made files (HTML, CSS, JavaScript and images) with no server code or database. You can publish one by uploading a ZIP of the folder.
- API keyAn API key is a secret string that lets a script or app act on your account without your password. Treat it like a password: keep it out of public code, and delete it when you no longer need it.
Go deeper
Updated