Add to Chrome Add to Edge

What Is llms.txt? How to Create One, and What It Can (and Can't) Do

What Is llms.txt? How to Create One, and What It Can (and Can't) Do

llms.txt is a proposed Markdown file listing a site's key pages for AI tools. How it differs from robots.txt, who uses it, and how to create and check one.

llms.txt is a plain Markdown file at the root of a website (https://example.com/llms.txt) that gives AI tools a short, curated map of the site: its name, a one-line summary, and links to the pages that matter most. It is a proposal, not an official standard, and no major AI search engine has publicly confirmed that it reads the file. You can draft one in a minute with our llms.txt Generator.

Below: what the format looks like, how it differs from robots.txt and sitemap.xml, an honest look at who uses it, and how to create, publish and check your own.

What llms.txt is

The format was proposed by Jeremy Howard in September 2024 and is documented at llmstxt.org. The idea: a language model has a limited context window and struggles with full web pages full of menus, scripts and ads. A short Markdown file that says "here is what this site is and where the important pages are" is much easier for it to use.

The file has a fixed order:

  1. An H1 with the name of the site or project. This is the only required part.
  2. A blockquote (a line starting with >) with a short summary.
  3. Optionally, a few paragraphs or lists with more detail (no headings).
  4. H2 sections with lists of links, each written as - [Name](URL): optional note.
  5. Optionally, an H2 called Optional for links an AI tool can skip when it is short of room.

The proposal also suggests offering clean Markdown versions of important pages at the same URL with .md added. Separately, some documentation platforms publish an llms-full.txt: one large file with the full text of the key pages, for tools that want everything in one request. That second file is a convention that grew up around llms.txt rather than part of the core format.

A short working example

# Acme Plumbing

> Acme Plumbing is a family-run plumber in Leeds, UK, offering emergency repairs, boiler servicing and bathroom fitting.

Prices on the pricing page include VAT. We cover Leeds and towns within 20 miles.

## Services

- [Emergency repairs](https://acmeplumbing.example/services/emergency): 24-hour call-out for leaks and burst pipes
- [Boiler servicing](https://acmeplumbing.example/services/boilers): annual service and gas safety checks
- [Pricing](https://acmeplumbing.example/pricing): fixed prices for common jobs

## Guides

- [How to turn off your water](https://acmeplumbing.example/blog/stop-tap): find and use the stop tap

## Optional

- [Privacy policy](https://acmeplumbing.example/privacy)

That is a complete, valid file. It is short on purpose: llms.txt is an index, not a copy of your site.

llms.txt vs robots.txt vs sitemap.xml

robots.txtsitemap.xmlllms.txt
PurposeTells crawlers what they may not fetchLists every URL you want search engines to findSummarises the site and points to its most useful pages
Read bySearch and AI crawlers that follow the standardSearch enginesSome AI tools and coding agents; no confirmed major AI search engine
FormatPlain-text rules (RFC 9309)XMLMarkdown
StatusInternet standardWidely supported protocolProposal
Controls access?Yes, for crawlers that obey itNoNo

The last row matters most. llms.txt cannot block or allow anything. If you want to stop GPTBot, ClaudeBot or Google-Extended from using your content, that is still robots.txt's job, and our guide to whether you should block AI crawlers walks through the options. The AI Crawler Checker shows which AI bots your current robots.txt allows.

Who uses llms.txt? An honest answer

Two different questions hide here: who publishes the file, and who reads it.

Publishing is common enough to notice. In our study of the top 1,000 websites, 192 of the 958 sites we could check served an llms.txt file: 20.0%. According to llmstxt.org, documentation platforms such as Mintlify and GitBook generate one, as do some WordPress SEO plugins, and OpenAI and Anthropic publish one for their developer docs.

Reading is far less clear. Coding assistants and agents can fetch llms.txt when a developer points them at it. But none of the big AI search systems has published documentation saying its crawler uses llms.txt to choose or rank sources. Google goes further: its guide to AI features in Search says you do not need to create new machine-readable or "AI text" files to appear in AI Overviews or AI Mode, and Google staff have said publicly that Search does not use llms.txt.

So treat it as a cheap, low-risk extra: a small job that may help AI tools and agents understand your site, with no proven effect on rankings or AI citations. It does not replace good pages, a clean sitemap or sensible robots.txt rules.

How to create an llms.txt file

  1. Open the llms.txt Generator, enter your website and choose how many pages to include (up to 10, 25 or 50).
  2. Click Generate llms.txt. The generator reads your home page for the site name (from og:site_name or the title) and the summary (from the meta description). It then finds your pages in the XML sitemap listed in robots.txt, or at /sitemap.xml, /sitemap_index.xml or /wp-sitemap.xml, and falls back to the links on your home page if there is no sitemap.
  3. It keeps pages on your own domain, skips tag, author, feed, login and cart pages and anything marked noindex, puts shallow pages first, and uses each page's title and meta description as the link and its note. Pages are grouped into sections by the first part of their path (/blog/ becomes Blog, /docs/ becomes Docs), and legal pages such as privacy and terms go into Optional.
  4. Edit the draft. Rewrite the summary in your own words, delete pages that do not help someone understand the site, and add any key page that is missing. A generator can only reuse your titles and descriptions; if those are weak, the file will be too.
  5. Click Download llms.txt (or Copy).

If your sitemap is missing or out of date, fix that first with the XML Sitemap Generator; a better sitemap gives a better draft.

Where to put llms.txt

The file must open at https://yourdomain.com/llms.txt, in the root, next to robots.txt. A file at /blog/llms.txt will not be found.

  • WordPress: upload llms.txt with your host's file manager or SFTP into the folder that holds wp-config.php. Some SEO plugins can generate and serve one for you; if you use that, do not upload a second file as well.
  • Static sites (Hugo, Astro, Jekyll, Eleventy, Next.js static export): put the file in the folder that is copied to the site root unchanged, usually static/ or public/.
  • Laravel: save it as public/llms.txt. That is where ours lives, and the web server serves it directly without touching the framework.

Serve it as text/plain or text/markdown with UTF-8. Most servers send .txt files as text/plain by default.

How to check your llms.txt

Enter your domain in the llms.txt Checker. It fetches /llms.txt and checks it against the llmstxt.org format:

  • one H1, on the first line; a blockquote summary; H2 sections; list items written as Markdown links;
  • how many links have a note, whether links are relative or full URLs, and whether there is an Optional section;
  • the file size (it warns above 100 KB) and the Content-Type header;
  • whether an llms-full.txt also exists;
  • the first 15 links, each tested for a working status code, with redirects and broken links marked.

You get a score out of 100, the list of checks with advice, and the file itself to read.

Common mistakes

  • The URL returns your "not found" page with status 200. Many CMSs do this. The file looks present but is HTML. The checker catches this and tells you to create the real file in the root folder.
  • Treating it as robots.txt. Writing "Disallow" lines or "do not train on this site" in llms.txt does nothing. Use robots.txt, and test the rules with the Robots.txt Tester or build them with the Robots.txt Generator.
  • Dumping the whole sitemap into it. Hundreds of links with no notes is a sitemap in a different format. Pick the pages that explain your site and say in a few words what each covers.
  • Relative links. /pricing works if a tool knows where the file came from, but a copy pasted into a chat does not. Full https:// URLs are safer.
  • Listing pages you have blocked or noindexed. If robots.txt blocks a page or it is marked noindex, do not advertise it in llms.txt.
  • Letting it go stale. Broken links after a redesign make the file worse than having none. Re-check it after big site changes.

Frequently asked questions

Is llms.txt an official standard?

No. It is a community proposal documented at llmstxt.org. It has not been adopted by a standards body such as the IETF.

Does Google use llms.txt?

Google says you do not need any special AI text files to appear in AI Overviews or AI Mode, and its staff have said Search does not use llms.txt.

Will llms.txt get my site cited by ChatGPT or other AI answers?

There is no public evidence that it does. Clear, useful pages that AI crawlers are allowed to fetch matter far more.

Can llms.txt block AI crawlers from my content?

No. Only robots.txt rules (and server-level blocking) control which crawlers may fetch your pages.

What is the difference between llms.txt and llms-full.txt?

llms.txt is a short index of links. llms-full.txt, where a site offers one, contains the full text of the key pages in a single file.

How long should an llms.txt file be?

As short as it can be while covering your important pages: usually a few dozen links with one-line notes, well under 100 KB.

Next step

Draft your file with the llms.txt Generator, edit the summary and the page list, upload it to your site root, then run it through the llms.txt Checker to confirm the format and the links.

Keep reading

All guides

Choose which cookies SEOpeck may use. You can change this at any time from "Cookie settings" at the bottom of every page.

Your tools

    Saved in this browser only. Nothing is sent to us.

    Popular tools