What Is llms.txt? Examples, Does It Work, and How to Write One

llms.txt is a Markdown file that gives AI tools a map of your site. What it does, what the data says about whether it works, real examples and a template.
What is llms.txt? Short answer: it’s a plain-text Markdown file at yoursite.com/llms.txt that gives AI tools a short map of your most useful pages. It’s worth having, and it’s quick to make. It won’t get you into Google’s AI Overviews, though, and there’s no evidence it makes ChatGPT cite you, so it helps to know what it’s actually for before you spend time on it.
When I checked 98 B2B software vendors for our study on whether websites block AI search, 58 of the 93 sites I could read publish one. So it’s definitely common. What it does once it’s there is a separate question, and the answer depends on which AI tool you’re asking about.
What is an llms.txt file?
llms.txt is a proposal from data scientist, Jeremy Howard, first published on 3 September 2024. The idea is simple: a website puts a Markdown file at its root that tells AI tools what the site is and where its most useful content lives, so an AI tool doesn’t have to work it out from menus, scripts and pop-ups.
A second version of the proposal came out in August 2026, after two years of sites adopting it. It added a few practical things, like a standard way for a page to point to its llms.txt file, and a clear rule for sites that publish more than one (a file covers the pages under its path, and the most specific file applies).
It sits alongside robots.txt and the sitemap, but it does a different job:
robots.txt tells crawlers what they’re allowed to access.
A sitemap lists every page you want search engines to find.
llms.txt picks out the pages that matter most and says, in plain language, what each one is for.
What goes in an llms.txt file?
The format is light. Per the proposal, a file has:
An H1 with the name of the site or project. This is the only required part.
A blockquote with a short summary of what the site is, with the key information needed to understand the rest of the file.
Optional paragraphs or lists with any other context worth knowing.
H2 sections of links, each link with an optional one-line note on what’s behind it.
An “Optional” section, by convention, for secondary links an AI tool can skip when it needs a shorter version.
The proposal also suggests offering clean Markdown versions of your key pages (at the same address with .md added, or with the extension swapped for .md). Some documentation platforms go a step further and publish an llms-full.txt, a single file with the full text of the docs.
llms.txt examples and a template you can copy
Real files vary a lot, depending on who they’re written for. Three worth looking at:
Frase’s llms.txt is a marketing site’s file. After the H1 and a short summary, it groups links under headings like key pages, free tools, comparisons and Markdown versions of each page, and ends with a section on using Frase as an agent. It’s much longer than the template below and doesn’t use an Optional section.
Stripe’s docs file opens with direct instructions to coding agents, such as checking the npm registry for the latest package version rather than relying on a version number from memory. It’s written for the tools developers use, more than for chatbots.
Anthropic’s docs file points agents to an MCP server they can connect to for searching and reading the documentation. Anthropic publishes an llms-full.txt alongside it.
If you’re writing one for a B2B product site, here’s a template to start from:
# [Company name]Swipe to see more →
> [Company] is [what it is] for [who it's for]. It helps [audience] [main outcome].
[Optional: one or two sentences of context, e.g. who the product suits and where to start.]
Product
Product overview: what the product does and its main featuresPricing: plans and what each includesIntegrations: tools it connects to
Guides
Getting started: set-up for new usersKey guide: [one line on what it answers]
Company
About: who we are and where we're basedContact: sales and support contacts
Optional
Blog: articles on [topic]Case studies: customer results
Does llms.txt actually work?
Google gives two different answers, depending on which team you ask.
Google Search says it doesn’t use the file. Google’s guide to AI features and your website says you don’t need to create “AI text files” to appear in Google Search, including its generative AI features, because Google Search doesn’t use them. It also says creating an llms.txt file for other services “will neither harm nor help your site’s visibility or rankings in Google Search.”
Chrome’s Lighthouse does check for it. In May 2026, Lighthouse added an llms.txt audit under a new “agentic browsing” section. Chrome’s documentation says that without the file, “agents may spend more time crawling the site to understand its high-level structure and primary content.” The audit flags a server error when fetching the file, and marks a missing file as not applicable, since it’s optional for now.
The crawler data is less encouraging. Ahrefs looked at 137,210 domains in its Web Analytics data and found that 97% of the llms.txt files they publish got zero requests in May 2026. AI bots also never requested the file on sites that didn’t have one. Semrush tested a file on Search Engine Land and recorded zero visits from GPTBot, ClaudeBot, PerplexityBot or Google-Extended between mid-August and late October 2025.
Putting that together, here’s how I’d read it:
For Google rankings and AI Overviews: no effect, by Google’s own account.
For AI agents and coding tools that land on your site and need to understand it quickly: this is the job it was designed for, and the use case Chrome is building around. As AI agents are taking more and more actions on sites, this could become increasingly important.
For being cited by ChatGPT, Perplexity or Claude: the crawler data says those tools rarely fetch the file at all. Our own study didn’t measure whether having one changes citations, so I wouldn’t promise anyone that it does.
So add one as a courtesy to AI agents, and judge your AI visibility on what your pages say.
How many websites have an llms.txt file?
In our study, I checked 98 B2B software vendors whose sites appeared in the organic results Frase’s SERP tool returned for 24 US-English buyer searches on 9 October 2026. 58 of the 93 sites I could read publish an llms.txt file (62%). You can see the full method in the study on whether websites block AI search.
Ahrefs found a lower figure in a much broader sample: 28% of the 137,210 domains in its data, which it describes as an upper bound because its customers are more technical than average. The two samples are different, so the figures aren’t directly comparable.
One caveat on our number: I can’t tell how many of those files were deliberate. Some SEO plugins create one for you, and at least one popular WordPress plugin, All in One SEO, creates one by default.
Should you add an llms.txt file to your website?
For most sites, yes. It’s a small file, it’s quick to write, and Google has said it won’t hurt your rankings. The sites that get the most from it:
Product and SaaS companies, because AI agents may land on your site to compare options or complete a task.
Documentation sites, where developers’ coding tools pull answers straight from your docs. Anthropic and Stripe both publish one for their developer documentation.
Large or complicated sites, where the important pages are hard to pick out from navigation alone.
Where I’d hold back is paying money for it, especially to anyone selling it as a ranking or citation lever. If you want AI tools to mention you, the bigger levers are still what your pages say, how clearly they answer the questions people ask, and which other sites talk about you. We covered how llms.txt fits alongside those in our guide to making your website agent-ready.
How do you create an llms.txt file?
Here’s the process I’d follow:
Pick 10 to 30 pages that matter most. Your product or service pages, pricing, key guides, documentation, and contact or booking pages. Leave out thin or outdated pages.
Write the H1 and the summary. One or two sentences on what you do and who it’s for, written the way you’d explain it to a new colleague.
Group the links under H2s, such as Product, Guides, Docs and Company, and give each link one plain line on what’s on that page.
Put anything secondary under “Optional”.
Save it as llms.txt at the root of your site, so it loads at yoursite.com/llms.txt as plain text, without an error.
Keep it up to date. A file that points to deleted pages or old pricing works against you, so add it to the checklist whenever you launch or retire a page.
If you’d rather not write it by hand, there are generators. All in One SEO creates one on WordPress, documentation platforms like Mintlify generate llms.txt and llms-full.txt, and sites hosted on FraseCMS serve an llms.txt automatically, built live from your posts, pages and authors.
To check what you have, go to yoursite.com/llms.txt. If you get a 404 or your homepage, you don’t have one. Frase’s free Agent Readiness Checker checks it alongside your robots.txt, sitemap and structured data in one go.
Frequently asked questions
Is llms.txt the same as robots.txt?
No. robots.txt tells crawlers which parts of your site they may access. llms.txt doesn’t grant or block access; it points AI tools to your most useful pages and explains what they are. If robots.txt blocks a crawler, an llms.txt file won’t let it in.
Does Google use llms.txt?
Google Search doesn’t. Its guidance says Search ignores AI text files like llms.txt and that publishing one neither helps nor harms your rankings. Chrome’s Lighthouse tool does check for the file, as part of its audits for AI agents browsing your site.
Does llms.txt help you get cited by ChatGPT or Perplexity?
There’s no evidence that it does. Ahrefs found 97% of llms.txt files got no requests in May 2026, and Semrush’s test saw no visits from GPTBot, ClaudeBot or PerplexityBot. Whether ChatGPT or Perplexity cite you depends far more on what your pages say and which other sites mention you.
What is llms-full.txt?
llms-full.txt is a single file containing the full text of a site’s documentation, rather than links to it. It isn’t part of the core llms.txt proposal, but documentation platforms such as Mintlify generate one, and Anthropic’s developer docs publish one.
Where should llms.txt go?
At the root of your domain, so it loads at yoursite.com/llms.txt. The proposal has always allowed files in subfolders too, such as /docs/llms.txt. Version 2 made the rule clear: a file covers the pages under its path, and where more than one applies, the most specific one wins.
How often should I update my llms.txt file?
Whenever your key pages change: a new product page, new pricing, a retired guide. A quick check each quarter is a sensible minimum, so the file never points AI tools to pages that no longer exist.
About the author
Georgina D'Souza
Marketing Manager
Georgina D'Souza is a Marketing Manager at Frase and Copysmith AI, the company behind Frase.io and Describely.ai. She brings ten years of marketing experience — spanning early-stage startups to multinational enterprise — specializing in content marketing, SEO, and generative engine optimization, helping SaaS brands adapt their content strategies for AI-powered search. Georgina writes about generative engine optimization, AI search visibility, and content marketing for the AI era.
Related articles
See Frase run on your own content.
Research your market, draft in your voice, and track where you show up across Google and AI search. Start free.
Start free trial- 7-day free trial
- No credit card


