llms.txt Explained: What It Is, What It Is Not and How to Write One

llms.txt is a proposed plain-text guide to your site for AI systems. Here is what it is, what it is not, and how to write a useful one without overclaiming.

· GEO · Global

What is llms.txt and do you need one?

Llms.txt is a proposed convention: a plain text file, written in Markdown, placed at the root of your website, that gives language models and AI tools a short, curated guide to your most useful pages. Think of it as a hand-written reading list for a visitor who has very little time. The idea was put forward in 2024 as a way to help AI systems find the right pages without wading through navigation, scripts and adverts.

Do you need one? It is optional, cheap and sensible to try, but it is not a magic switch. No major AI company has promised that it will treat the file as a ranking or recommendation signal, and you should be wary of anyone who says otherwise. The honest value is that writing one forces you to decide which pages describe your business best, which is a worthwhile exercise whether or not any machine reads the result.

What llms.txt is, in plain terms

The file lives at yourdomain.com/llms.txt. It is meant to be read by both people and machines, so it uses ordinary Markdown: a single top-level heading with the name of the site, a short quoted summary, and then sections of links, each with a short description. Optional extra files such as llms-full.txt are sometimes used to hold a longer version of the content in one place, though this is a separate choice and many sites skip it.

The proposal grew out of a practical problem. A language model, or a tool that uses one, has a limited amount of text it can read at once. Most websites are full of material that wastes that space. A short file that says “here is who we are, and here are the pages that matter” saves effort for any tool that decides to use it, and the author controls the message.

It is also worth knowing that this is a community proposal, not an official web standard in the way robots.txt and sitemaps are widely treated. Support is uneven and changes over time. Some developer tools and documentation platforms use it deliberately; whether a general-purpose assistant reads it when answering a customer’s question is something each company decides, and most do not publicly document the detail.

What llms.txt is not

Clearing up misunderstandings saves time and false hope. The file is not a replacement for good pages, and it cannot make weak content look strong. If your service page is thin or unclear, a link to it from llms.txt simply points a reader at a thin page.

  • It is not robots.txt: llms.txt does not grant or deny crawling permission, so it cannot block anything, and any access rules still belong in robots.txt.
  • It is not a sitemap: a sitemap lists every page for search engines to discover, while llms.txt is a short, human-written selection with explanations.
  • It is not a ranking factor that anyone has confirmed: no assistant publisher has said that having the file will make you appear more often, so treat any such claim as unproven.
  • It is not structured data: it does not replace schema.org markup, which describes specific facts such as address and opening hours in a format search engines already process.
  • It is not a place for promotional claims: words like “best” and “leading” add nothing a reader can verify and tend to make the summary less useful.
  • It is not a substitute for being accurate elsewhere: if your llms.txt says one thing and your contact page, Google Business Profile and directory listings say another, the inconsistency is the real problem.

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

Begin with the heading. The first line is a single hash followed by your business name, written exactly as customers know it. Directly beneath it, add a short quoted summary beginning with the greater-than sign, written in two or three plain sentences: what the business is, where it operates, and who it serves. Keep it factual and free of slogans.

Next, add a short paragraph or two of useful notes, such as the languages you serve, your service area, and anything a visitor commonly misunderstands. Then create sections using second-level headings, such as “Services”, “About”, “Contact” and “Policies”. Under each heading, list links in Markdown form, each followed by a colon and a one-sentence description of what the page contains.

Choose the pages carefully. Include the pages that a stranger would need to understand the business: the main service pages, the about page, the contact page with address and hours, pricing or fees if you publish them, and any frequently asked questions. Leave out thin pages, tag archives, login pages and anything out of date. A sharp list of eight to fifteen links usually beats a long dump.

Write the descriptions as if explaining to a new colleague. “Teeth whitening: what the treatment involves, who it suits, how long it lasts and what it costs” is more useful than “Our services”. Then save the file as plain text with the name llms.txt, upload it to your site’s root, and open it in a browser to confirm that it loads and the links work.

A worked example for a fictional business

For example, imagine a small family-run accounting practice in a Gulf city that serves shops and freelancers in Arabic and English. The file would begin with a heading naming the practice. Under it would sit a short quoted summary saying that it is a bookkeeping and tax-compliance practice serving small businesses and freelancers, working in Arabic and English, based in a named district and licensed by the relevant authority.

A “Services” section would then list its bookkeeping page, its VAT registration and filing page, and its payroll page, each with a one-line description. An “About” section would link to the team page and the page describing its licence and professional memberships. A “Contact” section would link to the page holding the full address, phone number, WhatsApp number and opening hours. A final “Optional” section could hold lower-priority material such as a guide to preparing records for year end.

Notice what the example avoids. It does not claim to be the best in the city. It does not list every blog post. It names real facts a customer would check, and every link points to a page that actually contains those facts. That is the pattern to copy: modest, accurate and easy to verify.

Checklist for a good llms.txt

