What is llms.txt?
llms.txt is a short Markdown file at the root of your site, at yoursite.com/llms.txt. It gives AI assistants and coding tools a curated summary: what your site is, and links to the pages worth reading. It was proposed in September 2024 at llmstxt.org and works alongside robots.txt and your sitemap rather than replacing them.
| File | Written for | What it says |
|---|---|---|
| robots.txt | Crawlers | What they may visit |
| sitemap.xml | Search engines | Every URL you have |
| llms.txt | Language models | What your key pages are about |
The llms.txt format
- An H1 with your site's name. This is the only required part.
- A blockquote summary, one or two sentences on what the site is.
- Optional context in plain paragraphs.
- H2 sections of links, each written as
- [Page title](https://url): short note. - An “Optional” section for pages an AI can skip when it's short on space.
Tips for a useful llms.txt
- List your most useful 10 to 30 pages, not everything. Your sitemap already covers the rest.
- Write notes that say what's on the page, like “Plans and what each includes”, not marketing copy.
- Link to clean pages without pop-ups or heavy scripts. Many sites also offer Markdown versions of key pages.
- Update it when you add an important page. It's a small file, so it takes minutes.
Adoption is still early, and no major search engine requires llms.txt. It's quick to make and harmless to publish, which is why many sites add one now.
Questions people ask
Does llms.txt help SEO?
It doesn't affect Google rankings. It's aimed at AI assistants and tools that read it to understand your site, which can help them describe and link to you accurately.
Where do I upload llms.txt?
At the root of your domain so it opens at yoursite.com/llms.txt, the same place as robots.txt. In Astro, Next.js and most static sites, put it in the public folder.
What's the difference between llms.txt and llms-full.txt?
llms.txt is a short index of links. llms-full.txt is an optional companion that includes the full text of your key pages in one file.
Is llms.txt the same as robots.txt?
No. robots.txt controls which bots may crawl your site. llms.txt doesn't block anything; it describes your content.
Does this tool crawl my site?
No. You fill in your own pages, so it's instant, unlimited and nothing is sent anywhere.