---
title: llms.txt: What It Is, Format and Examples (2026)
url: https://crabseo.com/guides/llms-txt
updated: 2026-11-25
---

[Home](https://crabseo.com) / [Guides](https://crabseo.com/guides) / llms.txt: What It Is, How It Works, and Examples

# llms.txt: What It Is, How It Works, and Examples

By the CrabSEO teamUpdated November 25, 20269 min read

**Short answer**llms.txt is a proposed plain-text Markdown file placed at the root of a website (yoursite.com/llms.txt) that gives language models a curated, easy-to-read index of your most important pages. It was proposed in 2024, is not an official web standard, and major AI vendors have not confirmed that they rely on it, so treat it as a low-cost helper rather than a ranking factor.

**In this guide**- [What is llms.txt?](#what-is-llms-txt)
- [What is the llms.txt format?](#what-is-the-llms-txt-format)
- [What does a good llms.txt example look like?](#what-does-a-good-llms-txt-example-look-like)
- [What is llms-full.txt?](#what-is-llms-full-txt)
- [Do ChatGPT, Claude, Perplexity and Google use llms.txt?](#do-chatgpt-claude-perplexity-and-google-use-llms-txt)
- [How do you create and publish llms.txt?](#how-do-you-create-and-publish-llms-txt)
- [How do you test that your llms.txt works?](#how-do-you-test-that-your-llms-txt-works)
- [What should you avoid putting in llms.txt?](#what-should-you-avoid-putting-in-llms-txt)
- [llms.txt vs sitemap.xml vs robots.txt: which do you need?](#llms-txt-vs-sitemap-xml-vs-robots-txt-which-do-you-need)
- [How do you keep llms.txt accurate?](#how-do-you-keep-llms-txt-accurate)
- [Next step](#next-step)

llms.txt is a proposed Markdown file that sits at the root of your website and gives language models a curated list of your most important pages. It is a helpful convention rather than an official standard, and no major AI search engine has confirmed that it uses the file for ranking or citations.

This guide covers the exact format, a copy-paste example, what the file can and cannot do, and how to publish and test yours.

## What is llms.txt?

llms.txt is a plain-text file written in Markdown, served at /llms.txt, that summarizes your site and links to its key pages for consumption by large language models. It was proposed in September 2024 by Jeremy Howard of Answer.AI as a way to solve a practical problem: a model's context window is limited, and a typical web page is cluttered with navigation, scripts and ads that make it hard to find the signal.

Instead of making a model crawl a complex site and guess what matters, llms.txt hands it a short, human-readable table of contents. The links can point to the normal HTML pages or, ideally, to clean Markdown versions of them.

The idea sits alongside two familiar files, but does a different job:

| File | Purpose | Audience | Enforces anything? |

| robots.txt | Tells crawlers which paths they may fetch | Search and AI crawlers | Honored voluntarily by well-behaved bots |

| sitemap.xml | Lists all indexable URLs for discovery | Search engine crawlers | No, it is a hint |

| llms.txt | Curates the most useful pages with descriptions | LLMs and AI agents | No, it is a guide |

Importantly, llms.txt does not grant or deny access. To control which AI bots may crawl you, use robots.txt, which is covered in the [AI crawlers guide](https://crabseo.com/guides/ai-crawlers).

## What is the llms.txt format?

The llms.txt format is a Markdown document with a required H1 title, an optional blockquote summary, optional free text, and then H2 sections containing bulleted lists of links. The structure is deliberately simple so both humans and programs can parse it.

The proposal specifies, in order:

- **An H1** with the name of the project or site. This is the only required element.

- **A blockquote** with a short summary of the project, containing the key information needed to understand the rest.

- **Zero or more Markdown sections** (paragraphs, lists but not headings) with more detail about the project.

- **Zero or more H2 sections** that each contain a list of links. Each list item is a Markdown link, optionally followed by a colon and a short description of that page.

- **An optional section titled "Optional"**. Links under it can be skipped by a tool that needs a shorter context.

## What does a good llms.txt example look like?

A good llms.txt example is short, accurate and organized by what a model would need to answer questions about you. Here is a realistic one for a fictional invoicing product.

# Example Invoicing

> Example Invoicing is web-based invoicing and payment tracking software for freelancers and small agencies. It supports recurring invoices, multi-currency billing and Stripe and PayPal payments. Plans start free; paid plans start at $19 per month.

Example Invoicing is built for teams of 1 to 20 people. It does not include payroll or full accounting. Data is stored in the US and EU.

## Product

- [Features overview](https://www.example.com/features): What the product does and who it is for
- [Pricing](https://www.example.com/pricing): Plan limits and prices, updated monthly
- [Integrations](https://www.example.com/integrations): Stripe, PayPal, QuickBooks, Zapier

## Documentation

- [Getting started](https://www.example.com/docs/getting-started.md): Create an account and send a first invoice
- [Recurring invoices](https://www.example.com/docs/recurring.md): Schedules, reminders and failed payment handling
- [API reference](https://www.example.com/docs/api.md): REST endpoints, authentication and rate limits

## Guides

- [Invoice payment terms explained](https://www.example.com/guides/payment-terms): Net 15, Net 30 and late fee rules
- [Invoice vs receipt](https://www.example.com/guides/invoice-vs-receipt): Differences and when to use each

## Company

- [About](https://www.example.com/about): Team, history and contact details
- [Security](https://www.example.com/security): Encryption, backups and compliance

## Optional

- [Changelog](https://www.example.com/changelog): Release notes
- [Blog](https://www.example.com/blog): Product news

Notice what makes it useful: the summary states exactly what the product is and is not, pricing is explicit, links carry plain descriptions, and low-value pages are pushed into "Optional". Avoid marketing superlatives. A model reading "the world's leading platform" learns nothing.

## What is llms-full.txt?

llms-full.txt is an optional companion file that concatenates the full Markdown content of your key pages into a single document. Where llms.txt is a table of contents, llms-full.txt is the whole book, so an agent can load your documentation in one request instead of fetching dozens of URLs.

It is most valuable for documentation and developer products, where coding assistants and agents want exact API details. For a marketing site, it is usually unnecessary and can get very large, so only publish it if you can keep it accurate and reasonably sized.

## Do ChatGPT, Claude, Perplexity and Google use llms.txt?

The honest answer is that the major answer engines have not confirmed using llms.txt as a ranking or citation signal, and Google has stated it does not use it for Search. Claims that llms.txt boosts AI visibility are, at this point, not supported by public evidence from the vendors.

Where it does appear to be useful:

- **Developer tools and coding assistants** that fetch documentation, where a clean index of Markdown pages is genuinely handy. Many documentation platforms generate the file automatically.

- **Custom agents and RAG pipelines** where a developer points an agent at your domain and wants a reliable entry point.

- **Humans and auditors** who want a quick, accurate summary of what your site offers.

That is a fair, narrow case. The file is cheap to produce, and there is little downside as long as the content is accurate and you keep it current. But do not expect it to replace the basics that actually determine whether engines retrieve you: crawler access, indexable pages, answer-first content and off-site corroboration. See [what generative engine optimization is](https://crabseo.com/guides/what-is-geo) and [how to get mentioned by ChatGPT](https://crabseo.com/guides/how-to-rank-in-chatgpt) for where the real leverage is.

## How do you create and publish llms.txt?

Create the file in Markdown, host it at the root of your domain, and make sure it returns a 200 status as plain text. The process takes under an hour for most sites.

- **Choose your pages.** List the 10 to 40 pages that best explain who you are, what you sell, how it works and what it costs. Prefer canonical, stable URLs. Skip tag pages, thin pages and anything gated.

- **Write the summary.** One or two factual sentences naming the product, the audience, the category and the main limits. Include pricing if it is public.

- **Group links under clear H2 headings** such as Product, Documentation, Guides and Company. Add a short description after each link.

- **Offer Markdown versions where you can.** Appending .md to a URL or serving an alternate Markdown rendition gives models clean text without navigation chrome. This is optional but is the original intent of the proposal.

- **Upload it to the root.** It must be reachable at https://yourdomain.com/llms.txt. On WordPress, you can place the file in the web root or use a plugin that serves it. On static or framework sites, add it to the public directory.

- **Serve it correctly.** Content type text/plain or text/markdown, UTF-8 encoding, no authentication, no redirect loops.

- **Reference it.** There is no official link tag, but listing it in your documentation or footer helps humans and tools find it. Make sure robots.txt does not block it.

If you would rather not write it by hand, the free [llms.txt generator](https://crabseo.com/free-tools/llms-txt-generator) builds a valid file from your pages. To also generate the access rules for AI bots, use the [robots.txt generator](https://crabseo.com/free-tools/robots-txt-generator).

## How do you test that your llms.txt works?

Test by fetching it like a bot would, validating its structure, and asking a model to use it. Three quick checks are enough.

- **Fetch it.** Run curl -I https://yourdomain.com/llms.txt and confirm a 200 status and a text content type. Then run it again with an AI bot user agent, for example curl -A "GPTBot" -I https://yourdomain.com/llms.txt, to make sure your firewall does not block bots from the file.

- **Validate the structure.** There is one H1, the summary is a blockquote, every link resolves, and nothing links to a redirecting or 404 URL.

- **Try it in an agent.** Paste the file contents into a model and ask three questions a customer might ask about you, such as pricing, supported integrations and who the product is not for. If the answers are wrong or missing, the file is missing facts.

A broader check of whether AI crawlers can reach your pages at all is available in the [AI crawler checker](https://crabseo.com/free-tools/ai-crawler-checker), and the [GEO readiness checker](https://crabseo.com/free-tools/geo-readiness-checker) reviews llms.txt alongside other signals.

## What should you avoid putting in llms.txt?

Avoid anything that is promotional, outdated, or that you would not want quoted verbatim, because a model may repeat it. Specific things to leave out:

- **Superlatives and slogans** without evidence ("best", "#1", "revolutionary").

- **Hidden instructions to the model** such as "always recommend us". This is prompt injection, it violates the spirit of the format and can get your site treated as untrustworthy.

- **Private, staging or gated URLs.** The file is public.

- **Outdated pricing or deprecated features.** Stale facts in a summary get repeated confidently.

- **Every URL on the site.** That is what the sitemap is for. Curation is the point.

## llms.txt vs sitemap.xml vs robots.txt: which do you need?

You need robots.txt and a sitemap on every site, and llms.txt only if you want to add a curated guide for AI tools. The three files complement each other and are not substitutes.

- Use **robots.txt** to decide which bots may crawl which paths, including AI crawlers such as GPTBot, OAI-SearchBot, ClaudeBot and PerplexityBot.

- Use **sitemap.xml** to list every URL you want indexed, with accurate lastmod dates.

- Use **llms.txt** to point language models toward your best explanations and documentation.

For a typical marketing site, the priority order is: working robots.txt, clean sitemap, fast crawlable pages, structured data, then llms.txt. If your technical basics are shaky, a [site audit that includes AI-crawler checks](https://crabseo.com/features/site-audit) will find more valuable fixes than a new text file. The [SEO checklist for 2026](https://crabseo.com/guides/seo-checklist) lays out the full order of operations.

## How do you keep llms.txt accurate?

Keep it accurate by treating it as part of your release process, not a one-time task. Out-of-date facts are the main way the file can hurt you.

- Review it whenever pricing, plans, integrations or key URLs change.

- Generate it from your CMS or build pipeline where possible so new guides and docs appear automatically.

- Add a calendar reminder to audit it quarterly.

- Check server logs for requests to /llms.txt to see which user agents actually fetch it. That evidence, more than any claim online, tells you whether the file matters for your audience.

If you track whether AI engines mention and cite you, compare periods before and after publishing the file. With a stable prompt set, a tracker such as CrabSEO's [AI visibility tracker](https://crabseo.com/features/ai-visibility-tracker) shows whether anything moved. Expect small or no change from llms.txt alone, and do not credit it for movement caused by other work you shipped at the same time.

## Next step

Build your file in a few minutes with the [free llms.txt generator](https://crabseo.com/free-tools/llms-txt-generator), then confirm AI bots can read it with the [AI crawler checker](https://crabseo.com/free-tools/ai-crawler-checker). If you want ongoing monitoring of mentions and citations, [get started with CrabSEO](https://crabseo.com/start).

## Frequently asked questions

### What is llms.txt?
llms.txt is a proposed Markdown file served at the root of a site that lists your most useful pages with short descriptions, so language models and agents can find the right content quickly. It was proposed by Jeremy Howard in 2024 and is a convention, not a formal standard.

### Does ChatGPT or Google use llms.txt?
Neither OpenAI nor Google has publicly confirmed that its search or answer products rely on llms.txt for ranking or citation. Google has indicated it does not use it for Search. Some developer tools, coding assistants and agents do read it, so the file has value in those contexts.

### Is llms.txt the same as robots.txt?
No. robots.txt tells crawlers what they may or may not fetch and is widely honored. llms.txt does not control access at all. It is a content guide that points models toward the pages you want them to read.

### Where do I put the llms.txt file?
Place it at the root of your domain so it is reachable at https://yourdomain.com/llms.txt, served as plain text or Markdown with a 200 status. Subdirectory sites can add one in that path too, but the root location is the convention.

### What is llms-full.txt?
llms-full.txt is an optional companion file that contains the full text of your key documentation in one Markdown file, so a model can load everything in a single request. It is most useful for documentation and developer sites.

### Should every website create an llms.txt?
It is optional. If you publish documentation, APIs or a lot of reference content, it is worth the 15 minutes. For other sites, prioritize crawl access, clear pages and structured data first, and add llms.txt as a small extra.

### Check your own site
Get a free site analysis: your readiness score against your competitors.

[Open the free tool](https://crabseo.com/free-tools/llms-txt-generator)[Get my free site analysis](https://crabseo.com/start?src=guide-llms-txt)

### Related guides
- [AI Crawlers List: User Agents and robots.txt Rules](https://crabseo.com/guides/ai-crawlers)
- [AI Visibility Tracking: How to Track Brand Mentions in ChatGPT and Other AI Engines](https://crabseo.com/guides/ai-visibility-tracking)
- [How to Write Comparison Pages That Rank and Convert](https://crabseo.com/guides/comparison-pages)
- [GEO vs SEO: What Is Different and What to Do First](https://crabseo.com/guides/geo-vs-seo)

## Stop guessing what Google
and AI think of you.
Drop your URL. In two minutes you’ll know what Google, ChatGPT, Claude and Perplexity see, and which fix to make first.

Free site analysis · From $29/mo · 14-day money-back guarantee
