Trois-Rivières, serving all of Quebec 450 231-3836 info@oktosolutions.ca

llms.txt guide

What is llms.txt?

A small text file at the root of your site, written for language models. Here is where it comes from, what goes in it, a complete example you can copy, and how to check your own.

llms.txt is a Markdown text file placed at the root of a website, at the /llms.txt address. It presents the business in a few lines, then lists links to its important pages, each with a short note. It is a 2024 proposal by Jeremy Howard, not a standard, and no major engine has confirmed using it.

The short answer

What does an llms.txt file look like in practice?

Think of it as a table of contents written for a machine. The file lives in the same place as robots.txt, at the root of the domain, but it gives no instructions. It introduces. A title line with the business name, a two-sentence summary, then lists of links to the pages that matter, each followed by a note saying what you will find there. Take a plumber in Victoriaville. Their file would say they do drain cleaning, water heaters and emergency calls, then point to the page for each service. An AI tool that reads it knows right away where to look, without digging through a menu, banners or JavaScript. The format is Markdown because language models read it well and because anyone can write it in Notepad in about an hour. That is all there is to it.

The origin

Where does the llms.txt format come from?

Jeremy Howard, co-founder of Answer.AI, published the proposal on September 3, 2024, on llmstxt.org. His point: a language model cannot take in a whole website at once, and a modern web page wraps a few useful paragraphs in a lot of code. Turning all of that into clean text is slow and often imprecise. A short file that is already plain text solves the problem at the source.

It is worth being honest about it. This is a proposal, not a standard. No standards body has adopted it, and no major platform has publicly confirmed using it to choose which sites to cite. So why publish one? Because it takes an hour, it does no harm, and some AI tools already read it. We keep ours up to date on oktosolutions.ca, in English and in French.

The facts, no hype

  • Proposed by Jeremy Howard of Answer.AI
  • Published on September 3, 2024, on llmstxt.org
  • Status: open proposal, not a standard
  • Only required part: the H1 title
  • Use confirmed by a major engine: none so far

The structure

What goes into an llms.txt file?

An llms.txt file follows a set order. At the top sits a first-level heading with the site’s name, the only part the proposal makes mandatory. Right below it comes a summary in a blockquote: one or two sentences on what the business does, for whom and where. Next, if you need it, free text with no heading, such as contact details, hours or languages of service. The core of the file is its second-level sections. Each one groups Markdown links to pages on the site, followed by a short note that describes the page. The last section is called Optional by convention, and it holds the links a tool can ignore when it is short on room. No HTML, no images, no tags. Just text anyone can read over.

# Plomberie Lavoie

1An H1 title with the name

The only required part. The name of the business or site, on the first line, after a single #.

> Residential plumber in Victoriaville…

2A summary in a blockquote

One or two sentences after the quote sign: what the business does, for whom and where. It is often the first line a tool keeps.

Phone: 819 555-0142.

3Free text, if needed

Paragraphs or lists with no heading: contact details, hours, languages of service. None of it is required.

## Services - [Water heaters](https://…): note

4H2 sections with links

Each section groups Markdown links. The format is the name in square brackets, the full address in parentheses, then a short note after a colon.

## Optional

5An Optional section

By convention, it holds secondary links that a tool can skip when it is short on room.

Example to copy

What does an llms.txt example look like for a small business?

Here is the complete file for a fictional business, Plomberie Lavoie, in Victoriaville. Copy it and swap in your own name, summary and links. The rest of the structure can stay as is.

llms.txt
# Plomberie Lavoie

> Residential plumber in Victoriaville, Quebec. Emergencies, water heaters, drain cleaning and bathroom renovations across the Bois-Francs region.

Phone: 819 555-0142. Email: info@exemple-plomberie.ca.
Hours: Monday to Friday, 7 a.m. to 5 p.m. Emergency service at any time.
Service in French and English.

