Skip to content
serpico.

llms.txt: What It Is, How to Create One, and Whether AI Actually Reads It

Serpico AgencyUpdated 10 min read

llms.txt is a plain-text Markdown file at yoursite.com/llms.txt that gives large language models a short summary of your site and a curated list of its most important pages, each with a one-line description. It was proposed by Jeremy Howard of Answer.AI in September 2024 and remains an optional convention: no major AI provider officially commits to reading it. Treat llms.txt as cheap, useful GEO hygiene, not as a switch that gets you cited by ChatGPT.

This guide covers the format, two copy-ready examples, a step-by-step setup, how to validate the file, the mistakes we see most often, and how we implement llms.txt for clients.

What is llms.txt?

Think about how a language model experiences your website. It has a limited context window and no patience for navigation menus, cookie banners, carousels and JavaScript-rendered content. What it needs is a cheat sheet: who you are, what you do, and which pages explain it best.

That is exactly what llms.txt provides. The file is readable by both humans and machines and usually contains:

  • the name of the site or project;
  • a one or two sentence summary of the business;
  • a few sections listing key pages, each with a short note on what the page contains.

The proposal is documented at llmstxt.org. It is a community specification, not a W3C or IETF standard, so support depends entirely on the companies and developers building AI tools.

llms.txt vs robots.txt vs sitemap.xml

People often lump these three files together. They solve different problems.

File Purpose Format Who reads it Status
robots.txt Allows or blocks crawling of site sections User-agent, Allow, Disallow directives Googlebot, Bingbot, GPTBot, ClaudeBot, PerplexityBot and others De facto standard, formalized in RFC 9309
sitemap.xml Lists every URL you want indexed XML Search engines Recommended, supported by Google and Bing
llms.txt Summarizes the site and curates key pages for LLMs Markdown Some AI tools and agents, mostly for documentation Optional, no official support from major AI platforms

The short version: sitemap.xml says "here are all my pages", while llms.txt says "here are the 10 to 30 pages that explain my business, and here is why each one matters". And robots.txt beats both. If an AI crawler is blocked, no llms.txt file will help.

Do AI assistants actually read llms.txt?

This is where most articles overpromise, so let us go platform by platform.

Google (AI Overviews and AI Mode)

Google's documentation on AI features and your website states that there are no additional requirements to appear in AI Overviews or AI Mode, and no special files or schema are needed. Google representatives have also said publicly that Google does not use llms.txt. Bottom line: llms.txt has no effect on AI Overviews.

ChatGPT, Claude and Perplexity

OpenAI's documentation on its crawlers explains how to control access through robots.txt, not llms.txt. None of the major AI companies has said that llms.txt is a ranking or citation signal. At the same time, several AI companies and documentation platforms publish llms.txt files for their own developer docs, so the format is well known in the industry.

Where llms.txt does get used

  • Coding agents and developer tools. Tools that pull documentation into a model's context often look for /llms.txt first, because it is the fastest route to the right pages.
  • Browsing assistants. When a user pastes your URL into ChatGPT or Claude and asks "what does this company offer?", an agent may fetch llms.txt and get your structure in a single request.
  • Your own AI stack. A site chatbot, an internal RAG pipeline or an MCP server can use llms.txt as a ready-made index.

So llms.txt will not move your rankings and will not force a model to cite you. It makes your site easier to understand for the AI tools that do read it, and it costs very little to maintain.

The llms.txt format

The file lives at the root of the domain, for example https://example.com/llms.txt, and follows this order:

  1. An H1 heading with the name of the site or project. This is the only required element.
  2. A blockquote with a short summary: what it is, who it serves, what makes it different.
  3. Optional paragraphs or lists with context that helps interpret the site, such as regions served, languages or constraints.
  4. H2 sections containing link lists in the form - [Page name](URL): description.
  5. An ## Optional section for secondary links that a model can skip when context is tight.

