Free llms.txt Generator
Build an llms.txt file from your sitemap in seconds, or validate one you already have. No sign-up required.
How to create an llms.txt file
This free llms txt generator reads your sitemap, groups the pages into sections, and renders them in the format documented at llmstxt.org. You get a file to download and edit rather than something to publish unread.
1. Point it at your sitemap
Enter your domain and the tool looks for /sitemap.xml, or paste a sitemap URL directly. Sitemap index files are followed one level down.
2. Get a grouped file
Pages are grouped into sections by the first part of their URL and rendered in the llmstxt.org format, ready to download.
3. Or validate what you have
Switch to validate mode and paste an existing file. It checks the structure the format requires and separates real errors from things that are merely recommended.
Does anything actually read llms.txt?
Worth answering before you spend time on it, and the honest answer is that there is no public evidence any major AI provider reads it. OpenAI, Anthropic and Google have not committed to supporting the format and none documents it as a signal. It is a community proposal from 2024 that plenty of sites have adopted and the models have not.
So why offer the tool at all? Because the cost is close to zero and the downside is nil. Publishing a short curated file takes minutes, breaks nothing, and if adoption does arrive you are already there. That is a reasonable bet. What is not reasonable is the claim, common in this corner of the market, that an llms.txt will improve your rankings or get you cited. Nothing supports that.
If your goal is being cited by AI assistants, the thing that demonstrably works is the same thing that works for search: pages that answer a real question better than the alternatives, written clearly enough to quote.
The llms.txt format, and an example
The llms txt format is markdown with a specific shape. A valid file looks like this, and the llms-txt example below is what the generator produces:
# Example Site > A one line summary of what this site is and who it serves. ## Docs - [Getting started](https://example.com/docs/start) - [Configuration](https://example.com/docs/config) ## Blog - [Why we built this](https://example.com/blog/why)
- One H1. The site name. This is the only genuinely required element.
- A blockquote summary. Optional, but it gives a model the context to use everything below it properly.
- H2 sections of links. Each link written as a markdown link, with an optional note after a colon.
- An Optional section. Anything under an H2 headed Optional can be skipped by a model working to a shorter context.
There is also llms-full.txt, a separate file holding your actual page content in markdown rather than a list of links. This tool builds the index rather than the full file, since a full file needs to be generated by your build to stay in step with your content.
Generate, then cut it down
The generated file is a starting point, not something to publish unread. A sitemap lists everything, and the entire value of an llms.txt is that it does not: it is meant to be the short list of what matters. A file containing 300 URLs is just a worse sitemap.
Before publishing, cut it to the pages you would actually want quoted. Documentation, your best explanatory posts, the pages that describe what you do. Add a short note after each link explaining what it covers, since that is the part a model uses to decide whether to fetch it. Then save it in your site root so it resolves at yoursite.com/llms.txt.
Frequently asked questions
What is llms.txt for?
Does llms.txt actually work?
Is llms.txt mandatory?
What should be in an llms.txt file?
How do I create a full LLMs.txt file?
What is the llms.txt format?
Where do I put the llms.txt file?
How is llms.txt different from robots.txt?
Will llms.txt help my SEO?
Millions of people will ask AI about your category this week
RankSpot researches, writes and publishes daily, and sends you the short list of what's left. Free for 3 days.
Start free trial
