llms.txt is a plain Markdown file at the root of your site, at /llms.txt, that tells AI assistants what your site is and where its most useful pages are. Jeremy Howard of Answer.AI proposed it in September 2024, and a lot of documentation sites, SaaS companies and publishers have since added one. It's cheap to write, but it's often oversold, so here's what it does and what it doesn't.

Why it exists

Web pages are built for browsers: navigation, scripts, cookie banners and layout, wrapped around the text that matters. A language model reading your site through a tool has a limited context window and can waste much of it on that noise. llms.txt gives it a clean, curated starting point: a summary of who you are and a short list of links worth reading.

What it is not

  • Not a ranking factor. Google has said it doesn't use llms.txt, and no major search engine has said it uses the file for ranking.
  • Not an access control. It doesn't allow or block anything; that's still robots.txt.
  • Not a sitemap replacement. Search engines discover pages through your XML sitemap and links.

Treat it as good documentation for machine readers: low effort, possibly useful, never a substitute for being crawlable and clearly written.

The format

The proposal keeps the structure simple:

  1. An # heading with the site or product name (the only required part).
  2. A blockquote with a one-paragraph summary.
  3. Optional paragraphs with key facts.
  4. ## sections, each a list of links written as - [Title](url): what it's for.
  5. An optional section titled ## Optional for links an assistant can skip when short on space.

A small example:

# Acme Coffee

> Acme Coffee roasts single-origin beans in Leeds and ships across the UK.
> Subscriptions start at £12 a month.

## Shop
- [Subscriptions](https://acme.example/subscriptions): plans, prices and delivery days
- [Wholesale](https://acme.example/wholesale): supply for cafés and offices

## Guides
- [Brewing guide](https://acme.example/guides/brewing): grind sizes and ratios by method

## Optional
- [Company history](https://acme.example/about)

Some sites also publish llms-full.txt, a single file with the full text of their key pages, so an assistant can read everything in one request.

Writing a good one

  • Lead with facts people actually ask about: what you sell, who it's for, where you operate, prices or price ranges, and how to contact you.
  • Link to pages, not search results or filters. Every link should be a stable, canonical URL.
  • Keep it short. Ten to forty links is plenty. It's a curated index, not a copy of your sitemap.
  • Use the same wording as your site. Contradictions between the file and your pages make you less trustworthy, not more.
  • Generate it if your site changes often. Build it from the same data as your pages so it can't go stale. That's how ours works: our llms.txt is rebuilt from our plans and published posts on every deploy.

Should you bother?

If your site is already crawlable, fast and clearly written, llms.txt is a twenty-minute job with a small possible upside, so yes, add one. If AI crawlers are blocked or your key pages are thin, fix those first; they matter far more.

TheFarFlow's AI search check tells you whether your site publishes an llms.txt and which AI crawlers your robots.txt allows.

Related: How AI answer engines decide which brands to mention and The technical SEO audit checklist.

Frequently asked questions

Does llms.txt help my Google rankings?

No. Google has said it doesn't use llms.txt, and no major search engine uses it as a ranking factor. Its value is giving AI assistants a clean summary when they read your site.

Where do I put llms.txt?

At the root of your domain, so it loads at https://yourdomain.com/llms.txt, served as plain text or Markdown.

What is the difference between llms.txt and llms-full.txt?

llms.txt is a short index: a summary plus links to your key pages. llms-full.txt is an optional single file containing the full text of those pages, so an assistant can read everything in one request.

Is llms.txt the same as robots.txt?

No. robots.txt tells crawlers what they may and may not fetch. llms.txt doesn't allow or block anything; it only describes your site and points to useful pages.