llms.txt Generator
The AI-Era robots.txt

Give AI crawlers a curated entry point to your best content. llms.txt is a proposal (v2, August 2026, from Answer.AI) - a Markdown index that tells LLMs which pages matter most, now with link tags and a Link header so tools can find it. Still a proposal, not a W3C or IETF standard. 100% client-side. Zero data stored.

AI discoverability llms.txt proposal v2 Pairs with robots.txt
llms.txt Generator illustration

llms.txt Generator Tool

Site Info

Sections

Each section becomes an ## H2 heading. An "Optional" section is still a useful convention for secondary links; since v2 it carries no special meaning for tools.

Spec at a glance

  • Serve at https://yoursite.com/llms.txt, or at a subpath such as /docs/llms.txt (it covers the pages under its path; the most specific file applies)
  • The only required part is a single # H1 (your site name)
  • Then an optional > blockquote summary and plain Markdown sections
  • Zero or more ## H2 sections of - [name](url): notes link lists
  • v2 discovery: rel="alternate" type="text/markdown" points a page at its Markdown copy, rel="describedby" points it at the llms.txt that covers it - as HTML <link> elements or an HTTP Link: header
  • Agents are expected to read or search the file, then follow the relevant links; ## Optional is just a convention for secondary links
  • llms-full.txt (all content inlined) is a common extra file, not part of the proposal

Generated llms.txt

Place the file at /llms.txt on your site (for example https://example.com/llms.txt). Set the file location and get the discovery snippets below.

Already control crawlers with robots.txt? Use both. robots.txt says what bots may fetch and, with the newer AI usage signals, what content may be used for; llms.txt says what to read. Open robots.txt Generator

Discovery (llms.txt v2)

Version 2 of the proposal lets a page point to its Markdown copy and to the llms.txt file that covers it. Set where your file lives and one example page; the snippets below update as you type.

File location

A URL with no file name, such as /docs/, uses index.html.md or index.md. Version 1 allowed only the page.html.md form; version 2 allows both.

HTML link elements (page head)
 

Put both in the <head> of the page. describedby is the same on every page the file covers; alternate is different for each page that has a Markdown copy.

HTTP Link header

The same two relations as a header. It also works for non-HTML resources and can be added in your server or CDN config.

Cloudflare Pages _headers
 

Add to public/_headers (or merge into the file your build generates). Pages joins the Link values of every rule that matches a URL.

nginx add_header
 

Each line goes inside the matching location block. always sends the header on error responses too.

Use Cases

Docs sites

Point LLMs straight at your quickstart, API reference, and example pages instead of letting them parse your nav, sidebars, and theme JS.

Open-source SDKs

Make sure AI coding agents recommend your library correctly by surfacing the install command, the canonical example, and the gotchas.

SaaS marketing sites

Tell answer-engine bots (ChatGPT, Perplexity) which pages best describe your product so cited answers link to pricing and features, not to the careers page.

Personal blogs

Index your best long-form posts under their topics so an LLM summarizing your work picks the canonical ones, not whatever happened to rank.

Course / education sites

Group lessons by module under H2 sections so an AI tutor agent can navigate your curriculum without scraping every page.

Internal AI agents

Host a private llms.txt on your intranet to give your in-house agent a curated map of the runbooks, dashboards, and policies it should know.

llms.txt Format Reference

H1 (required)

The only required section: # Site Name, the project or site name.

Blockquote (optional)

Single-line summary: > One sentence about what this site is.

Intro paragraphs

Optional non-heading Markdown sections. Anything an LLM should know before reading the link lists.

H2 sections

One or more ## Section headings followed by Markdown link bullets.

Link bullets

Format: - [name](url) with an optional : notes. Use absolute URLs.

## Optional

A section titled ## Optional is still a useful convention for secondary links. Since v2 it has no mechanical meaning.

Frequently Asked Questions

Why We Built llms.txt Generator

For thirty years, robots.txt has been the main voluntary protocol between website operators and the bots that crawl them. AI agents do not just crawl - they read, summarize, and answer questions, often under a context-window budget the whole web cannot fit into. llms.txt is one response: a small, human-curated Markdown index that says "if you are an LLM, here is what I would read first." It is still a proposal, and version 2 (August 2026) added discovery through rel="alternate" and rel="describedby" links.

We built this generator because the format is simple but easy to get subtly wrong: the file has to start with an H1, the sections must be H2, the link bullets must be valid Markdown, and v2 adds link tags and headers that have to point at the right paths. A typo in any of those silently fails because nothing pages you. Doing it visually keeps the rules consistent so you can focus on what to actually link.

llms.txt Generator pairs with the RJL.io robots.txt Generator and is checked for by the RJL.io SEO Analyzer - one consistent set of AI-discoverability tools, all client-side, no accounts, no tracking. Check out our other tools: Meta Tag Generator, Favicon Generator, and more.

Your SEO + AI search toolkit

You are on step 3, Control. Next: Verify - see the page the way AI crawlers do.

Run the SEO Analyzer