Guide · AI search

llms.txt explained: what it is, whether it helps, and how to write one

What the llms.txt proposal is, what it can and cannot do for AI visibility in 2026, and a step-by-step way to write one for a business site, with an example.

By AmarkosUpdated 7 min read

llms.txt is a plain markdown file at the root of your site, at /llms.txt, that tells AI tools in a few lines who you are and which pages matter most. It was proposed in September 2024 and is easy to write. It is not a ranking factor: no major AI search provider has committed to using it, and Google has said its search does not.

So should you add one? For most business sites, yes, because it takes under an hour, carries almost no risk, and some AI tools do read it. Just do it after the work that matters more, such as letting AI crawlers in and putting your words in the HTML.

What llms.txt is

The format was proposed by Jeremy Howard of Answer.AI, and the specification lives at llmstxt.org. The idea is simple. Web pages are built for people and browsers: menus, cookie banners, scripts, layout. A language model reading a site has a limited amount of text it can take in at once, and much of a typical page is noise. llms.txt offers a short, clean summary with links, written in markdown, which models read easily.

It sits beside robots.txt and sitemap.xml but does a different job:

FileWho it is forWhat it says
robots.txtCrawlersWhat they may and may not fetch
sitemap.xmlSearch enginesEvery page you want indexed
llms.txtLanguage models and AI toolsWho you are, and the few pages worth reading

robots.txt is about permission, sitemap.xml is about completeness, and llms.txt is about focus.

The format, line by line

