Skip to content

What Is llms.txt? A Practical Guide for Website Owners

llms.txt is a proposed Markdown file that points AI agents to your best content. Learn the format, who reads it, and whether your site needs one in 2026.

By Devma Hosting Team · · 8 min read

llms.txt is a proposed standard for a plain Markdown file, served at /llms.txt, that gives AI agents and LLM-powered tools a short, curated map of a website's most useful content. Jeremy Howard proposed it in September 2024 and published a second version in August 2026. It's still a community proposal, though, not an official web standard, and the major AI search providers haven't said their crawlers use it.

Key takeaways

  • llms.txt is a Markdown index of your key pages: a title, a one-line summary and lists of links with short descriptions.
  • It doesn't block or allow anything. Access control is still robots.txt's job.
  • Google says Google Search ignores llms.txt. It neither helps nor hurts rankings.
  • Real-world use is concentrated in developer documentation, coding agents and AI tools that fetch pages on demand.
  • It's cheap to create, so it can be worth adding if you publish docs, APIs or detailed product information. Just don't expect an SEO boost.

What is llms.txt, exactly?

Web pages are built for browsers. They're full of navigation, cookie banners, scripts and layout markup that an AI model has to wade through to find the actual content. Language models also work within a limited context window, so feeding them a whole website is wasteful even when it's possible.

The llms.txt proposal addresses this with a single, predictable file that tells an AI tool what the site is, which pages matter, and where to find clean versions of them. It's meant to complement robots.txt and sitemap.xml, not replace them. The proposal says it was expected to be most useful at inference time, when an assistant is answering a specific question, rather than for training models.

Version 2 of the proposal, published in August 2026, made a few practical changes (see the changelog):

  • Subpath files. A file covers the URLs under its path, and agents should use the most specific one. Projects hosted at a subpath, such as GitHub Pages project sites, can take part fully.
  • Discovery through link relations. Pages can point to their Markdown version with rel="alternate" type="text/markdown" and to their covering llms.txt with rel="describedby".
  • Two Markdown URL styles. Both page.html.md and page.md are accepted.
  • A stated consumption model. Agents read or search the file, then follow the links that are relevant to the task.

What does an llms.txt file look like?

The format is ordinary Markdown with a fixed order:

  1. An H1 with the site or project name. This is the only required part.
  2. A blockquote with a short summary that gives the key context.
  3. Optional paragraphs or lists with extra guidance. Headings aren't allowed in this part.
  4. H2 sections containing link lists. Each item is a Markdown link, optionally followed by a colon and a note.
  5. An optional section titled "Optional" for secondary links an agent can skip when it's short on context.

Here's an example for a small web design studio:

# Example Studio

> Example Studio designs, builds and maintains WordPress and Shopify websites for small businesses.

We reply to project inquiries within one business day. Prices on our service pages are starting prices in USD and exclude tax.

## Services

