◎AEOTools
Access & measurement

llms.txt Checker: How to Validate Your llms.txt File

Use an llms.txt checker to validate reachability, Markdown structure, links and summaries, catch robots.txt conflicts, and fix the failures AI crawlers hit.

8 min readStep-by-stepRun the free AI visibility check →
On this page

An llms.txt checker validates whether the llms.txt file at the root of your site can actually be fetched, parsed, and trusted: that it returns successfully at the expected URL, follows the proposed Markdown structure, links to pages that resolve, describes those pages accurately, and does not contradict your robots.txt rules. That sounds like a small job, and it is — but it is also where most llms.txt files quietly fail. A file that exists in your repository, or that looked right in a generator preview, can still return a 404 in production, sit behind a redirect to your homepage, list URLs that moved months ago, or summarise a pricing page with numbers you no longer charge. Checking is how you find that out before a crawler does.

One honesty note before the mechanics. llms.txt is a community proposal for giving language models a curated map of a site, not a standard every AI system has adopted, and not a ranking signal anyone has promised to reward. Some tools and crawlers read it; many do not. Publishing a correct file is cheap hygiene with plausible upside. Publishing a broken or misleading one is worse than publishing nothing, because the whole point of the file is to be a trustworthy shortcut. If you are new to the format, read what is llms.txt first, then come back here to validate what you ship.

What should an llms.txt checker verify?

A useful check covers five layers, in this order, because each layer only matters if the one before it passes.

1. Reachability. The file lives at the root of the domain — https://example.com/llms.txt, not in a subfolder, not only on a staging host, and not only on the www variant while your canonical site is the bare domain (or the reverse). It should return HTTP 200 directly, with a plain-text or Markdown content type, without requiring authentication, cookies, or JavaScript. A redirect chain that ends at an HTML error page with a 200 status is a failure wearing a success costume.

