Skip to content

AI search

What is llms.txt, and does your site need one?

A cover note for machines.

What is llms.txt? It's a plain-text file, written in Markdown, that sits at the root of a website and gives AI tools a short summary of the site plus links to its most useful pages.

It was proposed in 2024, at llmstxt.org, as a way to help language models find the important parts of a site without wading through menus, scripts and adverts. It's cheap to add and helps some tools, but it isn't a ranking factor, and none of the major assistants has said it reads one when answering questions.

Josef Winstone, Founder & Managing Director, Foundry Agency

By Josef WinstoneFounder & Managing Director · 7 min readUpdated

What is llms.txt?

It's a short Markdown file at the root of your site, at /llms.txt, that tells AI tools what your site is and where the useful pages are.

Think of it as a cover note for machines. A person visiting your site gets the design, menus and images. A language model reading llms.txt gets a clean summary: your name, a short description, and a list of links to the pages that matter, each with a line saying what's there.

The idea was proposed in September 2024 by Jeremy Howard of Answer.AI, and the format is published at llmstxt.org. It's an open proposal rather than an official standard. Nobody has to support it, and nothing checks it.

What goes in an llms.txt file?

A title, a short summary and lists of links. Only the title is required. There's a short example further down this page.

  • An H1 with the name of the site or business. This is the only required part.
  • A blockquote with a short summary: what you do, who for and where.
  • Optional paragraphs or bullet points with key facts.
  • H2 sections, each a list of Markdown links with a short note on what each page covers.
  • A section headed "Optional" for links a tool can skip when it's short of space.

Does llms.txt help you rank or get recommended?

Not directly. It isn't a ranking factor in Google or Bing, and none of the major AI assistants has said it reads llms.txt when it answers a question.

ChatGPT, Claude, Gemini and Perplexity find businesses by searching and reading pages. They don't need an llms.txt to do that, and a good one won't make up for unclear service pages, missing prices or a blocked crawler.

Where it does help is with tools that look for it. Its clearest use today is in developer tools, where people point an AI coding assistant at a project's llms.txt to load its documentation. Some AI tools and agents check for one when they visit a site, so it's a small bet that costs very little.

Is llms.txt the same as robots.txt?

No. robots.txt tells crawlers what they may and may not fetch. llms.txt only describes your site. It can't block or allow anything.

If you want to control which AI crawlers read your site, that's still done in robots.txt, using names such as OAI-SearchBot, GPTBot, Claude-SearchBot and Google-Extended. An llms.txt file is only read, if at all, once a tool has been let in.

What's in Foundry's own llms.txt?

Our file at foundryagency.co.uk/llms.txt sums up the business in plain text, and points to a longer file at /llms-full.txt with the detail. Both are generated from the same content files as the website, so they can't drift out of date.

The short file opens with our name and a one-sentence description of what we do. Then come our key facts: who runs the business, the team, our address, phone and email, the areas we serve, our averages, our website price, how to start, and our headline client results. Under that sit sections for each service group, with a link and a one-line description for every service, then our case studies, area pages, company pages and an optional section.

The full file repeats those facts, then goes through every service, area and case study page in turn: its heading, URL, summary, At a glance facts and FAQs. llms-full.txt is a common companion that many sites use, though it isn't part of the original proposal. Anything we haven't confirmed is left out of both files, the same rule as the website.

Does your site need an llms.txt?

It's worth adding if you can keep it accurate. It isn't worth paying for on its own, and it's never a priority over clear pages.

Add one if you have documentation, a product people build on, or a lot of pages where the useful ones are hard to spot. For a small service business, a short file with your facts and main pages is plenty. The bigger risk is a file that goes stale: if it lists an old service or a closed office, it's worse than none. That's why ours is generated, not written by hand.

How do you write an llms.txt, step by step?

Six steps, about an hour for most small sites.

  1. Write a short description of the business: what you do, who for, where, and how to start.
  2. List your key facts as short bullet points: services, areas, "from" prices where you have them, turnaround and contact details.
  3. Pick the pages that matter: services, pricing, case studies, about and contact. Skip archives, tag pages and anything thin.
  4. Write a Markdown link for each, with a short note on what the page covers, grouped under H2 headings.
  5. Save it as plain text at the root of your site, so it loads at yourdomain.co.uk/llms.txt.
  6. Check it whenever prices, services or contact details change, or generate it from your content so it updates itself.

What does a minimal llms.txt look like?

Here's a short example for a made-up plumbing business. Copy it and swap in your own details, or use our free template and generator.

llms.txt
# Hollis Plumbing & Heating

> Plumbing and heating engineers covering Leicestershire. Boiler servicing, repairs and bathroom fitting for homeowners and landlords.

Key facts:
- Based in Leicester. Covers a 20-mile radius.
- Gas Safe registered.
- Boiler repairs booked within the same week.
- Book online or call 01632 960000.

## Services
- [Boiler servicing](https://www.example.co.uk/boiler-servicing/): annual service and safety check
- [Boiler repairs](https://www.example.co.uk/boiler-repairs/): repairs on most makes
- [Bathroom fitting](https://www.example.co.uk/bathrooms/): design, supply and fit

## Company
- [About us](https://www.example.co.uk/about/): who we are and where we work
- [Contact](https://www.example.co.uk/contact/): phone, email and booking form

## Optional
- [Advice](https://www.example.co.uk/advice/): guides on boilers and heating

How does Foundry use llms.txt?

We add an llms.txt and an llms-full.txt as part of our AI SEO work, generated from the same content as the pages so the facts always match.

But we treat it as a finishing touch. What gets businesses named is clear service pages, "from" prices, structured data, open crawler access, consistent listings and coverage on other sites. That's where most of the work goes.

If you want assistants to act for your customers as well as read about you, an MCP connector is the next step.

Our averages. Not our best days.

Our averages

  • 5days

    Website, kick-off to live

  • 20mins

    Average reply time

llms.txt FAQs

  • Jeremy Howard of Answer.AI proposed it in September 2024. The format is published at llmstxt.org, and anyone can use it.

  • Google hasn't said it uses llms.txt in Search. AI Overviews draw on pages crawled by normal Googlebot, so your pages matter far more than the file.

  • OpenAI hasn't said ChatGPT uses it. ChatGPT search reads your pages through OAI-SearchBot, so an llms.txt is a bonus, not a requirement.

  • llms.txt is a short summary with links. llms-full.txt puts the detail in one file, so a tool can read it without following links. The full file isn't in the original proposal, but many sites publish one.

  • Not in search. A stale one can give tools the wrong facts, so keep it up to date. And it's public, so never put anything in it you wouldn't put on your website.

  • At the root of your domain, so it loads at yourdomain.co.uk/llms.txt, served as plain text. One file covers the whole site.

  • Not on its own, and nobody can guarantee a recommendation. Assistants name businesses whose facts are clear and consistent across the web. The file is a small help on top of that work.

Want AI tools to read you right? Get moving.

Tell us what you need. We'll reply within the hour (working hours), and most websites go live about 5 days after kick-off.

We'll reply within the hour (working hours).

Or email hello@foundryagency.co.uk

Analytics cookies are off until you accept. We use them to see which pages help. Cookie notice