Blog

What is llms.txt? Format, examples and whether you need one

llms.txt is a Markdown file at the root of a website that lists its most useful pages for AI tools to read. It's easy to make and does no harm, but it's a proposal rather than a standard, and it's worth knowing what it can and can't do before you spend time on it.

What llms.txt is

llms.txt was proposed by Jeremy Howard of Answer.AI in September 2024, and the specification lives at llmstxt.org. The idea is simple: a web page is full of navigation, scripts and layout that a language model has to wade through, and a model's context window is limited. A short, hand-picked list of a site's key pages, each with a one-line description, gives an AI tool a clean starting point.

The file lives at https://example.com/llms.txt, next to robots.txt. The specification also allows one in a subfolder, such as /docs/llms.txt, covering only that section.

The format, with an example

llms.txt is plain Markdown with a fixed order:

  1. An H1 with the site or project name. This is the only required part.
  2. A blockquote with a one or two sentence summary.
  3. Optional paragraphs or lists with any context that helps, but no headings.
  4. H2 sections of links, each link written as - [Name](url): note, where the note is optional.
  5. A section called Optional, by convention, for links a tool can skip when it's short of space.
# Example Co

> Example Co makes accounting software for small businesses in the UK.

Prices are in GBP and include VAT. Support is available on weekdays.

## Product
- [Features](https://example.com/features/): What the software does, by plan
- [Pricing](https://example.com/pricing/): Plans, prices and what each includes

## Docs
- [Getting started](https://example.com/docs/start/): Set up an account and connect a bank feed
- [Importing data](https://example.com/docs/import/): Move from spreadsheets or another tool

## Optional
- [Company history](https://example.com/about/)
- [Privacy policy](https://example.com/privacy/)

Keep it short. The point is to pick the pages that answer most questions, not to copy your sitemap. The proposal also suggests publishing a clean Markdown version of each page at the same URL with .md added, and some sites publish an llms-full.txt with the full text of their documentation in one file. Both are optional extras.

llms.txt vs robots.txt vs sitemap.xml

FileWhat it doesWho reads it
robots.txtSays which URLs crawlers may fetch. A standard (RFC 9309).Search engines and most AI crawlers.
sitemap.xmlLists every URL you want indexed, with dates.Search engines.
llms.txtDescribes a curated set of key pages in Markdown.Tools that choose to fetch it; no major AI search engine has said it does.

The important difference: llms.txt doesn't allow or block anything. If you want to control which AI crawlers can fetch your pages, that is robots.txt's job, covered in how to block GPTBot and other AI crawlers.

Who actually reads it

This is where most articles about llms.txt overstate things. As of October 2026:

Server logs are the honest test. If you publish one, check how often /llms.txt is requested and by which user agents.

Should you add one?

How to create one

  1. List the 10 to 50 pages that answer most questions about your business or product.
  2. Write a one-line description of each, saying what it answers, not what it's called.
  3. Group them under a few H2 headings, and put legal and background pages under Optional.
  4. Save it as UTF-8 plain text named llms.txt and upload it to your site's root.
  5. Check that https://yoursite.com/llms.txt loads and that every link in it works.

Or start from a draft built from your own pages:

The generator reads your homepage and the pages it links to, skips redirects, errors, noindex pages and non-canonical URLs, and groups the rest into sections. Edit the result before uploading; the summary and order matter more than completeness. Its check mode tests an existing llms.txt for format and broken links.

Questions

What is llms.txt in simple terms?

A short Markdown file at yoursite.com/llms.txt that lists your most useful pages with a line about each, so an AI tool can find the right content without reading the whole site.

Is llms.txt a standard?

No. It's a community proposal published at llmstxt.org. Unlike robots.txt, it hasn't been adopted by a standards body, and the major AI search engines haven't committed to reading it.

Does llms.txt help SEO or rankings?

No. Google says it doesn't need special AI files for AI Overviews or AI Mode, and no AI search engine has said it ranks or cites pages based on llms.txt.

Can llms.txt block AI crawlers?

No. It only describes content. To stop a crawler such as GPTBot from fetching your pages, add a rule for it in robots.txt.

How do I add llms.txt in WordPress or Shopify?

Some SEO plugins for WordPress can generate one; otherwise upload the file to the site's root folder. Shopify doesn't let you upload files to the site root, so the usual workarounds are an app that serves the file, or a URL redirect from /llms.txt to a copy hosted elsewhere. A redirect works for people and most tools, but check it loads before relying on it.