Use the list below as a final review before publishing. If you can tick every line, the file is doing the one job it can do: giving a reader a clean, honest map of your site.

  • The file loads at the root of your domain as plain text, with no redirect to a login or a error page.
  • The first line is a single heading with the business name exactly as it appears on your website and listings.
  • The summary says what you do, where you operate and who you serve, without superlatives or unverifiable claims.
  • Every link uses a full address, works today, and points to a page that is useful on its own.
  • Each link has a one-sentence description that says what the page contains rather than repeating the page title.
  • Your address, phone number, opening hours and licence details in the file match your contact page and your Google Business Profile.
  • Pages in other languages are included where you genuinely serve those customers, with the language noted in the description.
  • A reminder is set to review the file whenever you add a service, change your address or retire a page.

How llms.txt fits alongside the rest of your site

The file works best as one small part of a clear site. The foundations are the same as ever: pages that answer real questions, consistent contact details, structured data that states your facts, a sitemap, and a robots.txt that does not shut out the crawlers you want. If those are weak, llms.txt will not compensate.

It also helps to keep your own maintenance burden low. A file that lists a dozen stable pages will stay correct for months. A file that tries to mirror every page needs constant care and quickly goes stale, and a stale guide is worse than none because it points readers at pages that have moved. Put a calendar reminder next to your quarterly review so the file does not become a forgotten promise.

Keeping llms.txt honest as your business changes

The biggest risk with any hand-written guide is that it drifts out of date. A business adds a service, moves premises, changes its number or retires a page, and the file keeps pointing at the old picture. Because the whole purpose of llms.txt is to be a trusted shortcut, a wrong entry does more harm than a missing one. Give someone named responsibility for the file and tie its review to the events that change your facts: a new service launch, a move, a rebrand, a change of licence.

It also helps to avoid duplicating content. Rather than copying paragraphs of text into the file, link to the live page and describe it in a sentence. That way the page remains the single source of truth, and the file only needs editing when pages are added, removed or renamed. If you choose to publish a longer companion file, treat it with the same discipline, and consider whether you will really maintain it before you start.

Questions to ask before you spend time on it

It is fair to ask whether the effort is worthwhile for your business. If you already have a clear site, with a strong about page, accurate contact details and structured data, a short llms.txt costs half an hour and does no harm. If your site is confusing, spend that half hour improving the pages first, because a file cannot repair unclear content.

Also consider who benefits. Developer documentation sites have clear reasons to offer a machine-friendly index, and some documentation tools generate one automatically. A local clinic or restaurant is in a different position, and the honest expectation is small. Do it because it makes you tidy your thinking, and judge it by whether the exercise improved your site, not by a promise of mentions.

How to check where you stand

Open yourdomain.com/llms.txt in a browser. If it loads as readable text, it is live. Then test the links one by one, and read the summary aloud: would a stranger understand your business from it? Next, ask two or three AI assistants questions about your business in different wording, and compare their answers with what the file says. Mismatches show you where your own information is unclear.

A free srchd audit checks whether an llms.txt file exists alongside your robots.txt, sitemap, structured data and language settings, and records what an AI provider says when asked customer-style questions about you. It reports what it finds and does not claim that any single file changes what an assistant says.

Do not stop at one test. Repeat the questions a few weeks later, and again after any change to the file, and keep the answers in a simple dated note. Assistants change over time, so a single snapshot tells you little, while a short record shows whether the answers about your business are becoming clearer, staying the same or drifting. Keep the record honest: write down misses as carefully as hits.

Your next step

Set aside thirty minutes. List the eight to fifteen pages that best explain your business, write one honest sentence about each, add a plain summary at the top, and upload the file. Then check that your facts match everywhere else you appear online.

If you cannot decide which pages belong on the list, that is the useful discovery. It usually means your site has no single page that explains the business clearly, and fixing that will help every reader, human or machine, far more than any file in the root folder.

Share the finished file with whoever manages your website and your listings, so that everyone knows it exists and who updates it. A guide that only one person remembers tends to be forgotten at the first redesign. Mention it in your launch checklist for new services, and you will find it stays accurate with very little effort.

Frequently asked questions

Is llms.txt an official standard like robots.txt?

No. It is a community proposal, published in 2024, and it is not an official web standard. Support varies between tools and companies, and most AI assistant publishers have not documented how or whether they use it when answering questions. It is reasonable to add one because it is cheap, but keep expectations modest.

Will adding llms.txt make ChatGPT or Gemini recommend my business?

There is no published guarantee that it will. No major assistant has confirmed that the file influences recommendations. What it can do is give any tool that reads it a clear, curated map of your best pages. Clear pages, consistent contact details and structured data are more dependable work to prioritise.

What is the difference between llms.txt and robots.txt?

Robots.txt tells crawlers which paths they may or may not fetch, so it controls access. Llms.txt does not control access at all; it is a short, readable guide pointing to your most useful pages. You can have both, and if you want to restrict a crawler you must still do that in robots.txt.

Do I need llms-full.txt as well?

No. The longer file is an optional extra that some sites use to put the full text of key pages in one place. For a small business, a clean llms.txt with a dozen well-described links is enough. A bigger file also creates more work to keep accurate, so only add it if you will maintain it.

Can I write llms.txt in Arabic?

Yes. The file is plain Markdown text, so you can write it in Arabic, English or both. If you serve customers in both languages, a sensible approach is an English file with clear links to Arabic pages, noting the language in each description, or two clearly separated sections. Make sure the file is saved with UTF-8 encoding so the text displays correctly.

Run a free srchd audit