How to write an llms.txt file, step by step
In short
A title, one summary line, then short lists of links. Here is a template you can copy.
An llms.txt file is a markdown file at the root of your site. It has a title, a one-line summary, and lists of links to your most useful pages, each with a short note.
What is the structure?
- One
# Titleline with your site or company name. - One
>line that says what you do, in a sentence. ## Sectionheadings, each followed by a list of links.- An optional
## Optionalsection for pages that can be skipped.
What goes in the links?
Each line is a link and a short description: - [Pricing](https://example.com/pricing/): plans and what each includes. Pick the 10 to 30 pages a newcomer needs. Leave out login pages, carts and thin pages.
Where does it go?
At /llms.txt, served as plain text. Some sites also publish /llms-full.txt with the full text of the key pages.
Will AI tools read it?
Some do, many do not yet. It is a proposal, not a standard, and the large AI companies have not committed to it. It costs little to add, so treat it as a helpful extra, not the core of your plan.

Free downloads
Four PDFs to put this into practice
The AEO checklist, the AI crawler cheat sheet, an llms.txt template and writing guidelines.
Get the PDFs