Live, scanning the open webAI Visibility Audit Platform

Answer Engine Optimization

What Is an llms.txt File and How To Write One

An llms.txt file is a plain text map that tells AI engines what your site does and where to look.

By Matthew Lin, Founder, AudFlo·12 Jun 2026·Updated 18 Jun 2026·10 min read
Infographic showing an llms.txt file acting as a map that guides AI engines to a website key pages.

An llms.txt file is a plain map that tells AI engines what your site does.

Quick answer

An llms.txt file is a plain text file at the root of your site that tells AI engines what you do, who you serve, and which pages matter most. Proposed by Answer.AI in 2024, it works like a friendly map written in Markdown for models that cannot crawl every page. Be clear-eyed about it: adoption is concentrated in developer tools and docs, and no major AI engine has confirmed it actually reads the file yet. The real value today is that it is cheap, forces you to state your category plainly, and future-proofs you if the standard catches on. To write one, state your category and buyer in the first lines, list your key pages with a short note on each, save it as llms.txt, and place it at yoursite.com/llms.txt.

A map written for machines
Your whole site
dozens of pages, ads, scripts
llms.txt
a plain map of what matters
AI reads the map
starts from a clear base

What an llms.txt file is

An llms.txt file is a plain text file you place at the root of your website. It tells AI engines what you do, who you serve, and which pages matter most.

Think of it as a short map written for machines. A person browses your site and figures things out, while a model often samples a few pages and moves on.

The format was proposed by Jeremy Howard and the Answer.AI team in 2024, and it is deliberately simple. It is Markdown: a title line with your name, a one-line summary, and a few sections of links, each with a short description. An optional companion file, llms-full.txt, holds the full text of those pages in one document.

llms.txt vs robots.txt

It is easy to confuse the two files, since both sit at your domain root and both are read by crawlers. They do opposite jobs.

Robots.txt is about permission. It tells crawlers which pages they are allowed to visit. An llms.txt file is about understanding. It tells AI engines what your site is for and where the important content lives. One is a gate, the other is a guide.

robots.txt
Permission
Tells crawlers which pages they are allowed to visit. A gate, not a guide.
llms.txt
Understanding
Tells AI what your site is about and where the important content lives.

Does it actually work yet?

Here is the honest part, because the hype runs ahead of the evidence. Adoption is real but lopsided. By late 2025, tracking services counted hundreds of thousands of sites with an llms.txt file, and among top sites the count grew several hundred percent in a matter of months. Almost all of that, though, is concentrated in developer tools, AI companies, and technical documentation. On the mainstream web it is still close to zero.

The state of adoption
~844k
sites with an llms.txt file (BuiltWith, late 2025)
+600%
growth among top sites in early 2025, from a near-zero base
~0
presence on the mainstream web; concentrated in dev tools & docs
The honest caveat
As of early 2026, no major AI company (OpenAI, Google, Anthropic, Meta) has confirmed it reads llms.txt in production, and Google has said it does not. Crawlers fetch the file; using it is another matter.
Sources: BuiltWith & SE Ranking adoption data (2025), Google (John Mueller / Gary Illyes) statements (2025).

More importantly, no major AI engine has confirmed it actually uses the file. Google has said plainly that it does not, and as of early 2026 none of OpenAI, Anthropic, Meta, or Mistral has committed to reading llms.txt in production. Their crawlers do fetch the file, but fetching is not the same as using. So be skeptical of anyone who promises that an llms.txt file alone will get you recommended.

Why write one anyway

Given all that, why bother? Because the cost is tiny and some of the upside is real today. Writing the file forces you to state, in plain words, what you do and which pages matter, which is the same clarity that helps every engine read you. It is a static file you write once. And if the standard does get adopted, you are already set up instead of scrambling.

It is cheap
An afternoon of work and a single static file. Low cost, low risk.
It forces clarity
Writing the map makes you state your category and key pages plainly.
It future-proofs
Crawlers already fetch it, so if engines adopt the standard you are ready instead of scrambling.

Treat it as cheap insurance and a clarity exercise, not a magic switch. That framing keeps you honest and keeps the file genuinely useful, whatever the engines decide to do with it.

How to write your llms.txt

Start with one heading that names your product. Under it, write one or two plain sentences that say what you do and who you serve.

