Free llms.txt generator and validator
An llms.txt file is a short markdown guide at the root of your site that tells AI agents what the site is and which pages to read. Enter your domain and this tool drafts one from your sitemap, in the format the llmstxt.org v2 spec defines, ready to edit and download. Already have one? Switch to Validate to check your live file.
Enter your domain. We read your sitemap, pick the main pages, and fill in the form with each page's title and description.
Paste sitemap XML or one URL per line, for a site we can't read or a list you already have. This part runs in your browser.
# Your site name
- warning · line 2No blockquote summary after the H1. Add a "> " line with the key facts an agent needs before it reads anything else.
The llms.txt format, part by part
The spec fixes the order so a program can parse the file as well as a model can read it. The validator above checks each of these.
| # Name | Required. One H1 with the site or project name. Nothing comes before it. |
| > Summary | A blockquote with the key facts an agent needs to make sense of the rest of the file. |
| Details | Optional paragraphs or lists with more context. No headings in this part. |
| ## Section | Zero or more H2 sections, each holding a list of links. |
| - [Title](url): notes | Each list item is a markdown link, optionally followed by a colon and a note on what is there. |
| ## Optional | By convention, links an agent can skip when it needs a shorter context. |
Want a real example? Ours is at rankscope.ai/llms.txt.
How to publish your llms.txt
- Upload it to your site root, the same folder as robots.txt, so it loads at
https://yoursite.com/llms.txt. On a static site that is usually thepublicfolder. - Use a subpath if you only control part of a site. v2 lets a file live at a path like
/docs/llms.txt, where it covers only the pages under it. - Point pages at it. v2 adds a link relation so agents can find the file from any page:
<link rel="describedby" href="/llms.txt">, or the same thing as an HTTPLinkheader. - Keep it short and current. It is a curated guide, not a sitemap. Link the pages an agent needs, and update the file when those pages or your key facts change.
Does llms.txt help your AI visibility?
Not in Google. Google's guide to optimizing for generative AI features says Google Search does not use llms.txt, and that the file will neither help nor harm how you appear in Search, AI Overviews and AI Mode included.
What the spec is built for is agents reading a site on demand: a coding assistant fetching documentation, or a chat assistant looking up a product while it answers. The spec notes that OpenAI, Anthropic, and Google (for Gemini) publish llms.txt files for their own developer docs. If agents use your site that way, an llms.txt is a cheap way to point them at the right pages.
Whether AI search engines actually cite you is a separate question, and no file answers it. That takes running real prompts. Our free AI visibility checker does that across ChatGPT, Google AI Overviews, Google AI Mode, and Perplexity, and the GEO checklist covers the work that does move citations.
Crawler access is a separate question again: an llms.txt doesn't let any crawler in or keep one out. Our AI crawler checker shows which AI crawlers your robots.txt allows, and the rule that decides each one.
llms.txt FAQ
llms.txt is a markdown file, usually at yoursite.com/llms.txt, that gives AI agents a short overview of a site and a curated list of links to its most useful pages. Jeremy Howard proposed it in September 2024 at llmstxt.org and revised it as v2 in August 2026. The only required part is an H1 with the site name.
No. Google's guide to optimizing for generative AI features in Search says Google Search does not use llms.txt, and that the file will neither harm nor help visibility or rankings in Search, including AI Overviews and AI Mode. Publish one for agents that read it, not for Google rankings.
At the root of your site, so it loads at https://yoursite.com/llms.txt, in the same place as robots.txt. Under the v2 spec a file can also sit at a subpath such as /docs/llms.txt, where it covers only the pages under that path, and agents use the most specific file that applies.
robots.txt tells crawlers what they may access. sitemap.xml lists every indexable page for search engines. llms.txt is a short, curated, human-readable guide for agents: what the site is and which few pages to read for detail. It does not grant or block access to anything.
A convention some documentation sites use: one file containing the full text of their docs, as a companion to llms.txt. It is not part of the llmstxt.org v2 spec. This generator builds llms.txt only, because a full-text file needs your page content rather than a list of links.
It is free with no account. When you enter a domain, our server reads that site's public sitemap, llms.txt, homepage and up to 20 other pages to draft the file, and keeps the result for up to an hour so repeat requests don't hit the site again. Nothing else is stored. Editing, pasting and validating pasted text happen in your browser and are never sent to us.
See whether AI engines cite you
An llms.txt tells agents where to look. The checker tells you what ChatGPT, Perplexity, and Google's AI answers say about your category, and who they name instead of you.
Run the free AI visibility checker