Site SEO AI Auditby Internet Solutions

llms.txt Explained: What It Is and Whether You Need One

3 Agustus 20268 mnt bacaPencarian AI
llms.txt Explained: What It Is and Whether You Need One

Short answer: llms.txt is a proposed Markdown file placed at /llms.txt that gives language models a short, curated guide to a website’s most useful content. It is a community proposal, not an official standard, and no major AI search product has publicly committed to relying on it. It is cheap to create and can help tools that do read it, but it does not replace crawlable pages, robots.txt or a sitemap.

What llms.txt is

The llms.txt proposal was published in September 2024 as a simple convention: put a Markdown file at the root of your domain that tells language models what your site is and where its most important content lives. The idea came from the documentation world, where developers wanted AI coding assistants to find clean, relevant docs instead of wading through navigation menus, cookie banners and scripts.

Think of it as a hand-written table of contents for machines. A normal web page is built for humans and browsers. It contains layout, menus, footers, tracking code and often content that only appears after JavaScript runs. A language model working with a limited context window benefits from a short, clean summary that points straight to the pages that matter.

The proposal is maintained publicly at llmstxt.org, which describes the format and gives examples.

What goes inside the file

The format is deliberately simple and readable by both people and programs. A typical llms.txt contains:

  1. An H1 heading with the name of the site or project. This is the only required element.
  2. A short summary in a blockquote, one or two sentences explaining what the site offers.
  3. Optional paragraphs with extra context, such as who the product is for or important caveats.
  4. H2 sections with link lists, each link written as a Markdown link followed by a short note about what the page covers.
  5. An “Optional” section for secondary links that can be skipped when space is tight.

A small business might produce something like this:

# Example Bakery

> Family bakery in Kaunas making sourdough bread and cakes to order since 2012.

## Main pages
- [Menu and prices](https://example.com/menu/): current breads, cakes and seasonal items
- [Custom cake orders](https://example.com/cakes/): how to order, lead times, delivery area
- [Opening hours and location](https://example.com/contact/): address, hours, parking

## Optional
- [Blog](https://example.com/blog/): recipes and baking tips

The proposal also suggests an optional companion file, llms-full.txt, containing the full text of key pages in one document, and offering Markdown versions of pages at the same URL with .md appended. These are most common on developer documentation sites.

Who actually reads llms.txt today

This is the honest part many guides skip. As of writing, the major AI search products have not published documentation saying that they use llms.txt when choosing or citing sources. Google has stated publicly that its AI features in Search rely on normal crawling and indexing, and its representatives have indicated they do not use llms.txt. Other large assistants have not documented support either.

Where the file does get used is in more direct workflows:

Server logs on sites that publish the file often show occasional requests for it, but occasional fetches are not proof that it influences answers. Treat llms.txt as a low-cost bet, not as a ranking lever.

It is also worth remembering why adoption is slow. Search and answer engines already have mature crawlers, indexes and quality signals. A file that site owners write about themselves is easy to fill with self-promotion, so large systems have little reason to trust it more than the pages they can crawl and evaluate directly. That may change, but for now the value lies mainly in convenience for tools and agents that read a site on a user’s request.

llms.txt vs robots.txt vs sitemap.xml

People often confuse these three files because they all live at the root of a domain and all speak to machines. They do very different jobs.

File Purpose Status Controls access?
robots.txt Tells crawlers which paths they may fetch Internet standard (RFC 9309) Yes, for crawlers that respect it
sitemap.xml Lists URLs you want discovered and indexed Widely supported protocol No
llms.txt Curated Markdown guide to your best content Community proposal No

The key point: llms.txt cannot block or allow anything. If your robots.txt disallows an AI crawler, listing pages in llms.txt will not let that crawler in. If you want AI tools to stay away from certain content, robots.txt and server-side rules are the tools for the job.

Should your site have one?

For most sites the decision comes down to effort versus plausible benefit. The effort is small, so the bar is low. Consider these cases:

The one situation where you should not bother yet is when basic crawlability is broken. If AI crawlers are blocked, key pages return errors or your content only appears after JavaScript, fix that first. Those issues affect every search and AI system, while llms.txt affects only the tools that choose to read it.

How to create a good llms.txt

Writing the file takes about an hour for a typical small site. Follow these steps:

  1. Pick your 10 to 30 most important pages. Main service or product pages, pricing, contact, key guides and policies. Leave out tag archives, thin pages and anything behind a login.
  2. Write a one-sentence summary of the business that is factual and specific. Avoid slogans. This line may be repeated verbatim by a tool.
  3. Group links under clear H2 headings such as “Products”, “Documentation”, “Policies” or “Guides”.
  4. Add a short note after each link saying what the page answers. This is the most valuable part of the file.
  5. Use absolute URLs with your canonical domain, and make sure every linked page returns a 200 status and is not noindexed.
  6. Save it as UTF-8 plain text at https://yourdomain.com/llms.txt and check that it loads in a browser.
  7. Put a review date in your calendar. An outdated llms.txt that points to removed pages or old prices is worse than none.

On WordPress, some SEO plugins can now generate the file automatically. If you use one, read the output: generated files often list every post instead of a curated selection, which defeats the purpose.

Common llms.txt mistakes

How Site SEO AI Audit checks it

The AI visibility area of a Site SEO AI Audit report checks whether your site has an llms.txt file, alongside the checks that matter more: whether AI crawlers are allowed in robots.txt, whether page content needs JavaScript to appear, and whether pages carry the structure and dates that AI answers tend to quote. Seeing them together helps you put llms.txt in its proper place in the fix list rather than treating it as the main task. You can start with a free audit of your site.

Related reading

The bottom line

llms.txt is a simple, sensible idea with limited adoption so far. It is worth an hour of work for documentation, software and service sites, and optional for most others. Create a short, curated, accurate file, keep it up to date, and do not let it distract you from the fundamentals: crawler access, server-rendered content and clear pages.

FAQ

Is llms.txt an official standard?

No. It is a community proposal published in 2024 and is not an IETF or W3C standard. Support depends entirely on individual tools choosing to read it.

Does Google use llms.txt for AI Overviews?

Google has said its AI features rely on normal Search crawling and indexing, and it has not documented any use of llms.txt. Treat the file as irrelevant for Google rankings and AI Overviews.

Can llms.txt block AI crawlers from my content?

No. The file only describes content; it has no access rules. Use robots.txt directives or server-level blocking to control which crawlers can fetch your pages.

Where exactly should the file be placed?

At the root of your domain, so it loads at https://yourdomain.com/llms.txt. It should be plain text encoded in UTF-8 and return a 200 status code.

How often should I update llms.txt?

Update it whenever you add, remove or rename important pages, and review it at least every few months. An outdated file that points to missing pages can mislead the tools that read it.

#AI crawlers#AI search#llms.txt
Periksa website Anda sendiri — gratis.Setiap masalah SEO di situs Anda — dan cara tepat memperbaikinya.
Mulai gratis

Lainnya dari blog

Semua artikel →
Internet Solutions

Lainnya dari tim kami

Dibuat oleh Internet Solutions. Coba produk kami yang lain — masing-masing menghemat waktu Anda dengan cara berbeda.

internet-solutions.net ↗
Site SEO AI Audit
Ringkasan Privasi

Website ini menggunakan cookie agar kami dapat memberikan pengalaman pengguna terbaik. Informasi cookie disimpan di browser Anda dan menjalankan fungsi seperti mengenali Anda saat kembali ke website kami serta membantu tim kami memahami bagian website mana yang paling menarik dan berguna bagi Anda.