Think about what an AI assistant meets when it opens your homepage. Menus, popups, banners, scripts, and layout all compete for attention. The facts about your business sit somewhere inside that clutter. An assistant only gets a limited amount of text to work with, so it may never reach the facts at all.
An llms.txt file fixes that by handing the assistant a short map. One file, at the root of your site, in plain Markdown. It states your name, sums up what you do in a paragraph, and points to the pages that matter, with a one line note on each link.
The file was proposed by Jeremy Howard of Answer.AI. It is maintained at llmstxt.org as a community proposal. Be clear about what that means. It is not a web standard. No standards body has ratified it. None of the major AI engines documents exactly how it uses the file. Writing one costs you a single sitting. What you get is a cleaner read of your business for any tool that bothers to look.
Two files it is not
Robots.txt tells crawlers what they may fetch. Your sitemap lists the addresses you want indexed. An llms.txt file does a different job from both. It tells AI tools which of your pages matter most, and gives each one a line of context.
Permission is not its job. The file has no way to say allow or disallow, and no crawler reads it as a rulebook. Keeping a crawler out of a corner of your site is work for robots.txt, not for this file.
It is not a second sitemap either. A sitemap aims for complete coverage. This file does the opposite: it picks a few pages and says why they matter. That picking is the entire value.
The shape of the file
The proposal stays simple on purpose, using plain Markdown and a handful of conventions:
- An H1 with your site or business name. This is the only part you must include.
- A blockquote, a line that starts with a greater than sign, holding a one paragraph summary of what you do.
- Then the optional detail: short paragraphs or lists, each with the context a model needs before it reads the page. Leave headings out of this part.
- H2 sections of links, one list per section. Write each item as a link title, a web address, and a one line description. Those descriptions give the file its value. Without them, you have only written a sitemap in Markdown.
- A section called Optional for second tier links: your blog, your press page, your changelog. Lower priority pages get a clear home here, instead of crowding the main list.
There is also a companion convention, /llms-full.txt, where the full text of your key pages lives in one long Markdown document. The current proposal text at llmstxt.org defines llms.txt only, and it does not define llms-full.txt. No vendor requires it, and no engine is documented as reading it. Skip it at first. For most shops the short file does the job, and the long one only adds upkeep.
A complete sample for a kitchen shop
Say you run a kitchen supply shop. Your file might look like this, with your own domain in place of the example domain:
# Harbor Kitchen Supply
> Harbor Kitchen Supply sells cookware, knives, and bakeware from its Portland shop, shipping across the US. It runs a knife sharpening service and publishes beginner cooking guides.
## Shop
- [Cookware](https://yourdomain.com/collections/cookware): Pots, pans, and Dutch ovens, described by material and size.
- [Knives](https://yourdomain.com/collections/knives): Chef knives and knife sets, listed with blade length and steel type.
- [Bakeware](https://yourdomain.com/collections/bakeware): Sheet pans, baking dishes, and loaf pans, described by size and coating.
## Guides
- [Knife care basics](https://yourdomain.com/pages/knife-care): How to sharpen, store, and clean kitchen knives at home.
- [Sharpening service](https://yourdomain.com/pages/sharpening): How the in-house sharpening service works, turnaround and pricing.
## Policies
- [Shipping and returns](https://yourdomain.com/pages/shipping-returns): Free shipping over 60 dollars. 45-day returns on unused items.
## Optional
- [Journal](https://yourdomain.com/blogs/journal): Recipes and kitchen care notes.
That file is done, and it works. What you will not find in it matters as much as what you will: no single product pages, no sale banners, nothing behind a login, and no checkout.
What to put in it
Open with a summary of the business. A single paragraph of plain facts, the kind a model needs to describe you without guessing: what you sell, where it ships, who buys it. Keep slogans out. Facts only.
Then the pages people keep asking about: buying guides, size guides, the about page, and, for a shop with a door customers can walk through, where it is and when it opens.
Policies come next. Shipping, returns, warranty. Assistants field questions about these all day, and the page that answers them is often buried three clicks down. Give it a line in the file so it can be found in one step.
After that, lay out your catalog structure. List your collections or categories, with a note on what each range covers. A model that wants to recommend a pan needs to know your cookware collection exists and what sits inside it. It does not need all forty product addresses.
Leave some things out on purpose. Link the collection, not each product inside it. Leave out sale or seasonal pages that will expire. Leave out anything behind a login, plus cart and checkout pages. A dead link in this file does more damage than a missing one, because the whole point of the file is that it can be trusted.
Serving it from your own address
Whatever platform you run on, the bar is the same. The file has to load from your own domain at your llms.txt address, over HTTPS, as plain text, with a 200 status.
https://yourdomain.com/llms.txt
Getting it there is the part that changes. A hosted platform may never let you touch the site root, so each one needs its own workaround. The platform guides cover each route.
Mistakes to avoid
Filling the file with slogans is a miss. Best in class gives a model nothing to work with. Give it the facts instead: what you sell, where you ship, how long returns last.
Another miss is treating the file like a catalog export. It is a shortlist, not an inventory. Try reading it aloud. Past a minute, you have too much in it. Cut back to collections and key pages.
Robots.txt lines inside the file are another. People do write User-agent and Disallow lines here, and they do nothing at all. Crawler rules live in robots.txt, full stop.
Copying the homepage in is another. The file should carry facts the homepage buries or skips. If it reads like homepage copy, turn it into a map instead.
Letting it go stale is the last miss. Collections get renamed. Categories get removed. Guides get rewritten. A file pointing at last season's catalog will teach the model about last season's catalog. Come back to it every time your catalog changes.
Check it the way a crawler would
Start in a browser. Type your llms.txt address and look at what comes back. You want your Markdown, served as plain text. A 404 means the file is in the wrong place or a redirect is pointing the wrong way.
Then check the headers. Run this and look for a 200 status and a text/plain content type:
curl -I https://yourdomain.com/llms.txt
Nothing needs submitting. There is no console to register in and no ping to send, not now and not after an edit. Publish, check that it loads, and check again each time you change it.
The format is still taking shape. None of the crawler documentation published by OpenAI, Anthropic, Perplexity, or Google mentions llms.txt yet. Even so, a clean summary in machine readable form makes your business easier for models to see and describe correctly when they do read it. A short session now, plus updates as the convention forms, is enough.
What this guide does not do
Publishing the file is one page of a larger job. Your catalog drifts. Crawler behavior changes. Being readable is not the same as being recommended, and being recommended is not the same as being bought from. That wider job is what monitoring and a full audit exist for.
Frequently Asked Questions
Is llms.txt a web standard?
No. It is a community proposal maintained at llmstxt.org. No standards body has ratified it, and none of the major AI engines documents exactly how it uses the file.
Can llms.txt block crawlers?
No. It has no allow or disallow syntax, and no crawler treats it as permission. Blocking is a robots.txt job.
Should I list every product in it?
No. Link collections and key pages instead. Leave out single product pages, sale pages that will expire, and anything behind a login. A dead link here does more damage than a missing one.
Do I need to submit it anywhere?
No. There is no submission step, no search console, and no ping endpoint. Publish it at the root, verify it loads as plain text, and fetch it again after you change it.
Verified Sources & Technical Documentation
links marked specific point to the page that supports the claim in this guide. Links marked general docs point to the vendor's general docs section for that topic, not to a page that proves every step. Check the vendor docs for the current path before relying on a menu name or click path in this guide.