Guides · Updated 2026-10-06

What is llms.txt? Format, examples and a free generator

llms.txt is a proposed standard (llmstxt.org) for a plain markdown file at the root of a website, at /llms.txt. It gives large language models and AI agents a short, curated map of the site: what it is, and which pages matter most. Think of it as a sitemap written for readers that have limited context windows.

The format

  • An H1 with the name of the site or product (the only required part)
  • A blockquote with a one or two sentence summary
  • Optional paragraphs with key facts
  • H2 sections containing markdown lists of links, each with an optional note after a colon
  • An optional section named "Optional" for links that can be skipped when context is short

Example

# Acme Analytics

> Privacy-friendly product analytics for SaaS teams. Free up to 10k events/month.

## Docs
- [Quickstart](https://acme.com/docs/quickstart): install in 5 minutes
- [API reference](https://acme.com/docs/api)

## Product
- [Pricing](https://acme.com/pricing)
- [Acme vs Mixpanel](https://acme.com/compare/mixpanel)

## Optional
- [Changelog](https://acme.com/changelog)

llms-full.txt

Some sites also publish /llms-full.txt, which contains the actual text of the key pages in one file, so an agent can read everything in a single request.

Does it help?

llms.txt doesn't replace good HTML, crawler access or structured data. It's a low-effort addition that makes your site easier for agents and coding assistants to understand, and it signals that the site is maintained with AI readers in mind.

Generate yours

RankRoot's free scan reads your homepage and drafts an llms.txt you can edit. RankRoot Pro crawls up to 200 pages and generates both llms.txt and llms-full.txt for the whole site.

Check your site now

No signup. 20+ checks across ChatGPT, Perplexity, Claude, Google AI and AI agents.

FAQ

Where do I put llms.txt?

At the root of your domain, so it's reachable at https://yourdomain.com/llms.txt, served as plain text or markdown.

Is llms.txt the same as robots.txt?

No. robots.txt controls which crawlers may access which URLs. llms.txt is a content guide that tells models what's important. You'll usually want both.

Do ChatGPT and Claude read llms.txt?

Support varies by product and changes over time. Agents and developer tools are the most common readers today. It's cheap to publish, so most sites that care about AI visibility add it.

More guides