Article
What is llms.txt, and does your site need one?
Short answer
llms.txt is a short Markdown file you put on your site to give AI agents a curated guide to your most useful pages, with links to clean text versions of them. It’s a community proposal, not a Google requirement: Google says its Search doesn’t use llms.txt at all, but the file is cheap to add and can help other agents and tools that look for it.
That’s the whole answer. The rest of this page is what the file looks like, what Google says, and how to write one without overthinking it.
Where llms.txt came from
The idea is published at llmstxt.org, now in its second version (llmstxt.org). The proposal starts from a plain problem: web pages are built for people, and turning them back into clean text is “difficult and imprecise” (llmstxt.org). AI context windows are still too small to hold most whole websites, so agents do better with concise information gathered in one place (llmstxt.org).
The fix it proposes is a Markdown file called llms.txt with brief background, guidance and links to more detailed Markdown files (llmstxt.org). It can sit at the root of your site, or it can live at any path and cover the pages under that path, like /docs/llms.txt for a docs section (llmstxt.org).
The proposal says thousands of sites publish one, documentation platforms generate it automatically, and the AI labs publish llms.txt files for their own developer docs (llmstxt.org). (Those are the proposal’s claims about itself. We haven’t counted.)
What goes in the file
The format is simple and fixed, so both people and programs can read it (llmstxt.org). In order:
- An H1 with the name of your site or project. This is the only required part (llmstxt.org).
- A blockquote with a short summary of what the site is (llmstxt.org).
- Optional paragraphs or lists with more detail, but no headings (llmstxt.org).
- Optional sections under H2 headings, each holding a list of links. Every item is a Markdown link, optionally followed by a colon and a note (llmstxt.org).
A section titled “Optional” is the convention for secondary links an agent can skip when it’s short on room (llmstxt.org).
Here’s an EXAMPLE for a made-up bakery site. Swap in your own pages.
# Example Bakery
> Example Bakery is a neighborhood bakery. We sell sourdough, pastries and custom cakes, with pickup and local delivery.
Prices change seasonally. The menu page is the current source of truth.
## Main pages
- [Menu and prices](https://example.com/menu.md): what we bake and what it costs
- [Custom cake orders](https://example.com/cakes.md): lead times, sizes, how to order
- [Delivery area](https://example.com/delivery.md): where we deliver and the fees
## Optional
- [Our story](https://example.com/about.md)The.md copies
The proposal also suggests that pages agents might need get a clean Markdown version at the same URL with.md added, like page.html.md, or with the extension swapped for.md (llmstxt.org). URLs without a file name would use index.html.md or index.md (llmstxt.org). To help agents find these files, it recommends link relations: rel=“alternate” type=“text/markdown” for the Markdown copy and rel=“describedby” for the llms.txt file that covers the page (llmstxt.org).
Our read: the.md copies are the bigger job. If your CMS doesn’t make them for you, start with the llms.txt file alone and add copies later for your most important pages.
How it differs from robots.txt and your sitemap
These three files get mixed up a lot, and they do different jobs.
| robots.txt | tells automated tools what access is acceptable (llmstxt.org). It’s rules. |
|---|---|
| sitemap.xml | lists all the indexable pages on a site (llmstxt.org). It’s a full inventory. |
| llms.txt | is a curated overview, used on demand when an agent needs information to help a user (llmstxt.org). It’s a guided tour. |
The proposal is blunt about why a sitemap isn’t a substitute: it often won’t list Markdown versions of pages, it leaves out helpful external links, and it’s usually far too big to fit in a model’s context (llmstxt.org). Its authors also say llms.txt has mostly been used when an agent is answering something (inference) rather than for training (llmstxt.org).
What Google says
Google’s guide for site owners says the same SEO best practices apply to AI Overviews and AI Mode as to Search overall (Google Search Central). To be eligible as a supporting link, a page must be indexed and eligible to be shown with a snippet, and “There are no additional technical requirements.” (Google Search Central) It also says “specific optimization isn’t required” for AI Overviews and AI Mode (Google Search Central).
Google got more specific in 2026. Its AI optimization guide now says you don’t need new machine readable files, AI text files, markup or Markdown to appear in Google Search, “as Google Search itself doesn’t use them.” (Google Search Central) The same guide lists “creating unnecessary AI text files (like llms.txt)” among tactics you can ignore for Google Search (Google Search Central). Google’s documentation changelog for June 15, 2026 says these files won’t help or hurt your visibility or rankings, and that it’s fine to keep them for other services or systems that use them (Google Search Central).
So for Google, llms.txt isn’t on the list. What is on the list: allowing crawling in robots.txt and at your CDN, internal links, good page experience, important content in text form, and structured data that matches the visible text (Google Search Central).
Our read: if you only have an hour, spend it on Google’s list first. llms.txt is a small extra for the agents and tools that do look for it, not a replacement for being crawlable and indexed.
Who actually benefits
The proposal says llms.txt files get used most for software documentation, where coding agents follow them to find API references (llmstxt.org). It says the same structure can work for a business explaining its structure and policies, a personal site with someone’s CV, or a school’s course information (llmstxt.org).
Our read: if you run a docs site or a product with an API, add one now. If you run a blog or a local business, it’s a nice-to-have that costs you about 20 minutes. Nobody (including us) can tell you yet how much it changes what chat assistants say about you.
Be In GEO publishes an llms.txt too. We keep it for coding agents and other AI tools that look for one, not for Google Search.
Do you need to write it by hand?
Maybe not. The proposal lists tools that generate the file automatically, including Mintlify and GitBook for docs, the Yoast SEO and AIOSEO WordPress plugins, and Wix, which it says generates an llms.txt file for every Wix site (llmstxt.org). Check your platform’s settings before you write one from scratch.
If you write it yourself, the proposal’s own tips are good ones: use concise, clear language, add a short description to each link, and avoid unexplained jargon (llmstxt.org). It also suggests testing the file by giving an agent only your llms.txt and asking it questions about your content (llmstxt.org).
What beingeo.com publishes
Be In GEO has an llms.txt at beingeo.com/llms.txt. It follows the format above: an H1 with the site name, a short summary in a blockquote, then link sections headed Articles, Teardowns, Playbooks and Site (beingeo.com). The Site section includes a full-text file of every article (beingeo.com). The lists change as we publish, so open the file to see what’s in it right now.
Key takeaway
What to do next
- Check whether your CMS or a plugin you already use can generate llms.txt. Turn it on if so.
- If not, write the file by hand using the EXAMPLE above: name, one-line summary, then 5 to 15 links to your most useful pages, each with a short note.
- Upload it to your site root and open yoursite.com/llms.txt in a browser to confirm it loads as plain text.
- Test it the way the proposal suggests: paste only the file into a chat assistant and ask it three questions a customer would ask.
- Don’t skip the basics Google does list. Our read: a crawlable, indexed page with a clear answer beats a perfect llms.txt pointing at pages no crawler can reach.
Get the worksheet
Want to see which sites AI answers cite for the questions your customers ask? Grab the free worksheet at beingeo.com/checklist. You’ll also get short emails with each new teardown.