Services
AI Search (AEO · GEO)
AI Search OptimizationAnswer Engine Optimization (AEO)Generative Engine Optimization (GEO)ChatGPT SEOGoogle AI Overviews & AI Mode OptimizationAI Visibility Audit
Technical SEO
Technical SEO ServicesSEO AuditCore Web Vitals & Site Speed OptimizationSEO Migration & ReplatformingSchema Markup & Structured DataInternational & Multilingual SEO
Content & On-page SEO
Keyword Research & Search Intent MappingSEO Content StrategySEO Content WritingContent Refresh & OptimisationProgrammatic SEOOn-page SEO Services
Link Building & PR
Link Building ServicesDigital PR ServicesGuest Posting ServicesBacklink Audit & DisavowBrand Mentions & Digital Citations
Specialist SEO
Local SEO ServicesEcommerce SEO ServicesEnterprise SEO ServicesSaaS SEO ServicesYouTube SEOApp Store Optimization (ASO)
Strategy & Management
SEO ConsultingMonthly SEO ManagementSEO Reporting & Analytics
AI Search (AEO · GEO)
Industries SaaS SEOB2B SEOEcommerce SEOSEO for Law FirmsHealthcare SEOReal Estate SEOFintech & Finance SEOHome Services SEODental SEOEducation & EdTech SEO
Free Tools (33)
Learn GlossaryOur method
BlogPricingAboutContactFree AI visibility audit
Blog · SEO Guides

What Is an llms.txt File? SEO Guide for 2026

Learn what an llms.txt file is, how to write one, and whether it helps SEO. Includes the format, a copy-paste template and common mistakes to avoid in 2026.

SA
Saima AktherSEO and AEO Enthusiast
Updated 7 min read
What Is an llms.txt File? SEO feature image
On this pageKey takeawaysWhat is an llms.txt file?What goes inside an llms.txt file?How do I create an llms.txt file?What is llms-full.txt?Does llms.txt help SEO?llms.txt vs robots.txt vs sitemap.xml: what's the difference?Who should create an llms.txt file?What mistakes should I avoid?How do I check my llms.txt file works?FAQSources
Short answerAn llms.txt file is a Markdown file at your website's root (yourdomain.com/llms.txt) that lists your important pages with one-line descriptions, so AI tools can grasp your site in one read. Jeremy Howard of Answer.AI proposed it in September 2024, and Anthropic, Cloudflare and Stripe publish one. Google Search ignores it, so it aids AI visibility, not rankings.

Key takeaways

  • What it is: a Markdown file at /llms.txt with your site's name, a one-sentence summary and links to your most important pages, proposed by Jeremy Howard (Answer.AI) on 3 September 2024.
  • What it is not: it does not control crawling (robots.txt does that), does not list every URL (sitemap.xml does that), and Google Search does not use it.
  • Who benefits most: documentation sites, API references and large help centres — Mintlify auto-generates llms.txt across 8,000+ hosted docs sites.
  • Keep it short: list 10 to 30 pages, not 300; every link gets a one-line description of what the page answers.
  • Format checked: the details in this guide follow the llmstxt.org specification, checked in November 2026.

What is an llms.txt file?

An llms.txt file is a plain Markdown file at your site's root that gives large language models a curated summary of your site and links to its most useful pages.

Jeremy Howard of Answer.AI proposed the format on 3 September 2024 and published the specification at llmstxt.org, because websites are not optimised for LLM consumption — models work better with clean Markdown than with rendered HTML.

It is a community proposal, not a web standard, and no LLM provider is required to read it. Adoption is still strongest among developer-facing sites: Anthropic, Mintlify, Cloudflare, Stripe, Vercel, Perplexity, LangChain and Hugging Face all publish one, and the llmstxt.org directory listed 800+ verified domains in August 2026.

What goes inside an llms.txt file?

An llms.txt file has five parts in a fixed order: an H1 with the site name, a blockquote summary, optional detail paragraphs, H2 sections of links, and an optional ## Optional section for secondary pages.

Element Required? Format
H1 site name Yes — the only required part # Site Name
Blockquote summary Recommended > One or two sentences
Detail paragraphs Optional Plain Markdown, no headings
H2 sections Optional ## Section name, then a link list
Link items In each H2 section - [Page name](url): what it covers
## Optional section Optional Secondary links, listed last

Here is a template you can copy. Replace everything in angle brackets with your own pages.

# <Product name>
> <Product name> is a <category> for <who it is for>. It helps them <main job>.

