In this guide

What llms.txt is

llms.txt is a Markdown text file placed at a predictable address on a website, usually /llms.txt. It contains the site name, a short summary of what the company does, and a list of links to the pages that matter most, each with a line of context.

Jeremy Howard published the proposal on September 3, 2024, at llmstxt.org, as a way to standardize a file that helps AI agents use a website. The reason is practical: an HTML page mixes content with menus, banners, and scripts, and llms.txt delivers a lean version of what matters.

The file is one piece of a broader effort to show up in AI answers. It organizes the path to your content, but it does not replace well-written, indexed pages with accurate structured data, which are the foundation of our GEO service for businesses.

The difference between llms.txt, robots.txt, and sitemap.xml

All three live at the site root and are often confused, but each answers a different question. The llms.txt proposal itself says that it and robots.txt have different purposes, and that llms.txt can complement robots.txt by giving context about allowed content.

FileQuestion it answersAudience
robots.txtWhich URLs may the crawler access?Search engine and AI crawlers
sitemap.xmlWhich pages exist and when did they change?Search engines
llms.txtWhich pages matter and what does each contain?Language models and AI agents

In practice, the sitemap lists everything for search engines, while llms.txt offers an annotated selection. Neither one allows or blocks access: that is robots.txt's job. If you want to control AI crawlers specifically, such as GPTBot and ClaudeBot, see robots.txt for AI crawlers.

How to create an llms.txt

The proposal defines a simple structure, in this order. Only the first item is required:

  1. An H1 heading with the name of the site or project.
  2. A blockquote summarizing what the company does, with the information needed to understand the rest of the file.
  3. Optional paragraphs or lists with extra detail, without new headings.
  4. Sections with H2 headings, each with a list of links in the format [name](url): notes.
  5. A section called "Optional", by convention, for secondary links an agent can skip when it needs a shorter context.

Template to adapt

Replace the names and links with your own. List the pages that lead to a contact or sale first, because those are the ones you want an agent to find when it answers questions about your service.

# Company Name

> What the company does, for whom, and in which region.

Business hours, contact options, and other details that help
make sense of the rest of the file.

## Services

- [Service A](https://yoursite.com/services/a/): what it includes and who it is for
- [Service B](https://yoursite.com/services/b/): what it includes and who it is for

## Guides

- [How to choose a provider for A](https://yoursite.com/guides/a/): criteria and questions before hiring

## Optional

- [About the company](https://yoursite.com/about/): history and team

Where to publish it

Save the file as llms.txt, in plain text with UTF-8 encoding, and publish it at the domain root so it responds at yoursite.com/llms.txt. The proposal also accepts a subpath such as /docs/llms.txt for sites with a separate documentation area. After publishing, open the address in a browser and check that the text appears without HTML around it.

Markdown versions of pages

The proposal goes beyond the file and suggests offering a Markdown version of each important page at the same address with .md appended. These versions can be announced with a <link rel="alternate" type="text/markdown"> tag. This step is optional and makes the most sense for sites with documentation or many content pages.

Does Google use llms.txt?

For Search's AI features, Google is direct. On the AI features and your website page, Google Search Central states that there are no additional requirements to appear in AI Overviews or AI Mode, and that you don't need to create new machine-readable files, AI text files, or markup.

What Google asks for is the same as in traditional search: the page must be indexed and eligible to appear in results with a snippet. So if you want to appear in AI Overviews, look at indexing and content first, and only then at llms.txt.

Other AI platforms decide on their own whether and how they read the file. Before treating it as a visibility factor for a specific tool, check that tool's official documentation.

When it is worth creating an llms.txt

The cost is low: one text file, maintained by hand or generated from your pages. The care lies in the order of priorities. The file summarizes what already exists, so it pays off most when:

  • your service pages and main guides are already indexed by Google;
  • those pages answer the questions buyers ask before hiring, directly;
  • the site has enough content for an annotated selection to help, such as documentation, a service catalog, or a guide library;
  • someone is responsible for updating the file when a page changes or goes offline.

If your important pages are not showing up in Google yet, or do not answer buyer questions well, fix that first. A well-made index of weak pages still leads to weak pages.

How ROMA applies this

In ROMA's GEO method, llms.txt belongs to step 3, semantic architecture and technical schema, alongside site structure, structured data, and self-contained content. Before that, prompt and intent mapping and the citation audit decide which pages the file should highlight. Afterward, share-of-voice tracking in step 5 shows whether the full set of changes affects how often the brand is mentioned. ROMA's own site publishes an llms.txt and serves a Markdown version of its home page to agents that request it.

llms.txt FAQ

Is llms.txt mandatory?

No. It is an open proposal, not a standard required by search engines. Google states that you don't need to create AI text files to appear in AI Overviews or AI Mode.

Does llms.txt replace robots.txt?

No. robots.txt tells crawlers which URLs they may access. llms.txt summarizes and organizes content that is already allowed. The proposal itself says the two have different purposes and that llms.txt can complement robots.txt.

Does Google use llms.txt for AI Overviews?

Google says there are no additional requirements to appear in AI Overviews or AI Mode and that you don't need to create machine-readable or AI text files. The page needs to be indexed and eligible to show in Search with a snippet.

Does the file have to sit at the site root?

The root, at yoursite.com/llms.txt, is the most common and easiest location to find. The proposal also accepts a subpath such as /docs/llms.txt, which is useful for sites with a separate documentation area.

How often should I update llms.txt?

Whenever a listed page changes address or goes offline, or when a new page that leads to a contact or sale is published. A broken link in the file sends the reader, human or machine, somewhere that no longer exists.

Sources