Refiner Client sign inSign in Book a call
AI searchWebsite strategy

llms.txt and sitemaps: how to help AI assistants read your site

AI assistants can only cite what their crawlers can read. Here is what robots.txt, your sitemap and llms.txt each do, what the evidence says about llms.txt, and how we generate all three.

Cover for Refiner's guide to llms.txt and sitemaps: robots.txt, sitemap.xml and llms.txt, and what each does to help search engines and AI assistants read a website

AI assistants can only cite what their crawlers can read. Three small files at the root of your website shape what crawlers do: robots.txt says what they may visit, your sitemap lists what exists and when it changed, and llms.txt offers AI tools a summary. They aren't equally important. The pages themselves come first, a truthful sitemap second, and llms.txt a distant third.

We set up all three when we moved our website from Lovable to Claude Code, as described in our migration guide. This guide explains what each one does, what the evidence says, and how we keep ours accurate without touching them.

In this article · 09 sections
  1. 01Start with pages crawlers can read
  2. 02robots.txt: who may visit what
  3. 03A sitemap search engines can trust
  4. 04llms.txt: a summary for AI tools
  5. 05Generate all three, don't write them
  6. 06How to check yours
  7. 07Does Google use llms.txt?
  8. 08Do I still need a sitemap if my site is small?
  9. 09Should I block AI crawlers in robots.txt?
01

Start with pages crawlers can read

No file can make up for pages that crawlers can't read. In Vercel and MERJ's study of live crawler traffic, none of the major AI crawlers ran JavaScript. If your content only appears once a script runs in the browser, an AI crawler may get an almost empty page, whatever your sitemap says. Our guide to whether Lovable is bad for SEO explains how to check.

Our site is static HTML: every page is a finished file before anyone visits, so every crawler gets the same content as every person.

02

robots.txt: who may visit what

robots.txt sits at the root of your site and tells crawlers which areas they may visit. Ours is three lines long. It allows everything, blocks our signed-in client area, and points to the sitemap:

User-agent: *
Allow: /
Disallow: /collab

Sitemap: https://refineragency.com/sitemap.xml

Decide deliberately about AI crawlers. Some publishers block them, and some hosts offer to do it for you. Cloudflare, for example, has settings that manage AI crawlers for your whole domain. If you want to be cited in AI answers, check that nothing at your host is blocking the crawlers you want.

03

A sitemap search engines can trust

A sitemap lists every page you want found. Google's sitemap guidance is short and worth following exactly:

  • 01lastmod counts, if it's honest. Google uses the last-modified date only if it is consistently and verifiably accurate. It should reflect a real change to the main content, structured data or links, not the date you rebuilt the site.
  • 02changefreq and priority don't. Google ignores both.
  • 03Size limits. Up to 50,000 addresses or 50MB per sitemap. Bigger sites split it up.
  • 04Submit it in Search Console, and add a Sitemap line to robots.txt. A sitemap is a hint, not a guarantee that every page gets crawled.

Our sitemap is generated from the site's content every time the site is built, so a new page appears in it automatically. Its last-modified dates come from the real edit history in Git, so a page's date moves only when the page actually changes. A service page's date also moves when a case study shown on it is updated, because that changes what the page says. We list article images for image search, and there is a readable sitemap page for people too.

A sitemap date is only useful if it is true. Take last-modified dates from your real edit history, not from the day you rebuilt the site.
Share this
04

llms.txt: a summary for AI tools

llms.txt is a proposal by Jeremy Howard, first published in September 2024. It is a Markdown file at the root of your site with one required element, a heading with your site's name, and usually a short summary followed by sections of links with notes. A section headed "Optional" holds links an AI tool can skip when it needs less detail.

Be realistic about what it does. It is a proposal, not a standard. Google's guide to generative AI features in Search says you don't need llms.txt or other AI-specific files to appear in AI Overviews or AI Mode, and Google's John Mueller has said Google doesn't use llms.txt. Its main use so far is developer documentation: OpenAI, Anthropic and Google publish llms.txt files for theirs. Chrome's Lighthouse also checks for it, in an experimental audit for AI agents.

We publish one anyway, because it costs us nothing to keep up. Ours lists who we are, our key results and every page on the site with a one-line description. We also publish llms-full.txt, the full text of every service, industry, role, case study and article in one Markdown file, more than 100,000 words. Both are built from the same content as the pages, so they can't fall out of date. If yours has to be written and updated by hand, spend the time on your pages instead.

05

Generate all three, don't write them

The common thread is that none of these files should be maintained by hand. A hand-written sitemap forgets new pages. Hand-set dates drift from the truth. A hand-written llms.txt goes stale the first time you edit a service page.

If your site is built with Claude Code, ask it to generate each file from your content at build time, with dates from your Git history, and to write a check that fails if a page is missing from the sitemap. Ours also fails if a page marked "noindex" appears in it. Write the rules down in your CLAUDE.md file so they survive future changes.

06

How to check yours

  • 01Open /robots.txt, /sitemap.xml and /llms.txt on your site and read them.
  • 02In Search Console's Sitemaps report, check that your sitemap was read and how many pages were found.
  • 03Pick three pages you changed recently, and check their last-modified dates match the changes.
  • 04Look in your analytics for visits from AI assistants such as ChatGPT, Perplexity, Claude and Gemini. That is the real test of whether AI tools are reading and citing you.

If you'd like a second opinion, our AI SEO work starts with these checks. Book a call below.

07

Does Google use llms.txt?

No. Google's John Mueller has said Google doesn't use it, and Google's own guide says it isn't needed for AI Overviews or AI Mode. Some AI tools and agents may read it, but there is little public evidence of how many do.

08

Do I still need a sitemap if my site is small?

It helps. A sitemap with honest last-modified dates tells search engines which pages changed, so they can recrawl them sooner. For a small site, generate it from your content so it never needs maintaining.

09

Should I block AI crawlers in robots.txt?

Only if you don't want your content used by AI tools. Blocking them can stop AI assistants from reading and citing your pages. Check your host's settings as well, as some block AI crawlers for you.

Share the takeaway

“llms.txt won't get you cited by AI assistants on its own. Pages that crawlers can read, and a sitemap with honest dates, matter far more.”

Copy post gives you the takeaway and the link, ready to paste into LinkedIn.
Written byAlex Lawford, founderEvery article is written from the work itself: the briefs, the reporting runs, the conversations with sales teams.Meet the founder →
Cite this article

Lawford, A. (24 November 2026). llms.txt and sitemaps: how to help AI assistants read your site. Refiner Agency. https://refineragency.com/insights/llms-txt-and-sitemaps-for-ai-search

Refinement consultation

Can AI assistants read your website?

Tell us about your site. On a 30-minute call, we'll check what search engines and AI crawlers receive from it, and what to fix first.

  1. 01What crawlers actually receive from your pages
  2. 02Whether your sitemap tells the truth
  3. 03The fixes with the biggest effect on AI visibility

Not ready for a call? Answer three questions and Alex will email you a view.