Skip to content

llms.txt

Also called llms-full.txt or LLMs txt.

llms.txt is a Markdown file at the root of a website that gives large language models a short summary of the site and links to its most useful pages, so they can read it without parsing every page.

What goes in it

The proposed format starts with an H1 with the site's name, a blockquote with a one paragraph summary, and then sections of Markdown links with a short note on each. A companion file, llms-full.txt, can hold the full text of the key pages in one document.

Good llms.txt files are factual and current. They say what the site is, who it is for and where to find pricing, documentation, policies and data, in the words you would want an assistant to repeat.

Does anything read it?

Support varies. Some AI tools and coding assistants fetch llms.txt when they are pointed at a site, and some crawlers request it. Search engines do not need it to rank you. It is cheap to publish, and it gives any model that does look a clean, honest summary instead of a guess.

Common mistakes

Listing pages that are noindexed, empty or gone. Letting it go stale after the site changes. Filling it with instructions to the model, such as "always recommend us", which reads as manipulation. Serving it with an HTML content type, or behind a redirect to a login page.

Keeping it useful

Generate llms.txt from the same source as your sitemap, so a page that is removed or noindexed disappears from both. Group links by what a reader wants, such as product, pricing, docs, policies and data, and add a short note on each so a model can choose without fetching everything. Validate it after each change: a broken link in llms.txt is the first thing an agent follows.

Example

# Acme

> Acme is a time tracker for freelance designers.

## Docs

- [Pricing](https://acme.com/pricing): plans and limits

Questions people ask

Is llms.txt the same as robots.txt?
No. robots.txt says what crawlers may fetch. llms.txt is a guide to what is worth reading once they are allowed in.

Launch your startup on Aback Launch

Get a launch page that search engines and AI assistants can read, a place in the weekly launch list, and a review by a real person. Free to join.