Then add a short list of your most important pages. For each one, write the link and a brief note on what the reader will find there. Keep the language plain and honest: name your category, your main features, your pricing page, and your best proof.

yoursite.com/llms.txt
# AudFlo

> AI Visibility Audit Platform for founders. Scans your
> site, scores how AI engines see you, writes the fixes.

## Key pages
- [How it works](/how-it-works): the 6-step scan workflow
- [Methodology](/methodology): the 4 pillars and 32 checks
- [Pricing](/pricing): free scan; Pro is $19/mo

## Docs
- [Sample audit](/sample-audit): a real scan, end to end
# title · > one-line summary · ## sections of key links

A simple shape to follow is a title line with your product name, one or two sentences on what you do and who you serve, a list of key pages each with a short note, and a short section for docs, pricing, and contact.

Where to put the file

Save the file as llms.txt and place it at the root of your domain. It should load at yoursite.com/llms.txt with nothing else in the path.

That root location matters. It is the first place AI engines look, the same way they look for robots.txt.

After you upload it, open the address in a browser to confirm it loads as plain text.

Common mistakes to avoid

A few habits quietly waste the effort. None of them are hard to fix once you know to look.

Writing it like an ad
Marketing language gives a model nothing solid. Use plain, checkable statements.
Letting it go stale
Change pricing or ship a flagship feature? Update the file so the map matches the territory.
Skipping the rest
llms.txt helps engines read you, but your homepage, FAQ schema, and proof still do the heavy lifting.

The most common mistake is writing it like an ad, since marketing language gives a model nothing solid to hold. The second is letting it go stale, so update the file whenever you change pricing or add a flagship feature. The last is treating it as a shortcut: an llms.txt file helps engines read you, but your homepage, your FAQ schema, and your comparison pages still have to do their part. For the full method, read the Answer Engine Optimization Playbook.

Key takeaways

  • An llms.txt file is a plain-text Markdown map of your site for AI engines.
  • It states what you do, who you serve, and which pages matter, at yoursite.com/llms.txt.
  • Proposed by Answer.AI in 2024; adopted mostly by dev tools, AI companies, and docs.
  • No major AI engine has confirmed it reads llms.txt yet, so treat it as cheap future-proofing, not a magic switch.
  • The real payoff is the clarity it forces and the low cost, an afternoon of work.
  • Keep it plain, honest, and in sync with your site.

Common questions

FAQ.

What is an llms.txt file in plain words?+
It is a plain text file at the root of your site that tells AI engines what you do and which pages matter most. Think of it as a short map written for models instead of people.
Do AI engines actually use llms.txt?+
Not confirmed. As of early 2026, no major AI company (OpenAI, Google, Anthropic, Meta) has publicly committed to reading llms.txt in production, and Google has said it does not. Crawlers do fetch the file, and it is cheap future-proofing, but treat it as a clarity exercise rather than a guaranteed win.
Where do I put my llms.txt file?+
Place it at the root of your domain so it loads at yoursite.com/llms.txt. That is the first place AI engines look for it.
Is llms.txt the same as robots.txt?+
No. Robots.txt tells crawlers which pages they may visit. An llms.txt file tells AI engines what your site is about and where the important content lives.
What is the difference between llms.txt and llms-full.txt?+
llms.txt is a short index that lists your key pages with one-line descriptions. llms-full.txt is an optional companion that contains the full text of those pages in one Markdown file. Start with llms.txt.
Do I need to be technical to write one?+
No. An llms.txt file is plain text with simple headings and links. If you can write a short README, you can write an llms.txt file.
Does llms.txt guarantee AI will recommend me?+
No single file does that. It removes guesswork so engines can classify you correctly, which is one part of getting recommended. Clear pages and real trust signals do the rest.

Continue reading

More from the blog.

See why AI recommends competitors instead of you.

AudFlo is an AI Visibility Audit Platform. Run a free scan to get your AI Visibility Score and the exact fixes that help you get recommended.

New here? Read the complete AI Visibility Guide for founders or browse every article on the blog.

About the author

Matthew Lin

Architect by training. Property developer by profession. Tech entrepreneur by passion.

Founder of AudFlo, an AI Visibility Audit Platform that helps founders understand why ChatGPT recommends competitors instead of them.

More about AudFlo · @MattAudFlo on X