SEO & Search Marketing

What Is llms.txt? Should Your Website Have One?

As AI assistants, answer engines and coding agents increasingly read the web on people's behalf, a new question has emerged for website owners: how do you help these systems understand your site? Web…

As AI assistants, answer engines and coding agents increasingly read the web on people's behalf, a new question has emerged for website owners: how do you help these systems understand your site? Web pages are designed for human eyes and browsers, full of navigation, scripts, pop-ups and layout. Language models work best with clean, focused text. llms.txt is a proposal to bridge that gap: a simple file that tells AI tools what your site is and where its most useful content lives.

This article explains what llms.txt is, where it came from, how it differs from robots.txt and sitemaps, what it can and cannot do, and how to decide whether your site should have one.

The Short Answer

llms.txt is a Markdown file placed at /llms.txt on your website. It contains:

  • Your site or project name
  • A short summary of what the site offers
  • Curated lists of links to your most important content, with brief descriptions

It is designed to be read by large language models and AI agents, helping them find and understand your key content quickly.

Where llms.txt Came From

llms.txt was proposed in 2024 by Jeremy Howard of Answer.AI, with the specification published at llmstxt.org. The motivation was practical: AI tools often have limited context windows and struggle with cluttered HTML. A concise, structured guide written in Markdown is easy for both humans and models to read.

Since then, many documentation sites, developer tools and software companies have published llms.txt files, and several platforms generate them automatically.

What an llms.txt File Looks Like

# Example Accounting

> Example Accounting is cloud accounting software for freelancers and small businesses in the UK, covering invoicing, expenses, VAT returns and bank feeds.

## Product

