Skip to content
Perth Marketing home

Guide

llms.txt: an example file, and what it does and doesn’t do

llms.txt is a plain Markdown file at the root of a website (/llms.txt) that gives AI agents a short summary of the site and links to the pages worth reading. It is a proposal, not an official web standard. Google says Google Search ignores the files, and the evidence that AI crawlers ask for them is thin. Below is a complete example file, line by line, and what we found on Perth business websites.

Written byShaneHead of Delivery and Technology

Reviewed byJosh MackayHead of Growth and Client Relationships

Published
Updated
Last reviewed

Key takeaways

  • llms.txt is a Markdown file at /llms.txt that summarises a site for AI agents. Only the title line is required.
  • It is a proposal, now at version 2.1, not a web standard like robots.txt, and it doesn’t allow or block anything.
  • Google says Google Search ignores llms.txt files, so one neither helps nor harms your rankings there.
  • Ahrefs found 97% of about 38,000 domains with a valid file got no requests for it in May 2026.
  • 13 of the 53 Perth map pack websites we checked on 2 December 2026 publish one.

What llms.txt is

llms.txt is a proposal by Jeremy Howard, first published in September 2024 and now at version 2.1. The idea is simple. Web pages are built for people, with navigation, ads and scripts wrapped around the words, and an AI agent with limited room to read gains from a short, clean guide to a site. So the site publishes one Markdown file at /llms.txt: a title, a short summary and lists of links to the pages that matter, ideally to plain Markdown copies of them.

The proposal says the files are used most heavily for software documentation, where coding agents follow them to find API references and tutorials, and that AI companies publish them for their own developer docs. It suggests the same structure works for a business outlining its structure and policies. It is not a standard from a standards body, and nothing requires a website to have one.

An example llms.txt, line by line

Here is a complete file for a made-up Perth landscaping business, in the version 2.1 format. Its address ends in .example, a name reserved for use in examples, so none of its links lead anywhere real.

Example only: a made-up Perth landscaping business
# Example Landscaping Perth

> Garden design, paving and reticulation for homes in Perth's northern suburbs.

Base URL: https://landscaping.example/

- Service area: northern suburbs of Perth, Western Australia
- Contact and booking: see contact.md

## Services

What we do, one page per service.

- [Garden design](services/garden-design.md): How a design job runs, from site visit to planting plan
- [Paving](services/paving.md): Materials we lay and how we prepare the base
- [Reticulation](services/reticulation.md): New systems, repairs and watering-day settings

## About us

- [Our team](about/team.md): Who does the work
- [Service area](about/service-area.md): Suburbs we cover
What each line of the example does, and whether version 2.1 of the format requires it
LineWhat it isRequired?
# Example Landscaping PerthThe title: an H1 heading with the name of the site or business. Only an optional byte-order mark may come before it.Yes, the only required part
> Garden design, paving and reticulation…A short summary in a blockquote, with the key facts needed to make sense of the rest of the file. The format lists it straight after the title.No
Base URL: https://landscaping.example/The address the short links below are read from. New in version 2.1. Without it, links are read from the address of the llms.txt file itself.No
- Service area: …Extra details, as paragraphs or lists. H1 and H2 headings are reserved, so any heading here must be H3 or smaller.No
## ServicesA section of links under an H2 heading. From version 2.1 it can open with a short summary, like “What we do, one page per service.”No
- [Garden design](services/garden-design.md): How a design job runs…One link in the section’s list: a Markdown link to a page, then, if you like, a colon and a note on what the page holds.The link, yes; the note, no
services/garden-design.mdA plain Markdown copy of the page. The proposal suggests one at the same address as the page, with .md added.No

Real files to look at: OpenAI’s developer docs, Anthropic’s developer platform, Cloudflare’s developer docs, which links to one file per product, and Vercel. All four are developer platforms, which is where the proposal says the files are used most.

The format rules

Version 2.1 of the proposal, from November 2026, sets the parts out in this order. The changes page lists what is new since earlier versions.

  1. An H1 title with the name of the site. The only required part.
  2. A blockquote with a short summary.
  3. If you want short, relative links, a Base URL: line.
  4. Any extra details, as paragraphs or lists, with headings no bigger than H3.
  5. Sections under H2 headings, each with an optional short summary and a list of links. Each link can be followed by a colon and a note.

Version 2.1 also dropped the old “Optional” section, which marked links an agent could skip if it was short on room. Sections now use ordinary headings that say what they hold. The file can sit at the root of the site, or in a folder such as /docs/llms.txt to cover only the pages under that folder. Where more than one file applies, the proposal says agents should use the most specific one.

llms.txt vs robots.txt vs sitemap.xml

The three files usually sit at the root of a website and are easy to mix up. Only one of them controls anything.

Three files a website usually keeps at its root, and what each one does
FileWhat it doesDoes it control crawling?
robots.txtTells crawlers which parts of a site they may visitIt asks. Crawlers that follow the standard obey it
sitemap.xmlLists the URLs you want search engines to show: one preferred address for each pageNo
llms.txtGives AI agents a short, chosen guide to a site, with links to the pages worth readingNo

robots.txt is a published standard, RFC 9309, from September 2022. Even so, Google says its rules can’t force a crawler to do anything: it’s up to the crawler to obey them. llms.txt doesn’t block or allow anything at all. Listing a page in it won’t let a blocked crawler in, and leaving a page out won’t keep one away. The proposal frames the difference from a sitemap like this: a sitemap lists pages for search engines, while llms.txt is a curated overview for language models.

Who reads llms.txt today