## Services
- [Emergency plumbing](https://www.exemple-plomberie.ca/en/emergency/): leaks, water damage, frozen pipes
- [Drain cleaning](https://www.exemple-plomberie.ca/en/drain-cleaning/): kitchen and basement drains, camera inspection
- [Water heaters](https://www.exemple-plomberie.ca/en/water-heaters/): replacement, maintenance, electric or gas models
- [Bathrooms](https://www.exemple-plomberie.ca/en/bathrooms/): full renovations, showers, fixtures

## Company
- [About us](https://www.exemple-plomberie.ca/en/about/): the team, RBQ licence, service area
- [Contact](https://www.exemple-plomberie.ca/en/contact/): phone, email, request form

## Optional
- [Blog](https://www.exemple-plomberie.ca/en/blog/): seasonal maintenance tips
- [FAQ](https://www.exemple-plomberie.ca/en/faq/): lead times, warranties, areas served

Why it works

  • The summary gives the trade, the town and the region in one sentence
  • Every address is complete, with https
  • Each note describes the page, with no slogan
  • The blog sits under Optional

The name, phone number and web address are all fictional. The 555 number belongs to no one.

Three files, three jobs

llms.txt vs robots.txt vs sitemap.xml: what is the difference?

All three live at the root of the site, which is where the confusion comes from. robots.txt grants permissions. sitemap.xml lists the pages to crawl. llms.txt introduces the site to a reader who has no time to read it all. None of them replaces the other two.

robots.txtsitemap.xmlllms.txt
What it doesTells crawlers where they may goLists the pages to crawlPresents the site and points to its key pages
FormatText with User-agent, Disallow and Allow rulesXMLMarkdown text
Who reads itGooglebot, Bingbot and most AI crawlersGoogle and BingSome AI tools; nothing confirmed by the major engines
StatusStandard published in 2022 (RFC 9309)Protocol supported by Google and Bing2024 proposal, not a standard
If it is missingEverything is allowed by defaultCrawlers follow the links on the siteNothing breaks; tools read the pages instead

Watch out for one trap: if your robots.txt shuts an AI crawler out of the whole site, that crawler will not read your llms.txt either. The guide What is GEO? explains which crawlers to let through.

The long version

What is llms-full.txt for?

llms-full.txt is not part of the proposal’s text. It is a habit that spread through documentation platforms: a single file holding the full text of the pages, in Markdown, so a tool can read it in one go. The proposal itself suggests something else, a Markdown version of each page at the same address with .md added.

llms.txt

The short index

A few dozen links with their notes. This is the one every site should have first.

llms-full.txt

The full text

Useful for a site full of guides or documentation. Ours repeats the llms.txt, then adds the complete list of blog posts.

page.md

One version per page

The proposal’s idea: serve each page as clean Markdown. More work, best kept for large sites.

The method

How do you write an llms.txt file?

Plan on an hour for a small business site. Any text editor will do, Notepad included.

  1. Pick the pages that matterYour services, the about page, the contact page and the guides that answer your customers’ questions. Not the whole site: that is what the sitemap is for.
  2. Write the title, then the summaryUse the exact business name, the one on your Google Business Profile. The summary says what you do, for whom and in which region, in two sentences at most.
  3. Group the links into sectionsOne H2 section per family of pages. Each link gets a short note that says what the page covers, not a slogan.
  4. Put the secondary pages under OptionalThe blog, archives and legal pages. A tool in a hurry will know it can skip them.
  5. Save it in UTF-8 at the rootName the file llms.txt, in lowercase. It sits at the same level as robots.txt, so it answers at yoursite.ca/llms.txt.
  6. Check it, then keep it currentOpen the address and run it through the checker. Review the file whenever you add a service page or redesign the site: a dead link in an llms.txt looks careless.

Mistakes we see often

  • The /llms.txt address returns a web page, often the site’s error page with a 200 code
  • Relative links, or links with spaces, instead of full addresses
  • No summary, just a list of links
  • Links to pages that were redirected or removed in the last redesign
  • A summary that never mentions the region you serve

What the GEO checker tests in your llms.txt

  • The file exists, answers and is not a web page
  • The first line is a title that starts with #
  • A blockquote summary is present
  • It contains links, in a valid format
  • The number of links and sections, and the file size
  • The same reading for llms-full.txt

It does not open every link; that part is up to you. It also checks AI crawler access, structured data and passages that are easy to quote.

Test my site with the GEO checker

The check

How do you validate an llms.txt file?

Start by hand. Five checks, five minutes.

  • The yoursite.ca/llms.txt address answers with a 200 code, with no redirect to the home page.
  • The content type is text/plain or text/markdown, not text/html.
  • Accented letters display correctly, which means the file is encoded in UTF-8.
  • Every link opens a real page, not a 404 error or a redirect.
  • The site’s firewall or protection service does not block the file for crawlers.

The first two take a single command in a terminal:

curl -I https://yoursite.ca/llms.txt

Then run your site’s address through the free GEO checker. It reads the file, checks its structure and tells you what to fix.

By platform

How do you add an llms.txt on WordPress, Shopify or Wix?

It mostly depends on how much freedom the platform gives you at the root of the site. Whatever the tool, the test stays the same: open the /llms.txt address and see what it really returns.

WordPress

The llmstxt.org list names two plugins: Yoast SEO, which generates and maintains the file, and AIOSEO, which includes a generator. If you already run one of them, look in its settings before installing anything else. Otherwise, a file uploaded to the root by FTP does the job.

Shopify

Shopify is not on the llmstxt.org list. The platform does not let you drop a file just anywhere at the root of the store, so you go through an app or a redirect. Then check that the address answers as text, not as an HTML page.

Wix

According to llmstxt.org, Wix generates an llms.txt file for every site. Open the address and read what it says. A file produced automatically rarely describes your services as well as you would, so look in the SEO settings to see what you can change.

A custom site built with Astro, Next.js or by hand: the file goes in the public folder and ships with everything else. We do it on every site our website design team builds.

Does your llms.txt pass the test?

The GEO checker reads your file, AI crawler access and your structured data. Free, no sign-up. For a full look at the site, ask for the free website audit instead.

Check my llms.txt

Going further

Where does llms.txt fit in SEO, GEO and AEO?

llms.txt is one small piece of GEO, the work that helps a business get cited by AI tools. It is worth nothing without well-ranked pages and clear answers. These guides cover the rest.

All our tests are gathered on the free tools page: speed, security, Law 25 and GEO.

Questions and answers

Frequently asked questions about llms.txt

What is llms.txt?
It is a Markdown text file placed at the root of a website, at the /llms.txt address. It presents the business in a few lines, then lists links to its important pages, each with a short note. The format was proposed in September 2024 by Jeremy Howard on llmstxt.org.
Is there a free llms.txt checker?
Yes. The OKTO Solutions GEO checker reads a site’s /llms.txt file. It tells you whether the file exists, whether it is served as text rather than a web page, whether it starts with a title, and whether it has a summary and well-formed links. It also looks at llms-full.txt, AI crawler access and structured data.
How do I validate an llms.txt file?
Open the address in a browser. It should answer with a 200 status code, as text (text/plain or text/markdown), encoded in UTF-8. The first line should be a title that starts with #. Then click each link to make sure it works, and check that your firewall is not blocking the file. A validator such as the GEO checker tests the structure in one pass.
Is there a free llms.txt generator?
On WordPress, both Yoast SEO and AIOSEO offer one, and Wix generates a file for every site, according to the list published on llmstxt.org. A generator gives you a first draft. Read it over anyway: you know better than any plugin which pages best answer your customers’ questions.
What does an llms.txt example look like?
This page shows a complete file for a fictional plumbing business in Victoriaville: title, summary, contact details, service sections and an Optional section. You can copy it and replace the links with your own pages.
Does llms.txt help SEO?
Not directly. No search engine has announced that it uses the file to rank pages, and Google states that no special file is needed to appear in its AI Overviews. SEO still rests on pages that are indexed, useful and fast. The llms.txt comes on top of that, for the AI tools that read it.
Is llms.txt required?
No. It is a format proposal published in 2024, not a standard. No major platform has publicly confirmed using it to choose which sites to cite. It costs little to produce and may help some tools understand the site, but it does not replace clear content.
llms.txt vs robots.txt: what is the difference?
robots.txt gives instructions: it tells crawlers where they are allowed to go, and it is a standard the major engines follow. llms.txt blocks nothing and allows nothing: it presents the site and points to its key pages. An AI crawler blocked from the whole site in robots.txt will not read your llms.txt either.

See what AI crawlers read on your site

A free audit of your website: what Google, Bing and AI crawlers see, what is blocking you, what can be fixed quickly. The report arrives by email, reviewed by a specialist before it goes out.