llms.txt generator and validator
Build an llms.txt from your sitemap, or check the one you have against the proposal’s format.
llms.txt is a proposal, not a standard: a markdown file at /llms.txt with an H1 name, a short blockquote summary and H2 lists of links that point agents to your key pages. Google says Search ignores it, so it neither helps nor harms your Google rankings.
Edit the file here: rename sections, cut pages, sharpen descriptions. The check on the right updates as you type.
- Name (H1)
- Acme Analytics
- Summary
- Acme Analytics is product analytics for B2B SaaS teams: event tracking, funnels and retention, with a free plan for up to 1M events a month.
- Sections
- Pages · 2Docs · 3Optional · 2
- Size
- 788 B · 7 links
- Note: Line 16Has an Optional section: links an agent can skip when it needs a shorter context.
Pages in the example
- 200/pricing
- 200/security
- 200/docs/quickstart
- 200/docs/events
- 200/docs/funnels
- 200/blog/retention-benchmarks
- 200/changelog
How to use it
- 01Enter your domainThe generator reads the
Sitemaplines in your robots.txt, or/sitemap.xmlif there are none. It follows one sitemap index level and up to 10 child sitemaps. - 02Let it read your pagesIt fetches the title and meta description of your home page and up to 29 more, spread across sections, and skips paths your robots.txt disallows for it.
- 03Edit, then publishCut pages agents don’t need and sharpen the summary. Save the file as
/llms.txt, or under a path such as/docs/llms.txtto cover only that section.
To check a file you already have, switch to Validate and enter your domain, the file’s URL, or paste it.
The format
The proposal at llmstxt.org lists the sections in a fixed order. The validator checks each one.
| Section | Rule |
|---|---|
# Name | An H1 with the name of the site. "This is the only required section." |
> Summary | A blockquote with a short summary of the project. |
| Details | Optional markdown of any type except headings. |
## Section | H2 sections of file lists: - [name](url), then optionally : and notes. |
## Optional | By convention, links an agent can skip "when a shorter context is needed." |
Is it worth it?
It is cheap to publish and does no harm. Just don't expect it to move Google. Google's guidance on AI features says you can create one for other services, and:
“Doing so will neither harm nor help your site's visibility or rankings in Google Search, as Google Search ignores them.” Google Search Central
The proposal says thousands of sites publish one, and that it is used most heavily for software documentation, where coding agents follow it. Read the full llms.txt guide for when it pays off.
What people ask next
Do I need llms.txt to appear in AI Overviews or ChatGPT search?
Google says llms.txt neither helps nor harms Search visibility or rankings, and Google Search doesn't use it. OpenAI's and Perplexity's crawler docs describe bot access through robots.txt and don't say llms.txt affects search inclusion.
Can I put llms.txt in a subfolder?
Yes. The proposal says a file can sit at the site root or at any path, covering the URLs under that path, and that agents should use the most specific file when more than one applies.
Should I list every page from my sitemap?
No. The proposal calls llms.txt a curated overview for LLMs, while a sitemap lists all indexable pages. The file itself should stay small enough to fit in context, with the detail behind the links.
Should the links point to markdown pages?
The proposal suggests a clean markdown version of each page at the same URL, with .md appended or replacing the extension, and says links should point to LLM-friendly content. Plain HTML links are still valid in the format.
Every rule, linked and dated
- The /llms.txt file, v2 llmstxt.orgchecked 25 Oct 2026
- Optimizing your website for generative AI features on Google Search developers.google.comchecked 25 Oct 2026
- Overview of OpenAI crawlers developers.openai.comchecked 25 Oct 2026
- Perplexity crawlers docs.perplexity.aichecked 25 Oct 2026
Learn. Compare. Do.
llms.txt is optional. Being found is not.
The free audit checks AI visibility in ChatGPT, Perplexity, Gemini and Google AI Overviews, plus your robots.txt and sitemaps.
Audit my site free