This is where an honest answer matters. Google’s guide to its generative AI features lists llms.txt files among the things you can ignore, and says having one will “neither harm nor help” your visibility or rankings in Google Search, “as Google Search ignores them”. It adds that it is fine to keep one for other services that use it.

Chrome’s Lighthouse audit now checks for the file, but a site without one is marked “Not Applicable”, because providing the file is “optional at the moment”. OpenAI’s and Anthropic’s pages about their crawlers don’t mention reading site owners’ llms.txt files, as at 4 December 2026, even though both companies publish files for their own developer docs.

The largest measurement we found comes from Ahrefs: of about 38,000 domains with a valid llms.txt, 97% received zero requests for it in May 2026, from bots or people. So an llms.txt can help an agent that chooses to read it. Today few do, and none of the crawler pages we checked says the file is used to rank or cite websites.

How many Perth businesses have one

On 2 December 2026 we asked the 53 business websites in Google’s unpaid map pack on 19 Perth customer searches, such as “plumber perth” and “electrician perth”, for /llms.txt. 13 publish a file that starts with the required title line.

Websites in the unpaid map pack on 19 Perth customer searches, checked on 2 December 2026. Counts only: we don’t name the businesses.
What we foundWebsites
Websites checked53
No llms.txt file (not found)34
Publish an llms.txt that starts with the required title13
Return a text file without the title line2
Refused our request4
Text files that name the SEO plugin that made them (Yoast SEO 4, Rank Math SEO 1)5

Five of the text files say an SEO plugin made them, so check your plugin’s settings before you assume your site has no file, or that the one it has says what you want. One dated check of one set of websites isn’t a trend: treat these counts as a snapshot of what Perth businesses publish, not of what anyone reads.

Should your business add one?

If your website platform or SEO plugin can make one for you, it costs little to switch on. Read what it lists first: a file that points agents at old pages or thin tag archives sends them to the wrong places. Keep the summary accurate, and point the links at the pages that answer customers’ questions.

Don’t pay for an llms.txt as a way to rank in AI answers. Google says Google Search ignores it, and the work that does matter for AI search is the same as for search: crawlers allowed in, pages indexed, clear answers. Our guide to SEO for AI covers that work, and how to rank in ChatGPT covers the crawler OpenAI says to let in.

How to add one

  1. On WordPress, look in your SEO plugin’s settings: some plugins can make the file for you. Read what it produces before you switch it on.
  2. Otherwise, write the file by hand in a text editor, starting from the example above, and save it as llms.txt.
  3. Upload it to the root of your website, so it opens at your website’s address followed by /llms.txt.
  4. Test it the way the proposal suggests: give an AI agent only your llms.txt as a starting point and ask it questions about your business.
  5. Update it when your services or pages change, the same as your sitemap.

If you aren’t sure where the root of your website is, your developer or host can add the file for you. A technical SEO review looks at it alongside your robots.txt and sitemap, the files search engines do read.

Sources

  1. The /llms.txt file, v2.1, llmstxt.org. Checked 4 December 2026.
  2. Changes, llmstxt.org. Checked 4 December 2026.
  3. RFC 2606: Reserved Top Level DNS Names, RFC Editor. Checked 4 December 2026.
  4. RFC 9309: Robots Exclusion Protocol, RFC Editor. Checked 4 December 2026.
  5. Introduction to robots.txt, Google Search Central. Checked 3 December 2026.
  6. Build and submit a sitemap, Google Search Central. Checked 2 December 2026.
  7. Google’s Guide to Optimizing for Generative AI Features on Google Search, Google Search Central. Checked 3 December 2026.
  8. Lighthouse: llms.txt, Chrome for Developers. Checked 4 December 2026.
  9. What Is llms.txt, and Should You Care About It?, Ahrefs. Checked 4 December 2026.
  10. Overview of OpenAI Crawlers, OpenAI. Checked 3 December 2026.
  11. Does Anthropic crawl data from the web, and how can site owners block the crawler?, Anthropic. Checked 4 December 2026.

Fair questions

What is an llms.txt file?

A Markdown text file at /llms.txt that gives AI agents a short summary of a site and links to the pages worth reading. It’s a proposal, first published in 2024 and now at version 2.1, not an official web standard.

Is llms.txt the same as robots.txt?

No. robots.txt is a published standard that tells crawlers where they may go. llms.txt doesn’t allow or block anything: it summarises a site for agents that choose to read it.

Does Google use llms.txt?

Google says Google Search ignores the files, so adding one neither helps nor harms your rankings there. Chrome’s Lighthouse checks for one but treats it as optional.

Do ChatGPT and Claude read llms.txt?

OpenAI’s and Anthropic’s crawler pages don’t mention reading site owners’ files, as at 4 December 2026, although both publish llms.txt files for their own developer docs. Ahrefs found 97% of sites with a valid file got no requests for it in May 2026.

Is llms.txt mandatory?

No. Nothing requires it, and Lighthouse marks a missing file as not applicable.

Should a small business add one?

If your SEO plugin or website platform can make one, it costs little, but check it’s accurate. Don’t pay for one as a way to rank in AI answers.

Where does llms.txt go?

At the root of the website, so it opens at /llms.txt, or in a folder such as /docs/llms.txt to cover only the pages in that folder.

Get your free marketing check-up

Our Search & AI Visibility Audit, made simple. We check how easy you are to find, then show you what to fix first.

  • Your Google listing and Maps ranking
  • How your website works on a phone
  • Your ads, if you run any
  • What AI says when someone asks about a business like yours

Start here

Step 1 of 2

We use your details to run your check-up and reply to you. See our privacy notice.