2. Structure. The proposal expects Markdown: a single H1 with the site or project name, an optional blockquote summary, optional explanatory paragraphs, then H2 sections containing lists of links in the form - [Page title](https://example.com/page): short description. A checker should flag a missing H1, multiple H1s, links that are not in list items, relative URLs where absolute ones are expected, and HTML pasted into a file that claims to be Markdown.

3. Link integrity. Every listed URL should resolve to a live page — ideally a direct 200, not a redirect, and certainly not a 404, a soft-404, or a login wall. Links should point at canonical URLs, use HTTPS consistently, and avoid tracking parameters that make the same page look like several different ones.

4. Summary accuracy. Each description should still describe the page it links to. This is the check automated tools do worst and humans do best: prices, product names, feature claims, and "free" versus "paid" wording drift as the site changes. A summary that was accurate at launch can become misinformation within a quarter.

5. Consistency with robots.txt. The file invites AI systems to read your important pages. If robots.txt blocks the crawlers that would follow those links, or blocks the linked paths themselves, the two files are arguing with each other. Decide which instruction you mean, then make both files say it.

How do I check my llms.txt file manually?

You do not need a dedicated tool for the first pass. Three commands and ten minutes of reading cover most of it.

Start with reachability and headers:

curl -I https://example.com/llms.txt

You want a 200 status and a text content type. If you get a 301 or 302, follow it with curl -IL and ask why the canonical location of the file is not the root URL itself. If you get a 403, your firewall, bot rules, or hosting configuration may be treating the request as suspicious — test again with a browser-like user agent, and then test with the user agents of the AI crawlers you actually care about, because a file that only humans can fetch defeats its purpose.

Then read the file exactly as a machine would:

curl -s https://example.com/llms.txt

Read it top to bottom, not as the author but as a stranger. Is the H1 your real name? Does the blockquote summary say what you do in one or two sentences, without slogans? Are the sections organised the way a visitor would group your pages — documentation, pricing, key guides — rather than mirroring your internal org chart? Is anything listed that you would not want quoted back to a buyer?

Finally, test every link. For a small file, click them. For a larger one, extract and probe them:

curl -s https://example.com/llms.txt | grep -oE 'https?://[^)]+' | while read url; do
  code=$(curl -o /dev/null -s -w '%{http_code}' "$url")
  echo "$code $url"
done

Anything that is not a clean 200 deserves a decision: update the URL to its canonical destination, or remove the entry. Redirects are not fatal, but a curated map should point at final destinations, not at forwarding addresses.

What are the most common llms.txt failures?

The same handful of problems account for most broken files.

  • The file is not at the root. It was uploaded to a subfolder, generated into a build directory that never deploys, or exists only on one host variant. Check the exact URL a crawler would guess.
  • A catch-all route swallows it. Single-page-app rewrites and CMS fallback rules often return the homepage HTML for every unknown path, including /llms.txt. The status is 200, the content is a web page, and nothing parses. This is the single most deceptive failure, which is why reading the body matters more than checking the status code.
  • Stale links. Pages get renamed, merged, and retired. Every dead link in the file is a small argument that the file cannot be trusted.
  • Summaries that oversell. Descriptions written as marketing copy — superlatives, unverifiable claims, outdated prices — invite a model to repeat things you would not put on the page itself. Write descriptions you would be happy to see quoted verbatim.
  • Everything is listed. A file with hundreds of links is a sitemap with worse tooling. The value of llms.txt is curation: the pages that best explain what you are and what you offer. If a page would not help a system answer a buyer's question, leave it out.
  • Robots.txt says the opposite. Inviting AI crawlers in llms.txt while blocking them in robots.txt — or the reverse, blocking in llms.txt prose while robots.txt allows everything — creates ambiguity that different systems resolve differently. Note that llms.txt itself has no access-control force; robots.txt and your server rules are what actually govern crawling.
  • The file never gets updated. It is generated once at launch and forgotten while the site evolves. Put it on the same review cadence as your pricing page.

How often should I re-check llms.txt?

Re-check after any change that touches URLs, pricing, product names, or crawler policy — a redesign, a migration, a rebrand, a new robots.txt rule. Beyond that, a quarterly pass is proportionate: fetch the file, probe the links, re-read the summaries against the live pages. Ten minutes, four times a year, keeps the file honest. If you generate the file from your content system, validate the generated output in production rather than trusting the generator, because deployment is where the catch-all routes and host-variant problems live. Our guide on how to generate an llms.txt file covers generation, and the llms.txt file example shows a structure worth copying.

What can AEOTools check for you?

AEOTools treats llms.txt as one part of a wider readiness picture. The free tier needs no account and covers 39-check page diagnostics, crawler simulation — seeing your pages the way different AI crawlers see them — and generators for llms.txt and schema fixes, which you can reach through the fix module. Generate or repair the file there, deploy it, then run the manual checks above against the live URL; generation and validation are different jobs, and only the second one proves anything. If you want ongoing AI-answer sampling as well, Pro is $19/month or $210/year. For a broader view of what the tool category offers, see our best AEO tools comparison.

FAQ

▸Where should llms.txt be located?

At the root of your domain: https://example.com/llms.txt. Check both the bare domain and the www variant, and make sure the version on your canonical host returns the file directly with a 200 status rather than a redirect or an HTML fallback page.

▸Does an llms.txt file improve AI rankings?

There is no evidence it guarantees mentions, citations, or rankings in any AI system. llms.txt is a proposal some tools read and many ignore. A correct, curated file is low-cost hygiene that may help systems find your best pages; treat any promise of guaranteed visibility from it as a red flag.

▸How do I know if my llms.txt links are broken?

Probe every URL in the file and look for anything that is not a direct 200. The curl loop in this guide extracts all links and prints each status code. Update redirected links to their canonical destinations and remove or replace dead ones.

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

robots.txt governs whether crawlers may fetch your pages; it is an access instruction with real force. llms.txt is a curated Markdown map of your most important pages with summaries, offered as guidance for language models. The two should agree: do not invite AI crawlers in one file while blocking them in the other.

Related tutorials

Browse all tutorials →