llms.txt Explained: Implementation, Limitations, and Actual Evidence
llms.txt implementation is one of the most discussed and least proven ideas in AI search. The proposal is simple: a Markdown file at your site root that points AI tools to your most useful content. The evidence, however, is thin, and the biggest search platform has said it does not use the file.
This guide to llms.txt implementation separates what is documented from what is experimental. You will see what the proposal says, how llms.txt differs from robots.txt and sitemaps, how to create and automate the file, what support exists and how to test whether it does anything for you.
What is the llms.txt proposal?
Short answer: llms.txt is a proposed standard, introduced by Jeremy Howard in September 2024, for a Markdown file at /llms.txt. It gives language models a short summary of a site and a curated list of links to its most useful content.
The official proposal describes the file as a way to help models use a website at inference time. Its main audience is developer documentation, where AI coding tools benefit from clean, well-organized references.
How does llms.txt differ from robots.txt and sitemap.xml?
Short answer: robots.txt controls access, sitemap.xml lists every page for discovery, and llms.txt suggests a small set of pages worth reading. Only the first two are widely supported standards.
| File | Purpose | Format | Support |
|---|---|---|---|
| robots.txt | Allow or block crawling | Plain text directives | Universal standard |
| sitemap.xml | List URLs for discovery | XML | Supported by major search engines |
| llms.txt | Curated summary and links for LLMs | Markdown | Proposal, limited and undocumented support |
So llms.txt implementation never replaces the other two. If you want to control AI crawlers, use our guide to robots.txt for AI crawlers instead.
What Markdown structure does the proposal recommend?
Short answer: An H1 with the site name, which is the only required element, then a blockquote summary, optional detail paragraphs and H2 sections with lists of links. A section named “Optional” holds secondary links that tools can skip.
# Example Co
> Example Co is a B2B software company that helps finance teams automate invoicing for mid-size businesses.
Example Co serves companies with 50 to 500 employees. The links below cover our product, pricing, integrations and the guides customers use most.
## Product
- [Product overview](https://www.example.com/product/): What the platform does and who it is for
- [Pricing](https://www.example.com/pricing/): Plans, billing terms and trial rules
- [Integrations](https://www.example.com/integrations/): Supported tools and how data syncs
## Guides
- [Getting started](https://www.example.com/docs/getting-started/): Setup steps for new accounts
## Optional
- [Company](https://www.example.com/about/): Team, history and contact details
The proposal also suggests offering clean Markdown versions of key pages, for example at the same URL with .md added. That step is optional and mostly useful for documentation sites.
How do you create and maintain an llms.txt file?
Short answer: Pick the 10 to 30 pages that best explain your business, write a one-line note for each and publish the file at your root domain. Review it whenever you add or retire key pages.
- Write a one-sentence summary that matches your About page.
- Group links by type, such as services, guides and company information.
- Add a short note after each link that explains what the page answers.
- Upload the file as /llms.txt and confirm it returns a 200 status.
- Set a quarterly reminder to remove outdated links.
How can a CMS automate llms.txt implementation?
Short answer: Generate the file from your CMS so it stays current. Some SEO plugins already offer it, and a short script can build it from the WordPress REST API.
Yoast SEO, for example, can create an llms.txt file automatically. For other setups, this Python script builds the file from published pages and posts:
#!/usr/bin/env python3
"""Build an llms.txt file from a WordPress site's REST API.
Usage: python generate_llms_txt.py https://www.example.com "Example Co" "One-line summary" > llms.txt
"""
import html
import re
import sys
import requests
def fetch(base, kind, per_page=50):
url = f"{base}/wp-json/wp/v2/{kind}"
params = {"per_page": per_page, "status": "publish", "_fields": "link,title,excerpt"}
r = requests.get(url, params=params, timeout=20)
r.raise_for_status()
return r.json()
def clean(text, limit=140):
text = html.unescape(re.sub(r"<[^>]+>", "", text or "")).strip()
text = " ".join(text.split())
return text if len(text) <= limit else text[: limit - 3].rstrip() + "..."
def section(title, items):
lines = [f"## {title}", ""]
for item in items:
name = clean(item["title"]["rendered"], 90)
note = clean(item.get("excerpt", {}).get("rendered", ""))
lines.append(f"- [{name}]({item['link']})" + (f": {note}" if note else ""))
return "\n".join(lines) + "\n"
def build(base, site_name, summary, pages, posts):
out = [f"# {site_name}", "", f"> {summary}", ""]
out.append(section("Pages", pages))
out.append(section("Optional", posts))
return "\n".join(out)
if __name__ == "__main__":
base, name, summary = sys.argv[1].rstrip("/"), sys.argv[2], sys.argv[3]
print(build(base, name, summary, fetch(base, "pages"), fetch(base, "posts")))
In our test with sample data, the script produced a valid file with an H1, a summary, a Pages section and an Optional section. Run it on a schedule, for example nightly, and upload the result to your site root.
Which platforms document support for llms.txt?
Short answer: Google states that Google Search does not use llms.txt, including for AI Overviews and AI Mode. No major AI search provider has published documentation saying it uses the file to rank or cite sources.
Google is the clearest voice. Its guidance says you do not need new machine-readable files or AI text files to appear in its AI features, and that Google Search does not use llms.txt, as Search Engine Land reported. It also says the file will not help or hurt rankings.
Usage data points the same way. An Ahrefs analysis of 137,000 sites found that most llms.txt files are never requested. Where the file does get read, it is often by coding agents and developer tools rather than AI search crawlers.
How do you design an experiment to measure its impact?
Short answer: Log every request to /llms.txt, record which user agents fetch it and compare AI visibility metrics before and after launch against a control group of similar pages or sites. Without a control, any change is anecdotal.
- Baseline: track AI mentions and citations for a fixed prompt list for four weeks.
- Launch: publish llms.txt and log every request to it, including user agent and IP.
- Control: keep a comparable set of pages out of the file.
- Compare: check whether pages listed in the file gain citations faster than the control set.
- Verify: confirm that bots fetching the file are genuine, using published IP ranges.
Our guide to AI crawler log analysis shows how to capture the request data.
When may llms.txt implementation not be worthwhile?
Short answer: If your goal is visibility in Google or AI search, llms.txt is unlikely to move results. It is more defensible for developer documentation, APIs and products that coding agents use.
The cost of llms.txt implementation is low, so publishing a simple file rarely hurts. The real risk is opportunity cost: time spent on llms.txt instead of crawl access, clear content and brand authority, which have documented effects.
Frequently asked questions about llms.txt implementation
Does Google use llms.txt?
No. Google states that Google Search, including its AI features, does not use llms.txt, and that the file neither helps nor hurts rankings.
Is llms.txt a replacement for robots.txt?
No. llms.txt cannot allow or block crawlers. Use robots.txt and firewall rules for access control.
Can llms.txt hurt my site?
Not according to Google. Just keep it accurate, and avoid listing pages you do not want highlighted.
Who benefits most from llms.txt implementation?
Developer-facing products, API documentation and software tools that coding assistants read. Marketing sites see little documented benefit.
Should I also create llms-full.txt?
Some sites publish a longer version with full page content, but it is not part of the core proposal and has even less documented support.
Next step
Decide based on your audience. If developers use your product, publish a simple file and measure who reads it. Otherwise, put that time into the items in our technical AEO checklist.
Want more practical guides on llms.txt implementation? Browse the latest articles on the Blippu blog.