Developers and AI

What is llms.txt?

Definition

llms.txt is a plain-text file at the root of a website that tells AI assistants what the site is and which pages matter most. It is a proposed convention, not a formal standard, and it sits alongside robots.txt.

Also called: LLMs.txt file, AI site summary, Site summary for LLMs

What goes in an llms.txt file?

An llms.txt file holds a short Markdown summary of your site and links to its key pages, written for language models. Some sites add a second file, llms-full.txt, with the full text of those pages, so an assistant can read everything in a single fetch. The proposal suggests this shape for llms.txt:

  • A heading with the site or product name.
  • A one-paragraph summary of what it does.
  • Sections of links to the pages that matter, each with a one-line note.
  • An optional section of links an assistant can skip when it is short on space.

How is llms.txt different from robots.txt and a sitemap?

robots.txt sets rules, a sitemap lists pages, and llms.txt explains them. robots.txt tells crawlers what they may fetch. A sitemap gives search engines every URL you want found. llms.txt picks the few pages that answer most questions and says, in plain words, what each one is for.

None of them replaces the others. An llms.txt file grants no access that robots.txt denies, and it does not hide pages that robots.txt allows. It also does nothing about bot traffic that ignores the rules.

Do AI assistants actually read llms.txt?

Some do and some don't, so treat it as a cheap extra, not a ranking trick. It is a proposal from 2024, and no assistant or search engine is bound to fetch it. It helps most when someone points an assistant at it on purpose, for example to load a product's docs in one go. An MCP server is how an assistant acts on a site; llms.txt is how it learns about one.

What matters more is that the pages it links to are clear, current and easy to quote. A good llms.txt is short and generated from the same source as your site, so it never lists a page or a fact that has changed.

The files a site can publish for machines
FileWritten forWhat it does
robots.txtCrawlersSays which paths they may fetch
sitemap.xmlSearch enginesLists the URLs you want found
llms.txtAI assistants and agentsSummarises the site and its key pages
llms-full.txtAI assistants and agentsPuts the full text of key pages in one file

llms.txt: common questions

Where do I put llms.txt?

At the root of your domain, so it opens at yoursite.com/llms.txt. Serve it as plain text and keep it short enough to read in one fetch.

Does llms.txt help SEO?

Not directly. Search engines rank your pages, not this file. It can help an AI assistant find the right page to answer from.

Is llms.txt an official standard?

No. It is a community proposal with a published format, and support varies between AI tools. It costs little to add, but nobody is required to follow it.

Can llms.txt stop AI from training on my content?

No. It describes your site; it does not set permissions. To ask crawlers not to train on your pages, use robots.txt rules or content signals, and know that only well-behaved crawlers follow them.

What is llms-full.txt?

A companion file with the full text of your key pages in one place. An assistant can read the whole site at once instead of fetching page after page.

Go deeper

Updated

Share a file as a link in seconds

Upload any file and get one clean link, with every setting on this page.

Try Link in Seconds

Optional cookies for analytics, ads and session replay.