Free · Runs in your browser · llmstxt.org v2

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. Fill in the form, or paste your sitemap, and this tool builds one in the format the llmstxt.org v2 spec defines. Already have one? Switch to Validate and paste it in.

Open yoursite.com/sitemap.xml, copy it, and paste it here, or paste one URL per line. Runs in your browser; nothing is sent anywhere.

##
##

Links an agent can skip when it needs a shorter context.

llms.txt
# 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.

# NameRequired. One H1 with the site or project name. Nothing comes before it.
> SummaryA blockquote with the key facts an agent needs to make sense of the rest of the file.
DetailsOptional paragraphs or lists with more context. No headings in this part.
## SectionZero or more H2 sections, each holding a list of links.
- [Title](url): notesEach list item is a markdown link, optionally followed by a colon and a note on what is there.
## OptionalBy 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

  1. 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 the public folder.
  2. 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.
  3. 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 HTTP Link header.
  4. 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.

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.

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