llms.txt: What It Is, Whether You Need One, and How to Generate It Free
What llms.txt is, an annotated example, an honest take on whether you need one, and how to generate a valid file free and publish it in about ten minutes.
If you have started reading about AI search, you have probably run into llms.txt and a fair amount of confusion about whether it matters. This is a plain-English guide: what the file is, what a real one looks like, an honest take on whether you need one, and how to generate a valid file for free in about ten minutes.
What is llms.txt?
llms.txt is a markdown file you place at the root of your site, served at yourdomain.com/llms.txt. Its job is to give AI assistants a curated, human-readable summary of your site and a list of your most important pages, so that when a model reads or represents your site it works from a clean map rather than guessing from your navigation and footer. The idea, proposed at llmstxt.org, is deliberately close to a sitemap: a sitemap tells search engines which URLs exist, and llms.txt tells AI assistants which pages matter and what your site is about.
It is plain markdown, not a special format, which means you can read it, write it, and edit it by hand. It is easy to confuse with robots.txt, but they do opposite jobs: robots.txt controls which crawlers may fetch your pages, while llms.txt describes what your site is about once they can. The llms.txt vs robots.txt guide untangles the two.
What does an llms.txt file look like?
A minimal, valid file is just a heading and a summary. A more useful one adds a list of your key pages:
# Acme Marketing
> Acme Marketing is a Bristol agency that builds and audits high-converting websites for B2B SaaS companies.
## Pages
- [Services](https://acme.com/services): SEO, paid, and conversion work for SaaS teams.
- [Case studies](https://acme.com/case-studies): Results from recent client engagements.
- [Pricing](https://acme.com/pricing): Retainer and project pricing.
- [Contact](https://acme.com/contact): Book a call or send a brief.
The rules are light. Start with a single # heading naming your site. Add an optional > blockquote summary in a sentence or two. Then list your important pages as markdown links, each with a short description. That is a valid file.
Do you actually need an llms.txt file?
Here is the honest version, because the topic attracts a lot of hype. llms.txt is an emerging convention, not a settled, universally-supported standard. Adoption across AI vendors is still early and uneven, and publishing one is not a guarantee that any particular assistant will read it or cite you more often. Anyone promising otherwise is overselling it.
So why bother? Because the cost is close to zero and the downside is none. A single small markdown file, published once, is a clear signal of what matters on your site, and it costs you nothing if adoption grows. Think of it the way early sitemaps were treated: cheap insurance and a tidy signal, not a magic ranking lever. If you want to be well-positioned for AI search without betting the farm on it, a llms.txt file is a sensible ten-minute job. If you are looking for the single highest-impact AI-visibility fix instead, it is usually making sure your CDN is not blocking AI crawlers outright, which we cover in the AI search visibility audit guide.
How do you generate an llms.txt file for free?
You can write one by hand from the example above, or you can generate a starting point from your own pages in a few seconds. Our free llms.txt generator crawls your key pages and builds a valid file from your titles and meta descriptions. It is deterministic, not AI-written, so the output is predictable and yours to edit: what you see is what you publish. Enter your homepage, preview the file, and get the full version emailed to you.
Once you have a file, treat the generated version as a first draft. Tighten the summary line so it describes your site in your words, reorder the list so your most important pages come first, and remove anything you would rather assistants did not lead with.
How do you publish and check it?
Publishing is the same as adding any static file to your site:
- Save the text as a file named exactly
llms.txt. - Upload it to your site root so it is served at
yourdomain.com/llms.txt. - On most platforms that means the public or static folder; on a CMS, use a redirect or a static-file feature.
- Confirm it loads in a browser at that URL.
Then verify it. Run the free llms.txt checker to confirm the file is valid, its links resolve, and, just as importantly, that AI crawlers are not being blocked from reaching your site at the network level. A perfect llms.txt file does nothing if your CDN returns a 403 to every AI bot, so checking both together is the sensible last step.
That is the whole ten-minute version: understand what the file is, generate a valid draft, edit it into something that represents you well, publish it at your root, and check it. Low effort, no downside, and a tidy signal for the AI search channel as it grows.
FAQ
Is llms.txt the same as a sitemap?
Not quite. A sitemap is XML that lists every URL for search engine crawlers. llms.txt is markdown that gives AI assistants a short, curated summary of your site and only your most important pages. They rhyme in spirit but serve different readers.
Will publishing llms.txt improve my Google ranking?
No. llms.txt is aimed at AI assistants, not Google's ranking algorithm, and adoption is still early and uneven. Treat it as low-cost insurance for the AI search channel, not a ranking lever.
Where should llms.txt live?
At your site root, served at yourdomain.com/llms.txt, exactly like robots.txt. Upload it to your public or static folder, or use your CMS's static-file feature.
How long should an llms.txt file be?
Short. A single H1 with your site name, a one or two sentence summary, and a curated list of your most important pages. Leave out low-value pages; the point is a clean map, not a full index.
Crawl your site and build a valid, ready-to-publish llms.txt in seconds - then verify it and the rest of your AI visibility with a free audit.
Related guides
AI Visibility explained
How ChatGPT, Claude, and Perplexity read your site, plus the free nine-check scanner.
llms.txt vs robots.txt
What each file controls, and why one is not a substitute for the other.
AI Search Visibility audit
The full 9-point AI Visibility (GEO) checklist and how AuditZap scores each signal.
AI crawler access
Which bots to allow, and how a CDN can block them even when robots.txt allows them.
How to get cited by AI
Schema, structure, and freshness signals that make your content quotable.
Generate your llms.txt free
Crawl your site and build a valid llms.txt in seconds.
Best AI website audit tools
How AI-readiness auditors compare, and where AuditZap fits.