- [Features](https://example.com/features/): invoicing, expenses, VAT and reporting
- [Pricing](https://example.com/pricing/): plans and what each includes

## Help

- [Getting started](https://example.com/help/getting-started/): setting up your account
- [Making Tax Digital](https://example.com/help/mtd/): how VAT submission works

## Optional

- [Company blog](https://example.com/blog/)

The structure is:

  1. An H1 with the name
  2. A blockquote summary
  3. Optional extra notes
  4. H2 sections with link lists
  5. An optional "Optional" section for less essential links

llms.txt vs robots.txt vs sitemap.xml

robots.txtsitemap.xmlllms.txt
PurposeControl crawler accessList URLs for indexingGuide AI tools to key content
AudienceAll crawlersSearch enginesLanguage models and AI agents
FormatDirectivesXMLMarkdown
ContentsAllow/Disallow rulesEvery indexable URLA curated selection with descriptions
EnforcementVoluntary rulesHintOptional guide

They serve different purposes and work together. llms.txt does not replace either.

Tip: llms.txt cannot block AI crawlers. If you want to restrict which AI bots can access your content, use robots.txt rules for their user agents.

What llms.txt Can Do

  • Summarise your site in a few sentences an AI tool can use as context
  • Point to your most important pages, so they are found and read first
  • Describe each link, helping tools decide what is relevant to a question
  • Provide a clean entry point for AI agents navigating your site
  • Support developer tools, where AI coding assistants read documentation directly

What llms.txt Cannot Do

  • It is not a ranking signal for Google Search
  • It does not control access: it cannot block or allow crawlers
  • It does not guarantee use: AI companies decide whether and how to read it
  • It does not replace good content: the linked pages still need to be clear and useful

Support among major AI providers varies and continues to evolve. Some tools and platforms read llms.txt; others rely on their own crawling and indexing.

Who Benefits Most From llms.txt?

Documentation and developer tools

Developers increasingly use AI coding assistants that read documentation. A clean llms.txt, and sometimes a full-text llms-full.txt, helps those tools find accurate, current information.

Software and SaaS companies

Prospects ask AI assistants about features, pricing and comparisons. A clear summary and links to key pages help ensure accurate answers.

Ecommerce sites with complex policies

Delivery, returns and sizing questions are common in AI-assisted shopping. Linking these pages clearly helps.

Publishers and knowledge sites

Sites with large archives can point to their most authoritative content.

Small local businesses

The benefit is likely smaller, but the cost is also very low.

How to Create an llms.txt File

  1. Write a one-sentence to three-sentence summary of what your site offers and for whom
  2. Choose your key pages: products, services, pricing, guides, documentation, policies, contact
  3. Group them into sections with H2 headings
  4. Write a short description for each link
  5. Use absolute https:// URLs
  6. Add an Optional section for lower-priority links
  7. Save it as /llms.txt at your domain root
  8. Validate it

Validation matters because the format is specific: the H1 must come first, sections must be H2s, and links must follow a set pattern. An llms.txt validator checks the structure and every link, flagging problems such as text before the H1, bold-text sections or relative URLs.

Best Practices

  • Keep it curated. A focused list of your best content is more useful than every URL.
  • Keep descriptions factual. Describe what each page contains, not marketing claims.
  • Link to canonical, indexable pages that return 200.
  • Keep it current. Update it when key pages change.
  • Make sure linked pages are accessible to the AI crawlers you allow in robots.txt.
  • Consider Markdown versions of key pages if your audience uses AI tools heavily.

Example: A Software Company Adds llms.txt

Imagine an accounting software company whose prospects increasingly ask AI assistants which tool to choose. Answers sometimes cite outdated pricing from old blog posts.

The company publishes an llms.txt file summarising the product, linking to current features, pricing, a comparison page and help articles on common questions. It validates the file, fixes two relative links, and adds the file to its release checklist so it is updated whenever pricing changes. The company also makes sure its robots.txt allows the AI search crawlers it wants to be cited by.

The file is not a guarantee, but it gives any AI tool that reads it a clean, accurate starting point.

Should Your Site Have an llms.txt?

Consider it if:

  • Your audience uses AI tools to research, compare or learn
  • You have documentation, policies or complex products that are often misunderstood
  • You want a low-cost way to present your site clearly to AI systems

It is less of a priority if:

  • Your site is very small and simple
  • You have more pressing SEO or content work
  • You have chosen to block AI crawlers entirely

Given the low effort involved, many sites decide it is worth publishing, as long as it is kept accurate.

llms.txt and AI Crawler Access

llms.txt only helps if AI tools can reach the pages it links to. Check three things together:

  1. robots.txt: do your rules allow the AI crawlers you want to read your content? A file that blocks GPTBot, ClaudeBot or PerplexityBot from / means those tools cannot follow your llms.txt links.
  2. Authentication: linked pages must be publicly accessible, not behind logins.
  3. Rendering: if pages rely heavily on JavaScript to show content, some AI tools may not see it. Clean HTML, or Markdown versions of key pages, are easier to read.

It is perfectly reasonable to block some AI crawlers and still publish llms.txt for others. Just make sure the two files reflect the same policy.

Measuring Whether llms.txt Is Used

Because llms.txt is optional and support varies, measure rather than assume:

  • Server logs show which user agents request /llms.txt and how often
  • Referral traffic from AI assistants in analytics shows whether AI tools send visitors to the linked pages
  • AI answers about your brand and products, checked periodically, show whether information is accurate and current

If logs show no requests after several months, the file is costing you very little, but it is a sign to focus effort elsewhere.

Common Questions From Site Owners

Will llms.txt replace robots.txt?

No. Robots.txt controls crawler access. llms.txt is a proposal for describing useful content to language models. They do different jobs.

Does Google use llms.txt?

Google has not said it uses llms.txt for Search. Its guidance for AI features in Search points to the usual SEO best practices instead.

Can llms.txt stop AI companies using my content?

No. It is a guide, not an access control. To limit AI crawlers, use robots.txt rules for the specific user agents, and check each provider's documentation.

Is it risky to add one?

The risk is very low. It is a small text file. The main cost is the time to create and maintain it.

A Low-Effort Approach

If you are unsure, create a simple llms.txt with your most important pages, such as key products, documentation and policies, and review it every few months. It takes less than an hour, and it gives AI tools and people a clear summary of your site.

Keeping the File Simple

The most useful llms.txt files are short. A few dozen well-chosen links with clear descriptions are more helpful than hundreds of URLs. Focus on the pages that explain what you do, your most important products or services, documentation and key policies.

Common Mistakes

  • Treating llms.txt as access control
  • Including every page instead of a curated selection
  • Relative links
  • Linking to outdated or redirected pages
  • Marketing copy instead of factual descriptions
  • Publishing and forgetting it

Frequently Asked Questions

Is llms.txt an official standard?

It is a community proposal, not an official standard from a standards body. Adoption is growing, especially among documentation and software sites.

Does Google use llms.txt?

Google has not said it uses llms.txt for Search. It is aimed at AI tools and agents generally.

Can llms.txt block AI training?

No. Use robots.txt rules for specific AI crawlers, such as GPTBot or Google-Extended, to control access.

What is llms-full.txt?

An optional companion file containing the full text of key content in one Markdown document, so AI tools can read everything in a single request.

How do I check my file is valid?

Use a validator to check the structure and links against the proposed format.


llms.txt is a small file with a simple job: to introduce your site clearly to the AI tools that read it. If you decide to publish one, check its structure and links with the free llms.txt Validator, keep it curated, and update it whenever your key pages change.