What goes in it
The format is Markdown. A title, a one-line summary, then sections of links with a short description each:
# Acme Invoicing
> Invoicing software for freelancers. Send invoices, track payments and
> chase late ones automatically. From $12/mo.
## Product
- [Pricing](https://acme.com/pricing): Plans, limits and what each includes
- [Features](https://acme.com/features): Invoicing, reminders, payments
## Guides
- [How to invoice a client](https://acme.com/guides/invoice): Step by step
Keep it short. The point is to hand a model the ten pages that matter instead of making it crawl two hundred.
How to add one
By hand. Write the file, save it as llms.txt, and upload it to your site’s root. On most hosts that’s the public folder.
With a generator. Several free tools build one from your sitemap. Check the output, because they tend to list every page, which defeats the purpose.
Automatically. Some SEO tools generate and maintain one for you. LinkGPT, for one, builds an llms.txt from your connected site as part of the AI Profile it hosts, and keeps it in sync as you publish.
Does it actually work?
Honest answer: it’s unproven. llms.txt is a proposal that a lot of sites have adopted, and as far as I can tell the big AI companies haven’t committed to using it for answers.
I’d still add one, for two reasons. It costs almost nothing. And writing it forces you to decide what your site is in one sentence and which ten pages matter, which is the same exercise that helps with everything else in LLM SEO.
What I wouldn’t do is pay for a tool because of llms.txt alone, or expect it to fix a site AI crawlers can’t reach.
llms.txt, robots.txt and sitemap.xml
| File | Who it’s for | What it says |
|---|---|---|
robots.txt |
All crawlers | What you may and may not fetch |
sitemap.xml |
Search engines | Every URL on the site |
llms.txt |
AI models | What this site is, and the pages worth reading |
Next: the LLM optimization checklist, or the 10 best LLM SEO tools.