llms.txt and llms-full.txt explained

llms.txt and llms-full.txt explained

What is llms.txt, its longer version llms-full.txt and do they actually matter?


Paul Boudet · Co-founder](https://www.linkedin.com/in/paulboudet/)

Update (April 2026): A common misconception has spread since this article was published — that having an llms.txt file makes LLMs recommend your brand more often. The evidence shows this is not the case. Read our follow-up: llms.txt doesn't make LLMs recommend your brand.

With large language models (LLMs) now deeply embedded in web ecosystems, websites need efficient ways to make their content AI-accessible. This is a key part of AI search optimization and answer engine optimization.

That’s where llms.txt and llms.full.txt come in - serving as roadmaps, directing LLMs straight to essential pages and documentation without requiring them to process complex HTML structures.

Definitions

Why they matter

  1. LLMs fetch content differently. They don't load entire web pages like a browser does. With llms.txt, LLMs get a direct list of important pages, cutting out unnecessary HTML. [1]

  2. Saves tokens and speeds up responses. A clear list of key pages means LLMs don't waste tokens crawling irrelevant content, which reduces latency and cost.

  3. Major websites are adopting it. Big names like Anthropic, Cloudflare, and Hugging Face have implemented their own llms.txt and some llms-full.txt. [2]

  4. Growing adoption across the web. BuiltWith now shows >2,000 websites that expose an llms.txt file, up from almost none in early 2024. [3]

  5. Crawl logs on llms.txt are real. Early reports show that GPTbot is actively crawling llms.txt

Examples

Cloudflare’s example [5] shows a clean hierarchical structure with sections and nested links to documentation pages in its llms.txt . It starts with a brief introduction about their platform and includes a helpful tip about accessing a Markdown archive.

Loops.so’s example [6] demonstrates a more detailed approach, including full documentation content with headers, step-by-step instructions, and even embedded images in its llms-full.txt file.

You can find plenty more examples for both llms.txt and llms.full.txt on directory.llmstxt.cloud and llmstxthub.com.

Create your own llms.txt

Following a consistent nomenclature helps LLMs better navigate and understand your website’s content hierarchy. Here’s how to structure your file:

Basic Structure

# Main Website Title
Brief description of your website or platform (1-2 sentences)

Primary Section

Page Title - Brief page description

Another Page Title - Brief page description

Another Primary Section

Section Page - Brief page description

Subsection Page - Brief page description

Another Subsection - Brief page description

Nomenclature Guidelines

  1. Headings: Use Markdown heading syntax for hierarchy
  1. Page Links: Format as Page Title
  1. Nesting: Use indentation (2 spaces) for hierarchy
  1. Descriptions (optional): Add brief descriptions under important links
- API Documentation- Short description of what users will find in this section.
  1. Tips and Callouts: Use Markdown blockquotes for important information
> [!TIP]
> Important information or shortcuts users should know.

Following these conventions ensures LLMs can efficiently parse your site structure and direct users to the most relevant information. Remember to place your llms.txt file in your website’s root directory for optimal discovery.

Alternatively, you can use our llms.txt generator to create your own llms.txt based on your website’s sitemap. For a broader look at what actually influences AI visibility, see our guide on optimizing content for AI search and the best AEO tools.

Sources

[1] https://llmstxt.org

[2] https://directory.llmstxt.cloud/

[3] https://trends.builtwith.com/robots/LLMS-Text

[4] https://www.linkedin.com/posts/volpini_apple-just-said-that-google-search-usage-activity-7329039241034809344-i3rK

[5] https://developers.cloudflare.com/llms.txt

[6] https://loops.so/docs/llms-full.txt

Published May 28, 2025

Updated Apr 21, 2026