Content · Guides
What is llms.txt, and how do you add one to your website?
llms.txt is a plain Markdown file that summarises your site for AI assistants: what to put in it, an example structure and its honest limits.
Key takeaways
llms.txtis a proposed convention: a Markdown file at your site root that summarises who you are and links to your key pages.- It is meant to be easy for language models to read without crawling many HTML pages.
- It does not replace
robots.txtor a sitemap, and no search engine has promised to use it for ranking. - The value is clarity: it forces you to describe your site honestly in one place.
What it is
A language model that visits a website has to wade through navigation, scripts and repeated layout to find the content. llms.txt is a plain-text shortcut: a Markdown file at /llms.txt with a short description of the site and a curated list of important links, each with a one-line note.
It is a proposal, not an official web standard, and support among AI tools varies. I added one because it costs almost nothing and makes me write a precise summary of my work.
How it differs from other files
| File | Purpose | Audience |
|---|---|---|
robots.txt | Tells crawlers what they may fetch | Crawlers |
sitemap.xml | Lists URLs for indexing | Search engines |
llms.txt | Describes the site in readable form with key links | Language models and people |
None of them guarantees rankings or citations. robots.txt and the sitemap remain the important ones for search.
The structure
A typical file has:
- A title, as an H1.
- A one-line summary in a blockquote.
- A short paragraph of context.
- Sections with lists of links, each followed by a colon and a short description.
For example:
# Your Name
> One sentence on who you are and what you do.
## Products
- [Product](https://example.com/product/): What it does, in one honest line.
## Writing
- [Blog](https://example.com/blog/): What the posts cover.
Put it at the root so it is available at https://example.com/llms.txt.
What I put in mine
My file has a short summary, then sections for my startup, products, client work, lab projects and other pages. Each entry has a plain, factual line, including limits such as "personal tool, not for sale", "in development" or "not released". The same honesty rule I use for case studies applies. See how to write an honest case study.
What makes a good entry
- Name the thing and what it does, not marketing words.
- Include status: live, in development, pre-launch.
- Add the facts a model might otherwise get wrong: prices, platforms, licences.
- Link to the canonical URL.
- Keep each line short.
Keep it true
The risk is drift. When I add a project page, the sitemap and llms.txt both need updating, or the summary starts to lie. I treat them as part of publishing a page, in the same pass.
Does it help SEO?
There is no confirmed ranking benefit, and I would be sceptical of anyone who promises one. What is useful is that it is a low-cost way to give AI assistants an accurate summary, and a good exercise in describing your site. Your main SEO work still lies in useful content, sound titles and descriptions, internal links, a correct sitemap and fast pages.
Related: structured data
Search engines understand structured data such as schema.org JSON-LD for articles, breadcrumbs and FAQs. That is a more established way to help machines understand individual pages. llms.txt complements it at the site level.
Frequently asked questions
Do I need a llms-full.txt too?
Some sites also publish a longer version with full content. It is optional, and not needed for a small site.
Can it hurt anything?
Only if it contains inaccurate claims. Treat it like any public page.
Where does it go?
At the root of your domain, next to robots.txt.
Want your site to be understood by people and by machines?
Get in touch