llms.txt is a proposed plain-text Markdown file, placed at yoursite.com/llms.txt, that gives AI tools a short, curated guide to a website’s most important pages. It is a proposal, not an official standard, and at the time of writing Google says Google Search ignores it. For most small businesses it is optional: harmless to add, but not a way to get cited more.
That verdict surprises people, because the file gets pitched as a must-have for AI visibility. Here’s what it is, who has said they read it, how to add one on WordPress in five minutes, and where your time is better spent.
What is llms.txt?
The llms.txt proposal was published in September 2024 by Answer.AI, an AI research and development lab. The idea is simple. Large language models work within limited context windows, and full web pages are cluttered with navigation, scripts and ads. A short Markdown file that lists a site’s key pages, with one-line descriptions, lets an AI agent find the right content quickly.
The llmstxt.org proposal is explicit about the intended use: mainly on demand, when an agent is helping a user with a task, rather than for model training. It also suggests offering clean Markdown versions of important pages at the same URL with .md added. The specification is still evolving, so check the site for the current version before you build one by hand.
llms.txt vs robots.txt vs sitemap.xml
The three files are often mentioned together, but they do very different jobs.
| robots.txt | sitemap.xml | llms.txt | |
|---|---|---|---|
| Job | Tells crawlers which URLs they may access | Lists the URLs you want crawled and indexed | Curated guide to your most useful content for AI tools |
| Format | Plain-text directives | XML | Markdown |
| Status | Formal standard (RFC 9309) | Long-established protocol supported by major search engines | Proposal; no formal standard |
| Controls access? | Yes, for crawlers that honor it | No | No |
| Read by Google Search? | Yes | Yes | No; Google says Search ignores it |
| Typical size | A few lines | Every indexable URL | A short, hand-picked list |
The key line is “controls access.” An llms.txt file can’t block anything. If you want to limit how AI companies crawl or train on your content, that happens in robots.txt and at your CDN or host, not here.
What goes in an llms.txt file
The proposal defines a simple structure, in this order:
- An H1 with the name of the site or project. This is the only required section.
- A blockquote summary with the essentials someone needs to understand the rest.
- Optional detail in paragraphs or lists, without headings.
- H2 sections of links, each a Markdown link with optional notes after a colon.
- An “Optional” H2 section for secondary links an AI tool can skip when it needs a shorter context.
The file normally lives at the root of the domain. The proposal also allows one in a subpath, such as a documentation folder, covering the pages beneath it.
An llms.txt example for a local business
Here’s a sample for a hypothetical San Diego plumbing company. Swap in your own pages, keep descriptions factual, and only list pages you’d be happy for an AI to quote.
# Harbor Light Plumbing
> Licensed residential and light commercial plumbing in San Diego County.
> Flat-rate pricing, same-day service in most of the county, 24/7 emergency line.
Harbor Light Plumbing is a hypothetical company used for this example.
We do not service high-rise commercial buildings.
## Services
- [Drain cleaning](https://www.example.com/services/drain-cleaning/): Hydro-jetting and camera inspection
- [Water heaters](https://www.example.com/services/water-heaters/): Repair and replacement, tank and tankless
- [Emergency plumbing](https://www.example.com/emergency/): What counts as an emergency and response area
## Pricing and service area
- [How our pricing works](https://www.example.com/pricing/): Flat-rate pricing, trip fees and estimates
- [Service area](https://www.example.com/service-area/): Neighborhoods and ZIP codes we cover
## Optional
- [Maintenance guides](https://www.example.com/blog/): Seasonal tips and how-tos
- [About us](https://www.example.com/about/): Licenses, insurance and history
Notice what’s missing: no marketing slogans, no keyword lists, no instructions to AI models. The file should read like a clear index that anyone new to your business could follow.
Who actually reads llms.txt?
This is where hype and documentation part ways. Here’s what each major company’s own documentation said at the time of writing.
| Company | What its official documentation says |
|---|---|
| Its guide to generative AI features in Search says you don’t need AI text files or Markdown to appear in Google Search, and that such files neither help nor harm because Google Search ignores them. | |
| OpenAI | Its crawler documentation explains robots.txt controls for OAI-SearchBot, GPTBot and ChatGPT-User. It doesn’t say those agents read llms.txt. |
| Anthropic | Its crawler help article covers ClaudeBot, Claude-User and Claude-SearchBot and robots.txt. It doesn’t mention llms.txt. |
| Perplexity | Its crawler documentation covers PerplexityBot and Perplexity-User and robots.txt. It doesn’t say either reads llms.txt. |
There is a twist. OpenAI, Anthropic and Perplexity all publish llms.txt files for their own developer documentation, and that fits the proposal’s original purpose: helping coding assistants and agents find the right docs page on demand. That’s a different job from deciding which plumber or bakery gets cited in an AI answer. None of them has said, in its crawler documentation, that llms.txt affects whether a business shows up in its search results.
How to add an llms.txt file on WordPress
If you’ve decided to add one, WordPress makes it quick. Yoast SEO includes an llms.txt generator in its free version, per Yoast’s help article:
- In the WordPress dashboard, go to Yoast SEO, then Settings.
- Open Site features and find llms.txt under AI tools.
- Switch the toggle on and click Save changes.
- To control which pages appear, click Customize llms.txt file, choose Manual page selection, pick your key pages and save.
- Visit yourdomain.com/llms.txt to check the result.
At the time of writing, Yoast notes the feature isn’t available for multisite installs, and if the file can’t be auto-generated, your server’s file permissions are the usual culprit. Without Yoast, you can write the file yourself and upload it to your site’s root folder through your hosting control panel or SFTP. Use one method, not both.
Whichever route you take, choose pages manually. An automatic list of your latest blog posts is a weaker guide than your services, pricing, service area and contact pages.
Cost vs benefit for a small business
| Cost or risk | Benefit |
|---|---|
| Five minutes with Yoast, or about an hour to write and upload by hand | Harmless in Google Search, per Google |
| Another place for hours, prices and services to go stale | Forces you to name your most important pages, which is a useful exercise |
| Vendors selling “llms.txt optimization” as a visibility service | Ready if an AI tool you care about adopts it later |
| Time taken away from work that does move results | Helpful if you publish documentation that agents and developers use |
The biggest cost isn’t the file. It’s the opportunity cost of believing it’s AI visibility work. A clean Google Business Profile, crawlable pages that answer real questions and accurate structured data do far more. Our guide to schema markup for local businesses is a better use of the same hour.
Do I need an llms.txt file? Our recommendation
- Most local service businesses: Optional. If you use Yoast, turn it on, switch to manual selection and list your core pages. Don’t pay anyone for it and don’t expect it to change your AI citations.
- Software, SaaS and documentation-heavy sites: Worth doing well, with Markdown versions of key docs, because agents and coding assistants are the audience the proposal was designed for.
- Large stores with complex catalogs: Reasonable as a low-cost experiment, as long as product facts stay in sync with the live pages.
- Anyone hoping to block AI: Wrong tool. Use robots.txt and your CDN’s bot controls.
Then measure what matters. Watch AI referrals with our walkthrough of ChatGPT traffic in Google Analytics and track AI impressions as described in our guide on how to rank in Google AI Overviews. If you’d like a second opinion on what your site really needs, our SEO and AEO services can help.
Key takeaways
- llms.txt is a 2024 proposal from Answer.AI for a curated Markdown guide to a site’s key pages, not an official standard.
- It doesn’t control access; robots.txt and CDN settings do.
- Google says Google Search ignores llms.txt, and the crawler docs of OpenAI, Anthropic and Perplexity don’t say their bots read it.
- Yoast SEO can generate one for free in a few clicks; pick pages manually.
- For local businesses it’s optional housekeeping, not an AI visibility tactic.
Frequently asked questions
What is llms.txt used for?
llms.txt is meant to give AI tools a short, curated map of a website’s most useful content in Markdown, so an agent helping a user can find the right page without parsing cluttered HTML. The proposal, published by Answer.AI in 2024, focuses on on-demand use by agents rather than model training. Its clearest real-world use today is developer documentation.
Does Google use llms.txt?
Not for Search. Google’s guide to optimizing for generative AI features says you don’t need AI text files or Markdown versions of pages to appear in Google Search, and that adding them neither helps nor harms visibility or rankings because Google Search ignores them. AI Overviews and AI Mode draw on Google’s regular Search index instead.
Does ChatGPT read llms.txt?
At the time of writing, OpenAI’s crawler documentation explains robots.txt controls for OAI-SearchBot, GPTBot and ChatGPT-User but doesn’t say any of them read llms.txt. To be eligible for ChatGPT search results, OpenAI says to allow OAI-SearchBot in robots.txt. An llms.txt file won’t hurt, but there’s no official confirmation it’s used.
Is there an llms.txt generator for WordPress?
Yes. Yoast SEO includes a free llms.txt generator. In WordPress, go to Yoast SEO, Settings, Site features, then llms.txt under AI tools, switch it on and save. You can choose Manual page selection to control which pages are listed. Check the finished file at yourdomain.com/llms.txt and keep it in sync with your site.
Can llms.txt stop AI companies from using my content?
No. llms.txt is a guide, not an access control, so it can’t block crawling or training. Use robots.txt rules for specific AI user agents such as GPTBot or ClaudeBot, and your CDN’s bot settings if you need enforcement. Keep in mind that robots.txt is voluntary and only works with crawlers that choose to honor it.
Related reading
- How to Rank in Google AI Overviews: A 9-Step Playbook for Small Businesses
- ChatGPT Traffic in Google Analytics: How to Find, Group and Report It
- How to show up in ChatGPT, Gemini and Perplexity answers
- Schema markup for local businesses
- SEO vs. AEO: How NYC Businesses Get Found on Google and Quoted by ChatGPT
Want a second opinion on your own marketing? Get in touch ⟶
Work with Sitting Pretty Creative
Want a clear answer on what your site actually needs for AI search?
We review crawl access, indexing and content, then fix the things that measurably affect how search engines and AI tools see you.