llms.txt Generator & Validator
Validate your llms.txt file against the llmstxt.org format, or generate a ready-to-copy one from your sitemap.
ASK AI ABOUT US
How to use the llms.txt Generator & Validator
- Enter your domain. Type your domain, such as example.com.
- Run the check. The tool fetches /llms.txt, your sitemap (from robots.txt or /sitemap.xml) and the title and description of your homepage and top pages.
- Fix or publish. If you already have an llms.txt, fix the issues it lists. Otherwise copy or download the generated file, review it, and upload it to the root of your site as /llms.txt.
What is llms.txt?
llms.txt is a plain Markdown file at the root of a website, such as example.com/llms.txt, that tells AI assistants and agents what the site is and which pages matter most. It was proposed in 2024 as an easy, curated alternative to making AI tools crawl and parse every HTML page.
It is a proposal, not an official web standard. Some AI tools and agents read it, many do not yet, and it has no effect on Google rankings.
What a valid llms.txt file looks like
The llmstxt.org format is short. The file starts with an H1 holding the site or project name, which is the only required part. A blockquote (a line starting with >) follows with a one-sentence summary.
After that come ## sections, such as ## Docs or ## Products. Each section lists links in the form - [Page name](https://example.com/page): a short description. A section called ## Optional marks links an AI tool can skip when it is short on context.
How the generator builds your draft
It reads the sitemap listed in robots.txt, or /sitemap.xml, and falls back to links on your homepage. URLs are grouped by their first path segment, so /blog/... pages become a ## Blog section. Up to 6 sections with 4 links each are kept, shallow pages first.
Each link uses the page's own title and meta description. Review the draft before you publish it: reorder sections, drop pages that do not help, and rewrite descriptions so they say what each page answers.
More free tools and resources
llms.txt Generator & Validator: frequently asked questions
Common questions about the llms.txt Generator & Validator.