🎉 Launch offer: 50% off your first 3 months, applied at checkout.

llms.txt AI SEO Documentation

What is llms.txt, and should you add one?

· Updated · 9 min read

Search engines grew up with robots.txt and sitemap.xml. Agents that fetch documentation and product pages mid-task need something else: a short, curated map of the useful markdown. That is the idea behind /llms.txt, a proposal by Jeremy Howard, now in a v2 write-up that reflects real adoption.

What llms.txt is

An llms.txt file is a markdown document, usually at https://example.com/llms.txt (or under a path such as /docs/llms.txt). Per the llmstxt.org specification, a conforming file includes:

  1. An H1 with the project or site name (required)
  2. An optional blockquote summary
  3. Optional detail paragraphs (without extra headings in that block)
  4. Zero or more H2 sections that contain markdown link lists to further reading, optionally with short notes after a colon
  5. By convention, an Optional section for secondary links agents can skip when context is tight

The format is intentionally markdown-first so both humans and models can read it, while still being regular enough for simple parsers.

The same proposal encourages clean markdown versions of important pages (for example page.md or page.html.md) and standard rel="alternate" / rel="describedby" hints so clients can find them.

What llms.txt is not

  • Not a robots.txt replacement. robots.txt states crawl access policy. llms.txt is an on-demand orientation file when an agent already needs your content.
  • Not a sitemap replacement. Sitemaps aim for complete inventory. llms.txt should stay small and curated; llmstxt.org explicitly contrasts it with dumping every URL.
  • Not a ranking guarantee. Publishing llms.txt does not force ChatGPT, Perplexity, or anyone else to cite you. It reduces friction for agents that look for a conventional entry point.

Who is using it

The v2 proposal notes documentation platforms that generate llms.txt automatically (for example Mintlify and GitBook), CMS plugins, and that major AI labs publish llms.txt on their own developer docs. Chrome Lighthouse agentic-browsing checks are also called out as auditing for the file. Treat those as signals of momentum, not as proof that every consumer assistant fetches your file on every query.

Should you add one?

Add llms.txt if:

  • You have docs, API references, or policy pages agents repeatedly need
  • You can point to clean, stable URLs (ideally markdown) instead of only heavy app shells
  • You can keep the file short enough to fit in a context window

Wait or keep it minimal if:

  • Your useful content is locked behind login
  • You would only list marketing slogans with no deep links
  • You cannot maintain the file when docs move

A thin, outdated llms.txt is worse than none because it confidently points agents at the wrong places.

A sensible starter shape for a product site

# Your Product

> One sentence: what it does and who it is for.

## Docs

- [Getting started](https://example.com/docs/getting-started.md): install and first success path
- [API overview](https://example.com/docs/api.md): auth and core endpoints

## Product

- [Pricing](https://example.com/pricing): plan limits in plain language
- [FAQ](https://example.com/faq): billing and support basics

## Optional

- [Changelog](https://example.com/changelog)

Link to markdown mirrors when you have them. If you only have HTML, link the HTML and make sure those pages server-render the important text.

How Raylit thinks about this

getraylit.com publishes an llms.txt for Raylit itself, and Raylit checks customer sites for llms.txt / llms-full.txt as part of crawler readiness. That mirrors the product advice: make the file real, keep it curated, and pair it with pages assistants can actually read.

llms.txt will not tell you whether Perplexity already cites you for a buyer question. For that, run the free AI visibility check and keep a small question sheet for ChatGPT search as well.

Maintenance checklist

Once a quarter, or after any docs IA change:

  1. Open /llms.txt in a logged-out browser and confirm it is public markdown, not an app shell.
  2. Click every link; remove or fix anything that 404s or redirects into a login wall.
  3. Re-read the H1 and summary — they should still match how you describe the product on getraylit.com and in your docs.
  4. Ask an agent a task with only llms.txt as the starting hint (for example "how do I verify my IndexNow key?") and see whether it reaches the right doc on the first try.

If that dry run fails, the file is not done — the links or summaries need work.

FAQ

Is llms.txt an official web standard?

It is a community proposal with a public spec at llmstxt.org, not an IETF standard like robots.txt. Adoption is voluntary.

Should every marketing page be listed?

No. Curate. Agents need the pages that answer tasks, not every campaign landing page.

Do I need llms-full.txt too?

Some sites offer a larger companion file with fuller text. The core proposal centers on llms.txt plus linked detail pages. Add a full companion only if you can keep it accurate; a stale blob wastes tokens.

Will adding llms.txt replace IndexNow or sitemaps?

No. Keep sitemaps for inventory, IndexNow for change notification to participating search engines, and llms.txt as an agent-oriented overview.

Try one question free

The free checker asks Perplexity one buyer question about your site and shows whether you were mentioned or cited. No account needed.