The specification asks for a few parts, in this order:

  1. An H1 with the name of the site or project. This is the only required part.
  2. A blockquote with a short summary: what you are and who you serve.
  3. Optional free text: paragraphs or bullets with anything a reader needs to make sense of the links.
  4. H2 sections, each a list of links in the form - [Page name](https://example.com/page): a short note.
  5. Optionally, a section titled exactly Optional, for links a tool can skip when it is short of space.

Two related conventions grew up around it. One is llms-full.txt, a single file that holds the full text of your docs, common on developer documentation sites. The other is serving a markdown copy of a page at the same address with .md added. Both are useful for software products with large docs. For a typical business site, a single llms.txt is enough.

Does it help? An honest answer

Here is what is known as of November 2026.

  • Google Search does not use it. Google representatives have said so publicly, and compared it to the old keywords meta tag. It will not change your rankings or your place in AI Overviews.
  • No major assistant has committed to it for choosing which sites to cite. OpenAI, Anthropic, Perplexity and Google have not said their search features rank or select sources by llms.txt.
  • Some tools do read it. Coding assistants and AI agents that look up documentation often check for it, and some developer doc platforms generate one by default. Anthropic, for example, publishes llms.txt files for its own docs.
  • It costs almost nothing. It is a text file. It cannot hurt your search rankings, and it forces you to write down, in plain words, what your business is and which pages matter. That summary is useful well beyond this file.

The clearest benefit today is for software companies with documentation. If developers use AI coding tools to work with your product, a good llms.txt and llms-full.txt help those tools find the right page. See our notes on AI search for SaaS companies.

How to write one, step by step

  1. Write the summary first. One or two sentences: what you do, for whom, and where. Write it the way you would want an assistant to describe you. "Brightside Plumbing is a licensed plumbing and heating company serving Leeds and Bradford, with 24-hour emergency callouts" beats "Your trusted partner for all your plumbing needs."
  2. Add the facts that help someone decide. A few bullets: services, areas served, price ranges if you publish them, opening hours, how to book. Keep them identical to what your site and your Google Business Profile say.
  3. Pick 5 to 20 key pages. The home page, your main service or product pages, pricing, the about page, contact, and your best guides or FAQ. Not every page: that is what the sitemap is for.
  4. Give each link a short note. Say what the page answers: "prices for boiler installs, with what is included". The note is what helps a tool choose the right page.
  5. Put lower-value links under Optional. Blog archives, careers, press, policies.
  6. Use full, canonical URLs. Absolute addresses, the same version (https, with or without www) that your site uses.
  7. Upload it to the root, so it loads at https://yoursite.com/llms.txt, served as plain text.
  8. Check it in a browser, then make sure robots.txt does not block the path and your CDN does not challenge it.
  9. Update it when your facts change. New prices, new services, a new address. An out-of-date summary is worse than none.

A full example

Here is a complete llms.txt for an example business, a fictional dental clinic. Copy the shape, not the details.

# Lakeview Dental Studio

> Lakeview Dental Studio is a family and cosmetic dental clinic in Baner, Pune, India. We offer check-ups, implants, clear aligners and emergency appointments, with evening and Saturday hours.

- Address: 14 Lake Road, Baner, Pune 411045, India
- Phone: +91 20 0000 0000 (example number)
- Hours: Monday to Saturday, 9:00 to 20:00
- Languages: English, Hindi, Marathi
- Booking: online, by phone, or same-day for emergencies

## Services

- [Dental implants](https://lakeviewdental.example/implants): what an implant involves, recovery time, and price ranges including the crown
- [Clear aligners](https://lakeviewdental.example/aligners): who they suit, how long treatment takes, and prices
- [Emergency dentist](https://lakeviewdental.example/emergency): same-day appointments for pain, broken teeth and swelling
- [Check-ups and cleaning](https://lakeviewdental.example/check-ups): what a visit includes and how often to come

## About

- [Prices](https://lakeviewdental.example/prices): the full price list, updated every quarter
- [Our dentists](https://lakeviewdental.example/team): qualifications and registration numbers of every dentist
- [Contact and directions](https://lakeviewdental.example/contact): map, parking and public transport

## Optional

- [Patient guides](https://lakeviewdental.example/guides): articles on aftercare and oral health
- [Careers](https://lakeviewdental.example/careers)
- [Privacy policy](https://lakeviewdental.example/privacy)

Notice what it does: the summary answers "who is this?" in one sentence, the bullets carry the facts an assistant would need to recommend the clinic, and every link note says what the page answers. You can also read our own file at amarkos.com/llms.txt for a software example.

Mistakes to avoid

  • Marketing copy instead of facts. "Award-winning, world-class care" tells a model nothing. Names, places, services and prices do.
  • Facts that disagree with your site. If llms.txt says you open at 9 and your contact page says 10, you have created the inconsistency that makes assistants cautious.
  • Listing every page. A list of 400 links is a sitemap. Pick the pages that answer customers' questions.
  • Keyword stuffing. There is no ranking to win here, and stuffed text reads badly to anyone who looks.
  • Blocking it by accident. A blanket Disallow: / for AI crawlers, or a CDN bot challenge, means the file is never read. Check which AI crawlers you allow.
  • Expecting it to fix visibility. Being named by assistants depends far more on readable pages and on mentions on the sites they cite. Our guide on getting recommended by ChatGPT covers the work that moves answers.

How Amarkos helps

The free llms.txt generator drafts a file from your site's own pages, ready for you to edit and upload. The free AI audit checks whether you have one, along with the things that matter more: AI crawler access in robots.txt, structured data, and how many words your pages show without JavaScript.

Beyond the file, Amarkos puts your customers' questions to ChatGPT, Claude, Gemini and Perplexity every week with live web search on, and records who they name and which pages they cite, so you can see whether any change, llms.txt included, moves the answers. See AI search visibility.

Write my llms.txt free

The free generator drafts an llms.txt from your site’s own pages, ready to edit and upload.

Write my llms.txt free

Questions

Is llms.txt an official standard?

No. It is a proposal published at llmstxt.org in September 2024 by Jeremy Howard of Answer.AI. It is not a web standard from a standards body, and no major AI search provider has committed to using it for choosing sources. It has been adopted widely by developer documentation sites, and some AI tools and coding agents read it, which is why it is worth the small effort.

Will llms.txt improve my Google rankings?

No. Google representatives have said publicly that Google Search does not use llms.txt, and that includes AI Overviews and AI Mode, which draw on the normal search index. Rankings and citations there depend on crawlable, useful pages and on what other sites say about you. Add llms.txt for AI tools that read it, not for Google.

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

llms.txt is a short summary with links to your key pages. llms-full.txt is a companion convention that puts the full text of your documentation in one markdown file, so a tool can read everything without following links. llms-full.txt makes sense for software products with large docs. Most business sites only need llms.txt.

Where do I put the file, and how often should I update it?

Put it at the root of your domain so it loads at /llms.txt, served as plain text, and make sure robots.txt and your CDN do not block it. Update it whenever the facts in it change: services, prices, hours, address or key pages. A quarterly check is a reasonable habit, since an out-of-date summary can spread wrong facts.

Find out what AI says about you. Then change it.