The proposal also suggests offering Markdown versions of pages at the same URL with .md appended. Separately, many documentation sites publish an llms-full.txt that bundles the full text of key pages into one file. Both are optional and make the most sense for docs and developer products.

llms.txt example for a service business

# Clinic Example

> Aesthetic medicine clinic in Miami. We see patients in English and Spanish and take bookings online.

The site is available in EN and ES. Prices on treatment pages are synced with the booking system.

## Treatments
- [Botox](https://example.com/botox): indications, contraindications, price, physician
- [Dermal fillers](https://example.com/fillers): treatment areas, duration, price
- [Laser resurfacing](https://example.com/laser): laser types, sessions, recovery

## About the clinic
- [Physicians](https://example.com/team): credentials and experience
- [Pricing](https://example.com/pricing): current price list
- [Contact](https://example.com/contact): address, hours, booking

## Optional
- [Blog](https://example.com/blog): aftercare and treatment guides

Notice what is missing: slogans. Every description answers one question, namely "what will someone find on this page?".

llms.txt example for a SaaS with several domains

If a company runs several domains, give each domain its own llms.txt and state plainly how the domains relate to each other:

# Example App

> Mobile warehouse app, part of the Example ecosystem. Company site: example.com. Modules and connectors: apps.example.com.

## Product
- [Features](https://app.example.com/features): barcode scanning, inventory counts, receiving
- [Pricing](https://app.example.com/pricing): plans and free trial
- [Docs](https://app.example.com/docs): setup and integrations

## Related sites
- [Company](https://example.com/): implementation services
- [Modules](https://apps.example.com/): connectors and extensions

How to create an llms.txt file, step by step

  1. Check crawler access first. Open robots.txt and make sure GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot and Google-Extended are not blocked by accident, and that a firewall or CDN such as Cloudflare is not returning 403 to them.
  2. Pick 10 to 30 key pages. Core services or categories, pricing, about, contact and your strongest guides. Prefer pages that already earn impressions in Search Console.
  3. Write a one or two sentence summary. Who you are, who you serve, where you operate. Skip "industry leader" and "innovative solutions".
  4. Group the links into 3 to 6 H2 sections. The grouping should mirror the business: services, customer segments, products.
  5. Describe every link. Keep it factual, roughly 5 to 15 words.
  6. Publish at the domain root. On WordPress use a plugin or upload via FTP, on Shopify use an app or a custom route, on Next.js drop a static file into public or add a route handler.
  7. Make updates part of your process. A new service, a new language or a pricing change means updating llms.txt, just like updating the navigation.

How to validate your llms.txt

A basic check takes about ten minutes:

  • Status code 200. Run curl -I https://example.com/llms.txt. You want 200, not a 301 to the homepage or a 404.
  • Content type. Ideally text/plain or text/markdown with UTF-8 encoding, so non-English characters do not break.
  • Bot access. Request the file with an AI user agent: curl -A "GPTBot" -I https://example.com/llms.txt. A 403 here points to your hosting or CDN protection.
  • Working links. Every URL in the file should return 200, be canonical and carry no noindex.
  • Structure. One H1 at the top, a blockquote summary, H2 sections with link lists. A human should understand it without explanation.
  • A model test. Paste the file into ChatGPT or Claude and ask it to describe the company and recommend the right page for a specific question. If the answer is off, so is the file.

Common llms.txt mistakes

  • Dumping the sitemap. Hundreds of links without descriptions recreate the exact problem the file was meant to solve.
  • Marketing copy instead of facts. "The best clinic in town" tells a model nothing. State what, where, for whom and in which languages.
  • Links to redirects, 404s and noindexed pages. You are pointing models at pages that do not exist for search.
  • Blocked crawlers. llms.txt is public, but robots.txt or the CDN blocks AI bots from the rest of the site.
  • A file nobody updates. Services and prices change while llms.txt still describes last year's business.
  • Expecting traffic. llms.txt is not a ranking factor. If the real issue is indexing or thin content, the file will not fix it.
  • Ignoring language versions. For multilingual sites, either describe the language versions in one file or keep clearly separated sections.

How we build llms.txt for clients

At Serpico, llms.txt is one item in our GEO / AI SEO work, and it comes after a technical audit, never instead of one. A few examples from our case studies:

  • Betterplace (Bali real estate). The business serves three audiences: villa owners, guests and buyers. So we built the Betterplace llms.txt around those three segments and their key pages, while opening access for AI crawlers and fixing a broken sitemap.
  • VentorTech (B2B Odoo developer). The company runs three domains with different roles, and we placed llms.txt on all three sites alongside Article, FAQPage and BreadcrumbList schema.
  • A med spa near Miami. Here llms.txt is a living document: after adding FAQ blocks, our next step is updating llms.txt and the Organization schema to reflect the clinic's new services and technologies.

Our workflow looks like this:

  1. An SEO audit covering indexing, robots.txt, bot access, status codes and structured data.
  2. Selecting key pages based on Search Console data and the client's business priorities.
  3. Drafting the file and getting it approved by the client, the same way we would approve an About page.
  4. Publishing and validating: status 200, content type, access with AI user agents, working links.
  5. Updating the file whenever services, languages or site structure change.

One honest lesson from practice: in the HYPD case, the biggest quick win for AI search was not a file at all but a hidden noindex on 26 tutorials. That is why we always start by checking whether search engines and AI systems can see the site in the first place.

Will llms.txt increase traffic or AI citations?

Probably not directly, and we do not promise clients growth from a single file. AI Overviews draw on Google's index, and ChatGPT and Perplexity cite pages they find through search. What actually drives citations is covered in our guide on what GEO is and how to get cited by ChatGPT: a direct answer at the top of the page, facts, clear structure, schema and brand mentions on third-party sites.

llms.txt is still worth doing because it:

  • takes an hour or two and needs very little maintenance;
  • helps agents and browsing assistants understand your site quickly;
  • forces your team to decide which pages truly matter, which is useful for SEO too;
  • prepares you in case AI platforms expand support for the format.

Conclusion

llms.txt is a short map of your site for language models: an H1 with your name, a one or two sentence summary, and sections of curated links. It is optional, Google does not use it, and major AI platforms have not confirmed support. Create one because it is fast and helpful for agents, but never as a substitute for a solid technical foundation, strong content and brand reputation.

Want to know whether AI crawlers can reach your site and what keeps it out of AI answers? Start with a free SEO audit, or see our GEO / AI SEO service for full visibility work across ChatGPT, Gemini and Perplexity.

FAQ

What is llms.txt?

llms.txt is a Markdown file placed at yoursite.com/llms.txt that summarizes the site and lists its key pages with short descriptions for large language models. It was proposed in September 2024 and is an optional convention, not an official standard.

Does Google use llms.txt?

No. Google says AI Overviews and AI Mode have no special file or markup requirements beyond normal Search eligibility, and Google representatives have said they do not use llms.txt.

Will llms.txt get my site cited by ChatGPT?

Not on its own. No major AI provider has confirmed llms.txt as a citation signal. It helps agents and browsing assistants understand your site faster, while citations depend on content, structure, schema and brand mentions.

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

llms.txt is a short curated index of links. llms-full.txt is a common but optional practice of bundling the full text of key pages into one file, mostly used for documentation sites.

How do I validate an llms.txt file?

Check that it returns HTTP 200 as text/plain or text/markdown in UTF-8, that AI bot user agents are not blocked, and that every link points to a live, canonical, indexable page.

  • #llms.txt
  • #GEO
  • #AI search
  • #technical SEO

Serpico Agency

Author

We write from experience: everything in our articles has been tested on real client projects. About the team

Related reading

Ready to rank on Google and show up in AI answers?

We'll run a quick audit of your website and show you where you're losing traffic and leads. Free, no strings attached.

Book a call →

Free consultation

Tell us about your project and we'll prepare a growth plan