## Guides
- [Getting started](https://example.com/docs/getting-started): <what the guide covers>
- [Pricing](https://example.com/pricing): <plan limits and billing>

## Optional
- [Changelog](https://example.com/changelog): <release notes>

How do I create an llms.txt file?

You can create an llms.txt file in under 15 minutes with any text editor: pick your pages, write the H1 and summary, group links under H2 headings, then save the file as llms.txt at your site root.

  1. Pick 10 to 30 pages, not 300. Start with the pages you would send a smart new colleague: what you do, what it costs, how it works, and the two or three guides that answer your most common questions.
  2. Write the H1 and blockquote like an encyclopedia entry. One or two sentences: what the site is, who it is for, and what makes it different.
  3. Group links by what people are trying to do. Use H2 headings such as Guides, Pricing, API and Support, not your site's navigation labels.
  4. Write a factual note for every link. The description after the colon is where most of the value is — say what question the page answers.
  5. Add an ## Optional section for secondary pages. Changelogs, legal pages and older posts go here, not in the main sections.
  6. Publish it at the root. Save it as a plain text file at https://yourdomain.com/llms.txt and check that it returns a 200 status. The spec also allows files in subpaths, such as /docs/llms.txt, that describe only that section.
  7. Maintain it. Review the file when key pages change and remove dead links; a stale llms.txt points AI tools at pages that no longer exist.

You do not have to write it by hand. Mintlify auto-generates llms.txt for hosted documentation sites, and on WordPress both Rank Math and Yoast SEO offer an llms.txt feature that lists chosen posts and pages automatically. Check the output by hand either way — generators list pages, they do not write good descriptions.

What is llms-full.txt?

llms-full.txt is an optional companion file that contains the full text of every page linked in llms.txt, so an LLM can read your whole docs set in one request. Publish it alongside llms.txt and keep the two in sync, or the full version goes stale while the short one stays current.

It is only worth the effort for documentation and API content, where the full text is the product. For a marketing site, the short llms.txt file is enough, and a full-text dump adds little.

Does llms.txt help SEO?

No, llms.txt does not help Google rankings. Google Search does not use llms.txt, AI text files or special markup, and Google's guidance says creating them neither helps nor harms visibility in Search, AI Overviews or AI Mode. An llms.txt file is not a ranking factor, and adding one will not move your positions.

Its value is for AI tools and agents that read your site directly.

When ChatGPT, Claude or Perplexity fetches your site, a clear llms.txt tells it which pages matter and what each one answers, so it can find and cite your best pages faster.

Track whether AI answers mention your site with LLM rank tracking software before and after you publish the file, so you judge it on evidence rather than hope.

llms.txt vs robots.txt vs sitemap.xml: what's the difference?

The three files do different jobs and coexist: robots.txt controls which crawlers may access what, sitemap.xml lists every URL for search engines, and llms.txt curates the highlights for language models.

File Job Who reads it Required?
robots.txt Access rules for crawlers Search and AI crawlers Recommended
sitemap.xml Full list of URLs Search engines Recommended
llms.txt Curated highlights with descriptions LLMs and AI agents Optional

Do not put access rules in llms.txt — it cannot block anything — and do not replace your sitemap with it, since the spec explicitly says llms.txt is not a sitemap replacement.

Who should create an llms.txt file?

Create one if AI tools and agents are likely to read your site directly — documentation, API references and large help centres benefit most. Small brochure sites and single-page sites gain little, because there is nothing to curate.

  • You publish docs, API references or a help centre
  • Your content answers questions people ask AI assistants
  • You have 10 or more key pages worth curating
  • Someone will review the file when pages change

Skip it if you have fewer than ten pages, if your content changes daily and nobody will maintain the file, or if you expect a Google ranking boost — there is none. If you publish content at volume, AI SEO tools for content optimisation can help keep the pages your llms.txt points to current.

What mistakes should I avoid?

The most common mistakes are listing every URL like a sitemap, writing no descriptions, and letting the file go stale. Keep it curated, factual and current.

Mistake What to do instead
Listing every page Keep 10 to 30 links; the sitemap lists the rest
No descriptions after links Write one factual line per link, saying what it answers
Stale or dead links Check the file when key pages change
Expecting Google rankings Google ignores llms.txt; judge it on AI citations
Putting it in a subfolder Publish at the root; subpath files describe only that section
Writing HTML or JavaScript in it Plain Markdown only, following the spec

How do I check my llms.txt file works?

Check three things: the file loads at yourdomain.com/llms.txt with a 200 status, it parses as valid Markdown with a single H1, and every link returns 200. Validate it with the tools linked from llmstxt.org, and re-check it whenever key pages change.

Use Google Search Console keyword research to confirm the pages you list are the ones Google already surfaces for your important queries — if Google does not index a page, an AI tool is unlikely to trust it either.

Frequently asked questions

Does Google use llms.txt?

No. Google Search does not use llms.txt, AI text files or special markup, and Google's guidance says creating them neither helps nor harms visibility in Search, AI Overviews or AI Mode. Add llms.txt for AI tools that read your site, not for Google rankings.

Do I still need robots.txt and sitemap.xml if I have llms.txt?

Yes. robots.txt controls which crawlers may access your site, sitemap.xml lists every URL for search engines, and llms.txt curates the highlights for language models. The three files do different jobs and should all exist.

How many pages should I list in llms.txt?

List 10 to 30 pages. Pick the pages that answer the most common questions about your business — what you do, what it costs, how it works — and leave out anything that would not help someone answer a question about your product.

Can I generate llms.txt automatically?

Yes. Mintlify auto-generates it for hosted documentation sites, and WordPress plugins Rank Math and Yoast SEO offer llms.txt features that list chosen posts and pages. Check the output by hand, since generators list pages but do not write good descriptions.

Will llms.txt get my site cited by ChatGPT?

Not on its own. ChatGPT and other AI tools may read llms.txt when they fetch your site, but citations depend on your content being the best answer and being indexed. Treat llms.txt as a signpost that helps AI tools find your best pages, not a guarantee of citations.

Sources

SA
About the authorSaima Akther · SEO and AEO Enthusiast

Saima Akther is an SEO and AEO enthusiast who writes Serplark’s best-of lists and guides on SEO tools, answer engine optimization and AI search. Published . Spot an error or a missing tool? Tell us and we will check it.