Generate
- Open the generator.
- Paste the canonical origin, usually the https homepage.
- Leave “Read homepage” on for a first draft. Turn it off if you only want a skeleton.
- Copy or download.
Edit before you ship
- H1 should be the name people use, not the raw domain.
- Blockquote is one to three sentences: what it is, who it is for, what it is not.
- Every list item needs a real URL and a note after the colon.
- Prefer stable URLs over campaign parameters.
- Keep the file small. Under 50KB is a comfortable ceiling.
Deploy
Upload llms.txt to the web root. On Nginx:
location = /llms.txt {
default_type text/plain;
add_header Cache-Control "public, max-age=3600";
}
On static hosts (Netlify, Cloudflare Pages, S3), a file named llms.txt in the publish directory is enough.
Markdown twins
The spec suggests offering markdown copies of important pages. Link them from llms.txt when you have them. A full bundle is sometimes published as llms-full.txt; that is a convention used by docs sites, not a required second file.
Check
The generator’s pills cover the basic shape. Also open the file in a browser and confirm it is not rewritten as HTML by your host.
Related: spec notes, examples.