SEO and AEO · 5 minute read
What llms.txt is and how to write one
What is llms.txt? A plain Markdown file at /llms.txt that summarises your site for AI tools. What goes in it, a template, and what it will not do.
llms.txt is a plain text file in Markdown, placed at the root of your website (yoursite.com/llms.txt), that gives AI tools a short, clean summary of who you are and links to your most important pages. It was proposed in September 2024 by Jeremy Howard of Answer.AI, and it is a convention, not an official standard. It is cheap to make and useful for some AI agents, but Google has said it does not use it, so do not expect it to change your rankings.
I built one for this site. You can read it at /llms.txt. Below is what the format looks like, how I wrote mine, and where I think it is worth the effort.
Why llms.txt exists
Web pages are built for people with browsers. They come with navigation, scripts, cookie banners, footers and layout code. An AI model reading a page has to dig the actual content out of all that, and it has limited room to read.
llms.txt is a shortcut. Instead of crawling your whole site to work out what you do, an agent can read one small file that tells it directly, in plain text, and points to the pages that matter.
Think of it as a cover note for machines. robots.txt says what a crawler may read. A sitemap lists every page. llms.txt says what the site is and which pages to read first.
The format
The proposal at llmstxt.org keeps it simple. In order:
- An H1 with the name of the site or project. This is the only required part.
- A blockquote with a short summary, one or two lines.
- Optional paragraphs with more detail.
- H2 sections with lists of links, each written as a Markdown link followed by a short note.
- An "Optional" section, if you want one, for links an agent can skip when it is short on space.
The proposal also suggests offering Markdown versions of key pages at the same URL with .md added. That part is optional and most small sites skip it.
A template you can copy
# Your Company Name
> One sentence on what you do, for whom, and where.
A short paragraph with the facts an assistant should get right:
what you offer, who you work with, and how to get in touch.
## Services
- [Service one](https://yoursite.com/services/one/): what it is in one line
- [Service two](https://yoursite.com/services/two/): what it is in one line
## Proof
- [Case study one](https://yoursite.com/work/one/): the client, the problem, the result
- [Case study two](https://yoursite.com/work/two/): the client, the problem, the result
## Articles
- [Article title](https://yoursite.com/blog/slug/): one line summary
## Contact
- Email: hello@yoursite.com
- Booking: https://yoursite.com/book/
## Optional
- [About](https://yoursite.com/about/): background and history
Save it as llms.txt at the root of your domain, served as plain text. That is the whole job.
How I set up the one on this site
My file is generated, not hand written. This site is built with Next.js, and llms.txt is a route that builds the file from the same config files the pages use. Services, case studies, blog posts, recognition and contact details all come from one place. When I add a case study or a post, it shows up in llms.txt automatically. It cannot drift from what a human sees.
The sections in mine:
- A one line description and a short paragraph on who I am and where I work.
- Outcomes: the numbers I am happy to be quoted on, like 10,000+ interviews across my career, Cowlar from 14 to 136 people, ImagineArt from 130 to 208, and 30+ engineers placed through Placentek.
- Services, each with one line and one piece of proof.
- Case studies, each with the client, country, years, a summary and a link.
- Blog, with every post title, description and link.
- Speaking and recognition, and Education.
- What can be booked, how booking works and packages.
- What is not promised: no guarantee of a job, offer or business outcome.
- Pages and Contact.
I bend the format in places. Some sections are short paragraphs instead of link lists, because the point is that an assistant gets the facts right. I would rather it quote "no guarantee of a job" accurately than make something up.
The "what is not promised" section is the one I would copy first. If an assistant is going to describe your business, you want it to know your limits as well as your offer.
What llms.txt will not do
Be clear on this before you spend time on it.
- It is not a ranking factor. Google has said publicly that it does not use llms.txt, and that normal SEO is what matters for AI Overviews.
- It is not a guarantee of citation. No major AI company has committed to reading it for search answers.
- It does not replace anything. You still need robots.txt, a sitemap, structured data and good pages. I cover the rest in what AEO and GEO are.
Where it does help: AI coding tools and agents that are pointed at a site, especially documentation sites, can read it to find the right pages quickly. Several AI and developer tool companies publish one for their own docs for that reason.
My view: for a small business it takes an hour, it costs nothing to host, and it forces you to write down the plain facts about your business in one place. That exercise alone is worth doing.
Checklist for a good llms.txt
- The name and a one sentence summary at the top.
- Facts that are true and the same as on your site and LinkedIn.
- Links to your best pages, not every page.
- One line per link that says why the page matters.
- What you do not do or do not promise.
- Contact details an assistant can quote.
- Served at /llms.txt as plain text, and kept up to date. Generate it from your site data if you can.
Questions people ask
What is an llms.txt file?
It is a Markdown file at the root of a website that summarises the site for AI models and links to its key pages. It was proposed in 2024 by Jeremy Howard of Answer.AI. It is a community convention, not an official web standard.
Does Google use llms.txt?
No. Google has said it does not use llms.txt for search or AI Overviews. Some AI agents and coding tools can read it, which is where it is most useful today.
Where do I put llms.txt?
At the root of your domain, so it loads at yoursite.com/llms.txt. Serve it as plain text. On WordPress there are plugins that generate one, and on custom sites you can generate it at build time.
What is the difference between llms.txt and robots.txt?
robots.txt tells crawlers what they are allowed to access. llms.txt tells AI tools what your site is and which pages to read first. One is about permission, the other is about summary.
Is llms.txt worth it for a small business?
It is worth an hour, not a project. It will not lift your rankings, but it gives agents a clean summary and makes you write your facts down in one place. Spend the real effort on your pages and structured data.
Work with me
If you want help setting up llms.txt, structured data and the rest of an AI friendly site, book a strategy call. It is a free 20 minutes.