AI systems are changing how buyers discover brands, evaluate products, and make decisions. If your site isn’t structured for large language models, you may be less visible in the tools your audience already uses daily. This guide covers what llms.txt is, how it works, and whether it deserves a place in your 2026 strategy.
Key Takeaways
An llms.txt file is a Markdown text file placed at /llms.txt in the site root (or a subpath) that gives AI systems a curated map of your most important web content. It was proposed by Jeremy Howard in September 2024 (llmstxt.org) and is not an official web standard, but an informal proposal that documentation platforms and developer tools have adopted.
llmstxt.org presents llms.txt as a proposal rather than a formal standard, and Google’s guidance says you don’t need to create new machine readable files, AI text files, or markup to appear in AI Overviews or AI Mode. Some tools do check for the file: llmstxt.org notes that Chrome’s Lighthouse audits sites for one as part of its agentic browsing checks.
The llms.txt file complements existing standards like robots.txt and sitemaps by prioritizing high-signal, AI-ready resources such as docs, policies, APIs, topic clusters, and clean markdown files. Robots.txt restricts access while llms.txt highlights important content. Sitemap.xml lists all pages; llms.txt curates key content for AI.
For most B2B brands and documentation sites, creating an llms.txt file can be a low-effort experiment, aligned with robots.txt, though there is no confirmed visibility benefit.
This article is written from my perspective as a digital strategist. You will get both a hands-on implementation guide and strategic advice on whether, when, and how to use llms.txt and llms-full.txt for your own site.
What is llms.txt and why was it proposed?
An llms.txt file is a plain text file written in Markdown format, typically hosted at https://example.com/llms.txt. It lists your site’s key resources for AI crawlers and AI agents using headings, links, and short descriptions. Think of it as a curated list of your best content, specifically designed for large language models (LLMs) rather than human visitors.
The proposal was made by Jeremy Howard in September 2024 and is hosted in the AnswerDotAI/llms-txt repository. The FastHTML project and Answer.AI and fast.ai software projects use it for their documentation, and documentation platforms such as Mintlify and GitBook generate files for the sites they host (llmstxt.org). The current version of the proposal, v2, was last modified in August 2026.
The idea behind the proposal is that a clean, curated entry point is easier for a model to use than navigation-heavy HTML full of menus, scripts, and complex layouts. An llms.txt file gives AI tools a concise map of a site’s important content.
An important distinction: llmstxt.org expects llms.txt to be mainly useful for inference rather than training, meaning how AI assistants answer questions about your site. The file is written in Markdown and is readable by both humans and AI systems.
How llms.txt fits with existing standards (robots.txt, sitemaps, and more)
The llms.txt file sits alongside existing standards rather than replacing them. It adds priority and more context to what search engines and AI systems already know about your site.
robots.txt controls what AI crawlers and traditional bots may or may not access. It is enforced at the site root and acts as a gatekeeper. It restricts; it does not describe.
sitemap.xml lists URLs and metadata like priority and last-modified dates to support indexation for search engines. It is comprehensive, not selective.
llms.txt highlights which URLs and markdown files matter for AI systems answering user queries. It includes brief description text, logical sections, and optional metadata. It is a curated guide, not an exhaustive inventory.
The llms.txt file does not override robots.txt. If robots.txt blocks a path, responsible AI systems should not fetch it, even if that URL appears in llms.txt. The two work together: one gates access, the other signals what matters.
Many implementations keep llms.txt at the site root or docs subpaths. According to llmstxt.org, the file can sit at the root or at any subpath and covers the URLs under that path.
How llms.txt files are structured (specification in plain language)
There is no single global authority governing llms.txt. However, a de facto spec has emerged around the format promoted at llmstxt.org and adopted by developer tools. The standard dictates a specific hierarchy and structure for better AI processing and context retrieval.
The basic structure follows this pattern:
Start with an H1 heading containing the site or product name.
Follow with a blockquote giving a short summary of what the site does and who it serves.
Use H2 sections to organize links into categories like “Documentation,” “API Reference,” “Policies,” “Resources,” or “Changelog.”
Under each H2, list bullet-point links in Markdown format to canonical content or md files. Each link can include a short description.
The llms.txt file must be named llms.txt and can be placed at the root directory of a website or under a subpath like /docs/llms.txt. When multiple files exist, the most specific file wins. The root is the usual place, and the file should be served as UTF-8 encoded text.
The proposal also defines an “Optional” H2 section for secondary links that an agent can skip when it needs less context.
llms.txt vs llms-full.txt: when to use each
Some documentation tools also generate a companion llms-full.txt file, a convention outside the core llmstxt.org proposal. The two files serve different use cases.
llms.txt is your curated, high-level index of the most important content on your whole site. It is intended to fit within LLM context limits and act as a routing map for AI bots and retrieval systems. Best for typical websites, marketing sites, and compact documentation pages.
llms-full.txt aggregates entire documentation or content sets into one large markdown file, including titles, URLs, descriptions, and full content bodies. An optional llms-full.txt file can provide a complete inventory of content for deeper AI context. It is useful for heavy documentation sites, api reference libraries, and AI tools that pre-ingest a corpus for RAG systems or fine-tuning pipelines.
Documentation platforms such as Mintlify and GitBook generate llms.txt files for the docs sites they host (llmstxt.org), so publishing new content can keep the file in sync without manual work.
For small to mid-sized B2B sites, starting with only llms.txt is usually enough. Consider llms-full.txt as an optional upgrade if you build internal AI assistants or developer tools that need to ingest your entire corpus.
Why llms.txt matters for AI systems, AI agents, and digital brands
AI tools are increasingly part of how buyers research products and evaluate vendors. Tools like ChatGPT, Google AI Mode, Perplexity, and Claude are used as research tools for B2B audiences. Your web content needs to be accessible not just to search engines, but to AI agents operating on behalf of users.
In theory, AI systems and AI agents use an llms.txt file by fetching it at the site root or docs subpath to understand site scope. They prioritize clean markdown versions and structured docs instead of crawling navigation-heavy HTML pages. They use the curated links to answer questions about products, policies, and processes faster.
For brands, this could mean a clearer signal about which pages you consider canonical. It means clearer mapping between brand positioning and how AI tools describe you, supporting AEO. And it means potential alignment between topic clusters in SEO and structured sections in llms.txt.
From my brand-strategy perspective, llms.txt is one part of a larger AI visibility stack that still relies heavily on solid information architecture, technical SEO, and clear messaging. It is not a standalone solution.
Ignoring llms.txt completely is a strategic choice. Some SEOs consider it speculative; others see it as low-cost insurance for future AI crawlers. That nuance matters more than any blanket recommendation.
Strategic reality check: does llms.txt actually get used in 2026?
llmstxt.org says thousands of sites publish an llms.txt file, but I have not found documented confirmation that major LLM providers use it.
According to llmstxt.org, Chrome’s Lighthouse audits sites for an llms.txt file as part of its agentic browsing checks, and documentation platforms and some auditors also generate or validate the file. These signals matter, even if no major AI platform has confirmed it uses the file for ranking.
There is no proof that llms.txt alone improves rankings or accurate citations in ChatGPT, Gemini, or other assistants. However, the implementation cost is low, and it can reinforce existing information architecture if done thoughtfully.
For brands already investing in AI visibility and documentation quality, llms.txt is often worth testing. My position: treat llms.txt as an optional enhancement layered on top of strong SEO and AEO fundamentals, not as a magic lever for AI visibility.
How to create an llms.txt file step by step
Here is a concrete, non-technical workflow that marketers, founders, and technical writers can follow using any text editor.
Step 1 – Decide on scope and location. Choose whether to place llms.txt at your main site root (https://yourbrand.com/llms.txt) or on a docs subdomain (https://docs.yourbrand.com/llms.txt). Upload the llms.txt file to your website’s root directory, or the correct directory for your documentation site. Align with your existing content structure.
Step 2 – Identify priority URLs. List the important pages that represent your brand best: documentation hubs, core product pages, onboarding guides, pricing explanations, policies, and pillar topic-cluster pages. Exclude login-only pages, A/B test variants, short-lived campaigns, and thin content.
Step 3 – Draft the Markdown structure. Include an H1 heading with your site name. Add a blockquote with a clear, non-fluffy description of what you do and who you serve. Create H2 sections like “Documentation,” “Product Guides,” “Policies & Legal,” and “Resources & Blog.” Under each, add bullet points with Markdown links to URLs (preferably markdown files) and concise descriptions. The llms.txt file should summarize your site’s important content across these sections.
Step 4 – Save and upload. Save the file as llms.txt (the txt extension is required, and llms.txt files must be named llms.txt) encoded as UTF-8 plain text. Place it in the appropriate directory in your CMS or static site. Confirm accessibility in a browser with no redirects or 404s.
Step 5 – Validate and iterate. Use available online validators or simple curl requests to confirm content-type and encoding. Add the file to version control and regularly update your llms.txt file as site content changes.
Example llms.txt outline for a B2B SaaS brand
Consider a hypothetical company: Acme Analytics, a 2026 B2B analytics platform serving mid-market e-commerce brands. Their site has a marketing root domain, a docs subdomain, and a knowledge base.
Their llms.txt file would contain:
H1: “Acme Analytics”
Blockquote: “Acme Analytics helps mid-market e-commerce brands track retention, revenue, and customer behavior. This file maps our most important pages for AI systems.”
H2 “Documentation” with links to clean markdown versions of “Getting Started,” “API Reference v1 (current),” “Authentication,” and “Error Codes.”
H2 “Product Guides” with how-to guides, onboarding checklists, and integration tutorials.
H2 “Policies & Legal” linking to terms, privacy policy, data processing agreement, and SLAs.
H2 “Support & Status” linking to the status page, support contact, and incident reports.
An AI agent answering “How do I authenticate with Acme’s API?” could go straight to the authentication markdown file listed under Documentation. For example, including AEO-oriented pillar pages like “ecommerce analytics strategy” helps AI search tools understand both product capabilities and broader thought-leadership positioning, which connects to your content cluster strategy.
Automation and integration: keeping llms.txt and llms-full.txt up to date
Manually maintaining llms.txt works for small, stable sites. Scaling brands and documentation-heavy products benefit from automation.
Common automation patterns include:
CI/CD scripts that scan navigation metadata (docs.json, CMS APIs) to regenerate llms.txt on each deployment.
Documentation platforms like Mintlify, GitBook, or internal tooling that auto-generate llms.txt and llms-full.txt from source markdown and frontmatter.
Splitting for large corpora: very large sites may split content into several smaller files if their tooling supports it.
Ensure that pages marked noindex or disallowed in robots.txt are excluded from any auto-generated llms-related files. Keep visibility flags consistent across your own website and llms generation logic. Marketing and product teams should collaborate with engineering so llms.txt continues to reflect strategic priorities, not just whatever documentation pages happen to exist.
llms.txt, SEO, and AEO (AI-Engine Optimization)
Google’s documentation does not list llms.txt as something Search uses, and its guidance for AI features says you don’t need to create new machine readable files, AI text files, or markup to appear in AI Overviews or AI Mode. Even so, llms.txt can still be a documentation exercise that supports AEO by giving AI systems a clearer map of your expertise and content hierarchy, when paired with strong fundamentals.
The foundation still matters most: high-quality content, fast performance, sound technical SEO, and strong information architecture. llms.txt can reinforce your topic clusters by mirroring them in its section structure, grouping all “Brand Strategy” and “Technical SEO” resources together to signal site’s purpose and expertise.
AEO in my framework means ensuring AI crawlers can reach, understand, and prioritize your best content through clean HTML, structured data, and optional signals like llms.txt. It means aligning messaging consistency so summaries in llms.txt match what AI tools find on your pages.
Some practitioners openly dismiss llms.txt as unnecessary, arguing that intentional SEO and strong content are sufficient. That is a valid position. I treat llms.txt as a low-cost experiment, and as a strategic documentation artifact: a concise articulation of what matters most on your own site, which can also inform internal content strategy and sales enablement.
Common mistakes with llms.txt and how to avoid them
While there is flexibility in how you publish content via llms.txt, some recurring patterns reduce its usefulness for AI crawlers and AI agents.
Pitfalls to avoid:
Turning llms.txt into a full sitemap clone with hundreds of low-signal URLs. Keep it focused on your most important pages.
Including outdated, deprecated, or duplicate docs that confuse AI models about which version is canonical content.
Forgetting to update the file after structural changes or major rebrands, leading to broken links and stale descriptions.
Using vague, marketing-heavy descriptions instead of precise, factual summaries. Each link includes a short summary that should deliver detailed information, not hype.
Best practices:
Keep llms.txt focused on canonical, evergreen, and high-intent content.
Add clear version labels for APIs and developer docs (e.g., “v1 (current),” “v0 (legacy, deprecated)”).
Review and update llms.txt on the same cadence as your quarterly SEO audits or content refresh cycles.
On privacy and competitive concerns: never expose confidential, internal, or non-public URLs in llms.txt. Align with legal and security teams if listing sensitive policy or compliance documentation. Test llms.txt in private staging environments first, then push to production once the structure has been vetted.
FAQ
Does llms.txt improve my rankings in Google Search or Google AI Mode?
I have found no public evidence that llms.txt directly affects classic Google rankings, and Google’s guidance says you don’t need AI text files to appear in AI Overviews or AI Mode. The llms.txt file is a proposal for AI content understanding, not a ranking signal. It is complementary to proper SEO, structured data, and site architecture.
Where exactly should I host llms.txt on a multi-domain or subdomain setup?
Each hostname can have its own llms.txt file. For example, example.com/llms.txt, docs.example.com/llms.txt, and help.example.com/llms.txt can each focus on that subdomain’s content. If most of your important pages live in a docs subdomain, place llms.txt there to keep it tight and relevant. Some setups also mirror files under /.well-known/ for compatibility with emerging tools, but this is optional.
Should small websites or local businesses bother creating an llms.txt file?
Small sites with only a few important URLs can still try it. A free llms txt file is fast to create and can double as an internal content map. For small local businesses, llms.txt can highlight key information like service pages, FAQs, and policies that AI assistants might use to answer questions. Prioritize foundational work first (clear service pages, up-to-date contact info, fast performance), but the marginal cost of adding one is very low.
Can I control which AI providers access my llms.txt file?
The llms.txt file itself does not include access controls or provider-specific permissions. It is simply a text file on your site. Access control relies on web server configurations and robots.txt directives, which can block certain AI crawlers via user-agent rules. Sensitive material should never be exposed in llms.txt.
How does llms.txt interact with markdown files, PDFs, and other formats?
The llms.txt file works best when it points AI systems to clean markdown files that mirror key HTML pages, because txt markdown is easier for LLMs to parse consistently. It can also include links to HTML pages, PDFs, CSVs, or code blocks from APIs, but prioritize markdown or similarly structured formats. Gradually add markdown exports for critical docs over time, using llms.txt to surface those AI-friendly resources alongside existing content.
Sources
- The /llms.txt file, llmstxt.org
- AI features and your website, Google Search Central