A working llms.txt file has to clear three bars at once. The words have to be in the right shape. The file has to reach an outside reader as plain text. And what it says has to still be true about your business. One bar passing tells you nothing about the other two, so test them separately, and fix the bar that fails.
llmstxt.org maintains the file as a community proposal. It is not a web standard, and no standards body has ratified it. The proposal itself offers one way to judge the file: hand an agent only your llms.txt file and ask it questions about your business. If the answers come back accurate and complete, the file explains your business well. That is a test of clarity. It is not proof that any engine picks up the file on its own, and this guide treats it that way throughout.
Start with truth, not with the server
Most people start by checking whether the file loads. Start instead by checking whether it is still true, because a file that loads perfectly and says the wrong things does more harm than a file that is missing.
Read the summary at the top. Does it still describe what you sell, who buys it, and where you ship. If you stopped shipping to a region, dropped a product line, or closed a shop, the summary needs to change first, because it is the paragraph an assistant reads first.
Then open the links, highest value first. Collections, guides, policies. Does each address still load. Does the page it lands on still say what your link note claims. A renamed collection, a rewritten guide, or a changed return window all make the file stale. A stale file teaches an assistant about last season, and a dead link in this file hurts more than a missing one, because the file only works when it can be trusted.
Then check the shape
With truth settled, look at the shape of the text itself, against the shape the proposal defines.
You need one H1, and only one, with your business name. The summary belongs directly after it, as a blockquote, one short paragraph. After that comes extra detail with no headings in that part. Then H2 sections of links, each item a link title, an address, and a one line note about what sits behind it. A section called Optional holds the secondary links an assistant can skip when it is short on room.
A link with no note is a weak link in practice. The note is what makes the file useful, because it tells the assistant why that page matters without opening it. A file full of bare addresses is only a list, and a list is what a sitemap already does.
Now check whether an outsider can fetch it
A file that is true and well shaped can still fail live. Fetch it the way someone who is not you would fetch it.
Type the address into a browser, with your own domain in place of the example:
https://yourdomain.com/llms.txt
You want your Markdown, served as plain text. A 404 says the file is in the wrong place or a redirect is pointing the wrong way. A login screen says the file sits behind authentication, and no outside reader can use it.
A browser test alone will fool you, because a browser will happily show a fallback page and make a broken file look fine. So check the same address from a terminal:
curl -I https://yourdomain.com/llms.txt
You want a 200 status and a text/plain content type. Then look at the body itself:
curl https://yourdomain.com/llms.txt
The first line should be your H1, a hash sign followed by your business name. When the body opens with an HTML tag instead, your site is handing out its HTML shell with a 200 status, and the file is not really being served. Single-page sites fall into this trap often: the status looks healthy, and the body is useless to an assistant.
Watch redirects too. A short hop to the right place is survivable. A hop to a login page, to the homepage, or to another domain means the reader asked for the file and did not get it.
Check the gatekeepers last
Two gatekeepers can hide a file that is true, well shaped, and served correctly. The first is robots.txt. The file should be open to every crawler, including the AI-specific ones. When your robots.txt blocks it, the file is visible to you and invisible to the readers it was written for.
The second is your bot protection layer. It can challenge outside readers while letting your own browser straight through. Test as a stranger, not as the owner. When a browser fetch and a terminal fetch give different answers, treat that difference as a failure until you decide it is what you meant.
A coffee roaster that looked fine and was not serving anything
Take a coffee roaster, Copper Cup Roasters, that publishes an llms.txt file and checks it in a browser. The page loads. The Markdown looks right. The status reads 200. The roaster moves on, confident the file works.
From a terminal, the story changes. The body opens with an HTML tag, not with the H1. The roaster runs on a single-page setup, and that setup answers every address with its HTML shell, stamped 200. The browser showed the shell and hid the problem. The file was never served at all.
The repair belongs on the serving side, not in the text. The file has to come back as plain text from the root, with a 200 status and a text/plain content type, and the body has to open with the H1. After that repair, the roaster runs the truth checks again, because a file that was never served has never been checked for truth either.
Use the agent test for clarity, not for proof
Now try the test the proposal suggests. Give an agent only your llms.txt file and ask it questions about your business. When it cannot answer a question the file should cover, a section is missing, or a note is too thin. When its answers are accurate and complete, the file explains your business well.
That is as far as the test goes. Asking a model a question about your business does not show that it read your file, because a model can answer from training, from other pages it has read, or from live search. The checks you can verify are the ones in this guide: the file loads with a 200 status, the body is plain text, the links work, and, where your server logs are available, crawler requests for the file show up in them. A log entry is evidence that the file was requested. It is not evidence that the request turned into an answer.
What counts as passing
A file passes when it has one H1, a short summary right after it, H2 sections of links with notes, and an Optional section for secondary links. It loads at your llms.txt address with a 200 status and a text/plain content type, and the body opens with your H1, not with HTML. Every link works, every note still matches the page it points to, and robots.txt does not block the file.
A file fails in one of a few familiar ways: a 404, a login screen, an HTML shell stamped 200, a second H1, links with no notes, dead links, or a summary that no longer describes the business. Repair the failure where it lives. Text problems get fixed in the text. Serving problems get fixed in how the file is served. Truth problems get fixed by updating the file to match the business.
Run the full round again after every change to the file, and again after every catalog change. There is no place to submit the file, no console to register in, and no ping to send, so nothing will warn you when it goes stale. You have to look yourself.
What this guide leaves out
Testing the file is one page of a larger job. Your catalog drifts, the way assistants behave changes, and being readable is not the same as being recommended, and being recommended is not the same as being bought from. That wider job is what monitoring and a full audit exist for.
Frequently Asked Questions
My file loads in a browser. Is that enough?
No. A browser will happily show a fallback page and make a broken file look fine. Check the body from a terminal as well, and make sure it opens with your H1, not with HTML.
What does a 200 status prove?
Only that the server answered. It does not prove the body is your file. A single-page site can answer every address with its HTML shell stamped 200, so look at the first lines of the body, not just the status.
How do I know if an AI engine actually reads my file?
You cannot prove that from your side. The checks you can verify are that the file loads with a 200 status, the body is plain text, the links work, and, where your server logs are available, crawler requests for the file show up in them.
How often should I re-test it?
After every change to the file, and again after every catalog change. There is no place to submit the file, so nothing will warn you when it goes stale.
Verified Sources & Technical Documentation
links marked specific point to the page that supports the claim in this guide. Links marked general docs point to the vendor's general docs section for that topic, not to a page that proves every step. Check the vendor docs for the current path before relying on a menu name or click path in this guide.