llms.txt generator and validator
Check whether the llms.txt on your site has a valid format and working links, or prepare a first version of the file from your sitemap. You still choose the pages and check the descriptions yourself.
The generator does not know which pages matter to you. Choose them yourself, without login, cart and unfinished pages.
How the check works
- I fetch /llms.txt from the host of the address you enter, and for information also /llms-full.txt. I check the status code, content type (text/plain or text/markdown is recommended), UTF-8 encoding, BOM and size.
- I check the format against the llmstxt.org specification, version 2.1: the first line is a
#heading with the name (the only required element and the only#heading), then a>blockquote with a description, an optionalBase URL:line for relative links, any paragraphs, and##sections with lists of links in the format- [name](url): description. - I check links in batches of 12: status code, redirects and whether they point to another domain. For large files I check 48 links first and the rest on request, so as not to load your server.
- For the home page and links on the file's domain I check three ways of serving a Markdown version: the address with
.md(orindex.md), the response toAccept: text/markdown, and aLinkheader withrel="alternate"; type="text/markdown". On the home page I also check whether aLinkheader points to llms.txt withrel="describedby".
How the generator works
- I take the sitemap from robots.txt or from /sitemap.xml (up to 3 sitemaps from a sitemap index) and show the first 200 addresses grouped by the first path segment. Without a sitemap you can paste addresses manually.
- By default I select the home page and the 20 addresses with the newest lastmod date, and I deselect login, account and cart pages.
- For the selected pages I fetch the title, meta description, H1, canonical and noindex. Descriptions come from the meta description or from you; I do not write them with an AI model.
- I build the file in your browser, always in the same order: heading, blockquote, sections in the order of groups, and in each section the addresses in sitemap order. The same selection gives the same file, and links use full addresses.
What the tool does not check
- Whether anyone reads your llms.txt. Only server logs can show that; I write about it in my article on llms.txt.
- Whether descriptions match the content, prices and offer. That stays in the checklist for you to tick manually.
- The file's effect on visibility in search engines and AI assistants. The file is not a standard of any search engine, only a proposed format.
API for agents and scripts
GET https://narzedzia.rogala.pro/api/llms/sprawdz?url=<address>: file, format, list of links and Markdown versions of the home page.POST https://narzedzia.rogala.pro/api/llms/linkiwith{"adresy": [...], "domena": "file host"}: status of up to 12 links, and for links on the file's domain also their Markdown versions.GET https://narzedzia.rogala.pro/api/llms/mapa?url=<address>: up to 200 addresses from the sitemap.POST https://narzedzia.rogala.pro/api/llms/stronywith{"adresy": [...]}: title, meta description, H1, canonical and noindex of up to 15 pages.
Daily limits per IP address: 30 file checks, 10 file preparations from a sitemap and 300 batches of links or pages.
Privacy
I use no cookies and no analytics, and I do not store the addresses you check, the files or the results. For the limit I store a counter with a hash of your IP address that changes every day and a hash of the checked site's host name; the counters are deleted after 90 days. The file is built in your browser. Every request to your server carries the header X-Narzedzia-Rogala: 1.