Jeremy Noronha

26 November 2026

llms.txt: What It Is and How to Set It Up

llms.txt is a plain Markdown file at the root of your website (yourdomain.com/llms.txt) that gives language models a short, curated map of your most useful pages. Publish it if you run documentation, an API or a technical product; for other sites it is an optional extra. To set it up, write the file by hand or with a plugin, upload it to your site root and check that it loads. Jeremy Howard of Answer.AI proposed it in September 2024, and as of November 2026 the major AI search engines have not confirmed they use it to pick sources.

What the llms.txt proposal says

A website is built for browsers: navigation, scripts, cookie banners, ads. A language model reading a page has to dig the useful text out of all that. llms.txt hands it a clean index instead: who you are, which pages matter, and a one-line description of each, written in Markdown.

It sits next to two files you already know, and the table shows what each one does:

File Audience Job
robots.txt Crawlers Says what they may fetch
sitemap.xml Search engines Lists every URL you want indexed
llms.txt Language models and AI agents Points to the best pages, with short descriptions

The sitemap lists everything. llms.txt lists the pages you would hand to a smart new colleague on day one.

Who reads llms.txt today

Support is strongest in developer tooling and thinnest in search.

Google has said it does not use llms.txt. John Mueller has compared it to the old keywords meta tag, and Gary Illyes has said Google does not support it. Google AI Overviews and AI Mode draw on the normal Google index, so ranking and eligibility there still come from regular search signals. I cover that side in How to Track Google AI Overviews for Your Keywords.

OpenAI and Perplexity have not published a statement that their search products read llms.txt to choose citations. No clean test shows that ChatGPT or Perplexity cite a site more often because it has the file, so treat claims of that benefit as unproven.

Developer workflows do use it. Documentation platforms generate llms.txt automatically, and coding assistants and agent tools can load a docs site through it when a user points them at it. If you run an API, an SDK or a technical product, publish the file.

For most marketing sites it is a cheap extra. Pages, clear entity information and third-party mentions are where I would put effort first, and AI Search Optimization: How to Get Your Company Into AI Answers lays out that order of work.

The llms.txt file format

The format is Markdown with a fixed order:

  1. An H1 with the site or company name. This is the only required part.
  2. A blockquote with a one- or two-sentence summary.
  3. Optional paragraphs with extra context.
  4. H2 sections, each holding a list of links in the form - [Title](URL): short description.
  5. An optional section named "Optional" for pages a model can skip when space is tight.

Here is a short example for a made-up SaaS company:

# Acme Analytics

> Acme Analytics is a product analytics tool for B2B SaaS teams. It tracks feature usage, retention and revenue per account, and connects to Stripe and HubSpot.

Acme is used by product and growth teams at companies with 10 to 500 employees.

## Product

- [Features](https://acme.example/features): What the platform tracks and how dashboards work
- [Pricing](https://acme.example/pricing): Plans, limits and what each tier includes
- [Integrations](https://acme.example/integrations): Stripe, HubSpot, Segment and the API

## Guides

- [Retention analysis guide](https://acme.example/guides/retention): How to set up cohort retention in Acme
- [Migrating from spreadsheets](https://acme.example/guides/migrate): Step-by-step import process

## Company

- [About](https://acme.example/about): Team, location and history
- [Contact](https://acme.example/contact): Sales and support routes

## Optional

- [Blog](https://acme.example/blog): Product updates and articles

Follow these habits when you write it:

  • Write descriptions as facts, such as "Plans, limits and what each tier includes" for a pricing page.
  • Link to the pages that answer real questions: pricing, features, comparisons, guides, docs, about.
  • Leave out thin pages, tag archives, login screens and anything you would not want quoted.
  • Keep the file short. If it grows past a few dozen links, you are rebuilding the sitemap.

llms-full.txt

The proposal also describes a second file, llms-full.txt. Where llms.txt is an index, llms-full.txt holds the actual content: the full text of your key pages, in Markdown, in one document. A tool can load that one file and have your whole documentation in context without crawling dozens of URLs.

It makes sense when you have documentation, an API reference or a knowledge base that a developer might paste into an AI tool. It makes little sense for a five-page service site. Build it from your best pages and stop there.

Many docs platforms generate both files automatically. If yours does, switch it on and check the output.

How to set up llms.txt on WordPress

Two routes work, depending on how much you want to control.

Plugin route. Yoast SEO and Rank Math both include an llms.txt feature. Look in the plugin's settings for a toggle, enable it, and review what it generates. Trim the generated list down to your best pages.

Manual route. I prefer this one because it forces you to choose the pages.

  1. Write the file in a plain text editor, following the format above. Save it as llms.txt with UTF-8 encoding.
  2. Upload it to the root of your site, the same folder that holds wp-config.php. Use SFTP or the file manager in your hosting panel.
  3. Open yourdomain.com/llms.txt in a browser. You should see the plain text.
  4. If you get a 404, check whether a caching layer or a security plugin is intercepting the request, and whether your host serves unknown file types from the root.

How to set up llms.txt on a static site

Static site generators make this the easy case, because the file is just another static asset.

  1. Create llms.txt in the folder that gets copied to the site root as-is. That folder is public/ in Next.js, Astro, Vite and Nuxt, static/ in Hugo, and the project root with a passthrough copy rule in Eleventy.
  2. Deploy as usual.
  3. Load yourdomain.com/llms.txt and confirm it returns a 200 status and readable text.

If you have hundreds of docs pages, generate the file in your build step from page front matter, so the descriptions stay current without hand edits.

Check the file after you publish

Run through this list once:

  1. The URL returns 200, with no redirect to a login or a 404 page.
  2. The content type is plain text or Markdown. A file served as a download is harder for tools to read.
  3. Every link resolves, uses the canonical URL and points to a page you want cited.
  4. The robots.txt rules do not block the file or the pages in it.
  5. The descriptions match what is on the pages today.

Add a calendar reminder to review it when you ship a new product page, change pricing or retire a guide, so the file never points to dead pages.

Where I would spend the time first

Pages that answer a question in the first lines, name the entity clearly and earn mentions elsewhere are where I would spend the time first. What Is AEO (Answer Engine Optimization)? explains that shape, and AI Brand Mentions: How to Find and Grow Them covers the off-site half.

Set up llms.txt in an afternoon, then move on to those. For the full plan, start with AI Search Optimization: How to Get Your Company Into AI Answers.

FAQ

What is llms.txt?

llms.txt is a Markdown file placed at yourdomain.com/llms.txt that lists your most useful pages with short descriptions, written for language models. Jeremy Howard of Answer.AI proposed it in September 2024. It is a proposal, with no formal standard behind it.

Does ChatGPT or Google use llms.txt?

Google has said it does not use llms.txt for Search, AI Overviews or AI Mode. OpenAI and Perplexity have not confirmed that they use it to choose citations. Developer tools and coding assistants are the clearest users, mainly with documentation sites.

Will llms.txt improve my AI visibility?

No engine has confirmed a ranking or citation benefit, so I would not expect one. The file costs little to publish, which makes it a reasonable extra. Page quality, clear company information and mentions on other sites are the areas to work on first.

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

llms.txt is a short index of links with descriptions. llms-full.txt contains the full Markdown text of your key pages in one file. Documentation sites benefit most from the full version, since a tool can load everything in one request.

Is there an llms.txt generator?

Yes. Yoast SEO and Rank Math can generate the file on WordPress, and many documentation platforms create it automatically. Review any generated file by hand and cut it down to your best pages.