- [WordPress design](https://example.com/services/wordpress.md): Custom themes, redesigns and speed work
- [Website care plans](https://example.com/care-plans.md): Monthly updates, backups and support, with pricing

## Help and policies

- [FAQ](https://example.com/faq.md): Timelines, payment terms and what we need from clients
- [Refund policy](https://example.com/refunds.md): When and how refunds are issued

## Optional

- [Portfolio](https://example.com/work.md): Selected past projects
- [Blog](https://example.com/blog.md): Articles on WordPress and e-commerce

The links in this example point to .md versions of each page. The proposal recommends offering clean Markdown copies of important pages at the same URL with .md added, though linking to normal HTML pages is still valid. For a longer real-world example, the proposal links to FastHTML's llms.txt.

How is llms.txt different from robots.txt and sitemap.xml?

All three sit at the root of your site, and all three are easy to confuse.

File Purpose Audience Enforces anything?
robots.txt Says which URLs crawlers may fetch Search engines and AI crawlers No, but well-behaved bots follow it
sitemap.xml Lists every URL you want indexed, with dates Search engines No
llms.txt Summarizes the site and links its most useful pages AI agents and LLM tools No

The key difference is intent. A sitemap aims to be complete. An llms.txt aims to be selective, so that a model with limited context reads your ten best pages instead of your five hundred tag archives. If you want to stop AI companies from using your content, llms.txt won't help. You need robots.txt rules or server-level blocks, which we cover in how to block AI crawlers without hurting your SEO.

Who actually uses llms.txt in 2026?

This is where honesty matters, because a lot of marketing has outrun the evidence.

Publishers. According to llmstxt.org, OpenAI, Anthropic and Google's Gemini team publish llms.txt files for their own developer documentation. The Next.js docs link to one too (nextjs.org/docs/llms.txt). The proposal's changelog says "thousands of sites" now publish one. Documentation platforms and CMS tools such as Mintlify, GitBook, Yoast SEO, AIOSEO and Wix can generate the file automatically.

Readers. The clearest use is by coding agents and AI assistants that fetch pages while helping a user. A developer can point an agent at a docs site's llms.txt and get a clean map instead of scraped HTML. That use is real, but it's driven by tools and users, not by search crawlers deciding to read the file.

Search engines. Google's guide to optimizing for generative AI features is unambiguous. You don't need special AI text files like llms.txt to appear in Google's AI features, because Google Search doesn't use them. Adding one won't help or harm your visibility.

AI crawlers. The official bot documentation from OpenAI, Anthropic and Perplexity describes robots.txt controls only. None of these providers has publicly committed to reading llms.txt when crawling or ranking sources.

Chrome Lighthouse. Since version 13.3 in May 2026, the default Lighthouse configuration has included an Agentic Browsing category with an llms.txt audit. Per Chrome's documentation, a missing file (404) is marked "Not Applicable" because providing one is "optional at the moment." A server error when fetching the file gets flagged. This audit is about how well AI agents can use your site in a browser. It isn't a search ranking signal.

Does llms.txt help SEO or AI visibility?

Not in any way that's been documented. Google says it ignores the file for Search, and no major AI search provider says it uses the file for ranking or citations. If someone promises that llms.txt will get you into ChatGPT answers, ask for evidence.

What does influence AI visibility is less glamorous:

  • Letting AI search crawlers such as OAI-SearchBot, Claude-SearchBot and PerplexityBot fetch your pages.
  • Writing pages that answer questions directly, with clear headings.
  • Keeping important content in HTML text rather than images or scripts.
  • Fast, reliable hosting, so crawlers don't hit timeouts.

Good titles and meta descriptions still matter too. Our meta tag generator helps you get those right.

Should your website have an llms.txt file?

It's a low-cost, low-risk addition. Here's a quick way to decide:

Your site Worth adding llms.txt?
Developer docs, APIs, SDKs Yes. This is where agents use it most
SaaS product with help center Probably. It's a cheap way to give agents accurate answers
Online store with many policy pages Optional. It can point to shipping, returns and sizing
Small brochure site (5–10 pages) Low priority. Your pages are already easy to read

How to create an llms.txt file in six steps

  1. Pick your most useful pages. Think about the questions customers or developers actually ask: pricing, setup, policies, key product pages. Aim for quality over coverage.
  2. Write the H1 and summary. Use your real name and one or two plain sentences about what you do. Skip slogans, because a model gains nothing from "world-class solutions."
  3. Group links under H2 headings. Give every link a short note explaining what's on the page. Put nice-to-have links under ## Optional.
  4. Add Markdown versions if you can. Many static site generators and documentation tools can output .md copies of pages. If yours can't, linking to HTML pages is fine.
  5. Upload it to your web root. Make sure https://yourdomain.com/llms.txt returns the file with a 200 status and UTF-8 text. Check that your firewall or bot protection doesn't block it.
  6. Optionally, add link relations. Version 2 suggests pointing to the file from your pages' HTML head:
<link rel="describedby" href="/llms.txt">
<link rel="alternate" type="text/markdown" href="/pricing.md">

Then run Lighthouse 13.3 or later, from Chrome DevTools or the command line, to confirm the Agentic Browsing audit can fetch the file.

Common llms.txt mistakes to avoid

  • Treating it as access control. Listing or leaving out a page in llms.txt doesn't stop anyone from crawling it.
  • Dumping your sitemap into it. Hundreds of unannotated links defeat the purpose.
  • Letting it go stale. Broken links and old prices give AI tools wrong answers. Update the file whenever key pages change.
  • Writing marketing copy. Plain, factual descriptions are more useful to a model than adjectives.
  • Blocking it by accident. Strict bot rules can return errors for /llms.txt, which Lighthouse will flag.

What about llms-full.txt?

You'll often see llms-full.txt alongside llms.txt on documentation sites. It's a single Markdown file containing the full text of a site's docs, and platforms such as Mintlify generate it automatically. It isn't part of the current llmstxt.org proposal. It can be handy for developers who want to paste a whole docs set into an AI tool, but it's rarely worth maintaining by hand for a business website.

Create your llms.txt in a few minutes

If you'd like to try it, the free llms.txt generator builds a correctly formatted file from your site name, summary and key links. Pair it with the robots.txt generator to set which AI crawlers may fetch your pages. Then use the AI crawler checker to confirm what each bot is allowed to see. Every Devma Hosting website plan gives you access to your web root for both files, along with free SSL and a built-in AI-crawler opt-out toggle.

Frequently asked questions

Does Google use llms.txt?

Not for Search. Google's guide to generative AI features says Google Search doesn't use special AI text files like llms.txt, and that adding one will neither help nor harm your rankings. Separately, Chrome's Lighthouse tool includes an optional llms.txt audit in its Agentic Browsing category, which is about AI agents in the browser, not search ranking.

Is llms.txt the same as robots.txt?

No. robots.txt tells crawlers which URLs they may or may not fetch. llms.txt doesn't allow or block anything. It's a curated, human-readable map of your most useful content for AI tools that choose to read it. If you want to block AI crawlers, you still need robots.txt or server rules.

Where do I put my llms.txt file?

Put it at the root of your site, so it loads at https://yourdomain.com/llms.txt. Version 2 of the proposal also allows files in subpaths, such as /docs/llms.txt, which cover only the pages under that path. Agents are meant to use the most specific file that applies.

What is llms-full.txt?

llms-full.txt is an unofficial companion file that packs a site's full documentation text into one Markdown file. Documentation platforms such as Mintlify generate it automatically. It isn't defined in the current llmstxt.org proposal, so treat it as optional.

Will an llms.txt file get my site cited by ChatGPT or other AI assistants?

There's no evidence that it will. The crawler documentation from OpenAI, Anthropic, Google and Perplexity describes robots.txt controls, not llms.txt, and none of them promises to rank or cite sites that publish one. Clear, well-structured pages that AI search crawlers are allowed to fetch matter far more.

Abstract blue swirling shapes with light reflections

Ready when you are.

Pick a plan and launch today, or tell us what you run and we will size it with you.

Devma Hosting

AI assistant · replies in seconds

Hi there.
How can we help?

Ask about plans, moving your site, email or security. Answers come from our own guides, and a person is one tap away.

  • Message us on WhatsApp