Technical GEO

llms.txt: What It Is, How to Write One, and Whether It Matters

What llms.txt is, the official format from llmstxt.org, an honest look at which AI engines use it, and a copy-paste llms.txt template you can publish today.

By CitedPulse Research · Updated · 7 min read

TL;DR

  • llms.txt is a proposed standard: a Markdown file at yoursite.com/llms.txt that gives language models a concise summary of a site and links to its most useful pages.
  • It was proposed by Jeremy Howard of Answer.AI in September 2024 and is documented at llmstxt.org.
  • The required element is an H1 with the site or project name; a blockquote summary and H2 sections of annotated links are recommended, and an "Optional" section marks skippable links.
  • Adoption by major AI search engines is unconfirmed, and Google has said it does not use llms.txt for Search or AI Overviews; it is most useful today for documentation sites and AI coding tools.
  • It is cheap to add and low-risk, but it does not replace crawlable HTML, robots.txt access or third-party coverage.

What is llms.txt?

llms.txt is a plain-text Markdown file placed at the root of a website (for example https://example.com/llms.txt) that gives large language models a short, curated overview of the site and links to its most important content.

The idea was proposed by Jeremy Howard, co-founder of Answer.AI and fast.ai, in September 2024, and the specification lives at llmstxt.org. The motivation is practical: HTML pages are full of navigation, scripts and layout that waste a model's limited context window. A compact Markdown index lets an AI tool find the right pages quickly.

It is often compared with robots.txt and sitemap.xml, but its job is different:

FileAudiencePurpose
robots.txtCrawlersWhich paths bots may or may not crawl
sitemap.xmlSearch enginesA complete list of URLs to discover
llms.txtLanguage models and AI toolsA curated, human-readable summary of the most useful pages

What is the llms.txt file format?

An llms.txt file is Markdown with a fixed order: an H1 title (the only required part), an optional blockquote summary, optional free-form details, then H2 sections containing lists of links with short descriptions.

According to the llmstxt.org specification, the structure is:

  1. H1 with the name of the project or site. Required.
  2. Blockquote with a short summary containing the key information needed to understand the rest of the file.
  3. Zero or more Markdown sections (paragraphs, lists) with more detail, without headings.
  4. Zero or more H2 sections, each containing a list of links in the form - [Name](url): optional notes.
  5. An H2 section named Optional has special meaning: its links can be skipped when a shorter context is needed.

The proposal also suggests offering clean Markdown versions of pages (for example by appending .md to a URL), and some sites publish an expanded llms-full.txt containing full page content. Both are conventions rather than requirements.

What does a good llms.txt look like? (Copy-paste template)

A good llms.txt is short, factual and lists only your highest-value pages – what you do, pricing, key product pages, documentation, comparisons and policies. Replace the placeholders below with your own details:

# Acme Analytics

> Acme Analytics is a privacy-friendly web analytics tool for small
> e-commerce stores. Plans start at $19/month; a free plan covers up to
> 10,000 monthly pageviews. Founded in 2024, based in Lisbon, Portugal.

Acme Analytics does not use cookies and is designed to work without a
consent banner in most EU jurisdictions. It integrates with Shopify and
WooCommerce.

## Product

- [Features](https://acme.example/features): Dashboards, funnels, revenue attribution
- [Pricing](https://acme.example/pricing): Free, Pro ($19/mo) and Business ($49/mo) plans
- [Integrations](https://acme.example/integrations): Shopify, WooCommerce, custom script

## Docs

- [Quick start](https://acme.example/docs/quick-start): Install the script in five minutes
- [API reference](https://acme.example/docs/api): REST endpoints for exporting data

## Comparisons

- [Acme vs Google Analytics](https://acme.example/compare/google-analytics): Privacy, setup, pricing
- [Acme vs Plausible](https://acme.example/compare/plausible): Feature and price comparison

## Optional

- [Blog](https://acme.example/blog): Product updates and analytics guides
- [Changelog](https://acme.example/changelog): Release history

Writing tips:

  • Lead the blockquote with a one-sentence definition: "[Brand] is a [category] for [audience]."
  • Include concrete facts (pricing, limits, location, founding year) that you want AI tools to repeat accurately.
  • Link to canonical, server-rendered pages – not to login walls or JavaScript-only apps.
  • Keep it updated when pricing or products change; a stale llms.txt spreads stale facts.

Prefer not to write it by hand? CitedPulse's free llms.txt generator drafts one from your site as part of the free audit, which you can then edit. Remember that llms.txt is only one small part of Generative Engine Optimization.

Do ChatGPT, Perplexity and Google actually use llms.txt?

As of this writing, none of the major AI search engines has publicly confirmed using llms.txt to choose or cite sources, and Google has stated that it does not use llms.txt for Google Search or its AI features. Treat it as a low-cost experiment, not a ranking factor.

Where llms.txt is clearly useful today:

  • Developer documentation. Many docs platforms and developer tools publish llms.txt or llms-full.txt so that AI coding assistants can ingest documentation efficiently.
  • User-directed AI tools. When a person pastes your llms.txt URL into an assistant or agent, it gets a clean summary instead of raw HTML.
  • Internal clarity. Writing one forces you to state, in a few lines, what your product is and which pages matter – useful input for the rest of your GEO work.

What it does not do: it does not grant crawl permission (that is robots.txt), it does not make blocked or JavaScript-only content visible, and it is not a substitute for third-party mentions. For the factors that do drive AI recommendations, see how to get recommended by ChatGPT.

How do you publish an llms.txt file?

Save the file as llms.txt, serve it at the root of your domain as plain text, and make sure robots.txt and your CDN do not block it.

  1. Write the file using the format above (or generate a draft and edit it).
  2. Upload it so it resolves at https://yourdomain.com/llms.txt. On most static hosts this means placing it in the public or root folder.
  3. Serve it with a text/plain or text/markdown content type and a 200 status code.
  4. Open the URL in a private browser window to confirm it loads without login or bot challenges.
  5. Optionally link it from your footer or docs so humans can find it too.
  6. Review it whenever pricing, product names or key URLs change.

Frequently asked questions

Is llms.txt an official standard?

No. It is a community proposal published at llmstxt.org by Jeremy Howard in September 2024. It has not been adopted by a standards body, and support varies by tool.

Does llms.txt improve rankings in Google AI Overviews?

Google has said it does not use llms.txt for Search or AI Overviews, so you should not expect any ranking effect there. Google's AI features rely on its regular Search index and ranking systems.

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

llms.txt is a short index with a summary and annotated links. llms-full.txt is a convention used by some sites, especially documentation, that concatenates the full text of key pages into a single Markdown file for tools that want everything at once.

Can llms.txt block AI crawlers?

No. llms.txt is informational and has no access-control function. To allow or block specific crawlers such as GPTBot, OAI-SearchBot or PerplexityBot, use robots.txt and your server or CDN settings.

Should every website have an llms.txt?

It is optional. It costs little and can help AI tools that do read it, especially for documentation and software sites. Just do not prioritize it over crawlable content, accurate facts and third-party coverage, which have a clearer impact.

Related