A curated reading list for AI assistants, written in Markdown
llms.txt is a proposal, published at llmstxt.org in 2024, for a plain Markdown file at the root of a site that tells a language model what the site is and which pages are worth reading. Think of it as a short, hand-picked table of contents rather than a full index. This generator turns a form into that file: you give it your site name, a one or two sentence description, a contact email, a license and the pages you care about, and it writes a file that follows the format in the proposal.
It is worth being clear about status before you spend time on it. llms.txt is not a web standard and no search engine has said it uses the file for ranking. Google has said it does not use llms.txt for Search or AI Overviews, and none of the big AI assistants has confirmed reading it when it answers questions. Where it is clearly useful today is with tools that a developer or user points at your site on purpose, such as coding assistants, documentation helpers and agents that look for /llms.txt before crawling. Publishing one costs little, but treat it as a helpful extra, not a visibility switch.
One H1, a summary, then link lists: the format it writes
The proposal defines a small, strict shape, and the generator follows it exactly. The file opens with a single H1 holding the site or project name, which is the only part the proposal calls required. Next comes a blockquote line that sums up the site in one sentence. After that, optional plain lines can carry details, and the generator uses that space for the site link, contact, license and the date it was generated. Then come H2 sections, each holding a list of links written as a dash, the page name in square brackets, the URL in round brackets and an optional note after a colon.
Two details matter more than they look. First, every link is turned into a full https URL, so a path you type as /pricing becomes https://yoursite.com/pricing; files are often read out of context, and relative links break when they are. Second, any page you tick as optional goes under an H2 named exactly "Optional". The proposal gives that section a special meaning: a tool that is short on space may skip it. Put your core pages in the main list and nice-to-have pages under Optional.
# Acme Widgets
> Acme makes industrial widgets and publishes maintenance guides, specs and pricing for factory engineers.
- Site: [Acme Widgets](https://acme.example)
- Contact: [hello@acme.example](mailto:hello@acme.example)
- License: CC-BY-4.0
## Important Pages
- [Getting started](https://acme.example/docs/getting-started): Install and configure your first widget
- [Pricing](https://acme.example/pricing): Plans, volume discounts and shipping costs
## Optional
- [Blog](https://acme.example/blog): Maintenance tips and case studiesWhich pages earn a place in the file
The file is meant to be short. Five to twenty links is a good range for most sites. Pick pages that answer the questions someone would ask about you: what you do, what it costs, how to get started, how the product works, and your best reference or guide content. Skip pages that exist for navigation only, such as tag archives, paginated listings, login screens and legal boilerplate, unless one of them is genuinely important to understanding the business.
Write each note as a plain description of what the page holds, not a slogan. "Plans, volume discounts and shipping costs" tells a model what it will find; "The best widgets on the market" tells it nothing. The description line at the top deserves the same care: say who the site is for and what it covers in one sentence.
Why the crawler switches produce robots.txt lines, not llms.txt lines
The form includes a list of AI crawlers, such as GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot, Google-Extended and CCBot, each with an on or off switch. Those switches do not change llms.txt at all, because llms.txt has no way to allow or block anything. Instead, the tool writes a separate block of robots.txt rules: each bot you switch off gets its own User-agent group with Disallow: /. Bots you leave on get no rule, only a comment, because naming a bot in its own group makes it ignore your User-agent: * rules, which could open folders you block for everyone else.
# AI Crawler Directives
User-agent: GPTBot
Disallow: /
User-agent: CCBot
Disallow: /
# Allowed (no rule needed; they follow your User-agent: * rules): OAI-SearchBot, ClaudeBot, PerplexityBot, ...A note on Google-Extended, since it causes the most confusion: it is a robots.txt token only. Blocking it stops your content being used to train and ground Gemini models, but it does not affect Google Search or AI Overviews, which are built from the normal Googlebot crawl. For a fuller set of bots and presets, use the AI Bot robots.txt Generator.
Publishing the file on WordPress, Shopify, Nginx or Next.js
Wherever you host it, the goal is the same: the file must open at https://yourdomain.com/llms.txt, return HTTP 200 and serve plain text (text/plain or text/markdown), not an HTML page.
WordPress
Upload llms.txt to the site root (the folder that holds wp-config.php) by SFTP or your host's file manager. Some SEO plugins, including Yoast and Rank Math, can now generate an llms.txt for you; if one is active, either use its output or turn that feature off so two versions do not fight.
Shopify
Shopify does not let you upload files to the domain root. The usual workaround is to upload the file under Content > Files and add a URL redirect from /llms.txt to that file's address, or use an app that serves root files. Open /llms.txt afterwards and check the final address shows plain text, not a store page.
Nginx or Apache
Drop the file in the document root. Most servers already send .txt as text/plain. If your site uses a catch-all rewrite for a single-page app, make sure real files are served first (try_files $uri in Nginx), or /llms.txt will return your homepage HTML.
Next.js, Vercel or Netlify
Put llms.txt in the public folder. It is then served from the root as a static file with no extra config.
Errors that make the file harder to use
The most common one is several H1 lines. Older generators wrote a heading for every block, which breaks the proposal's one-H1 rule; this tool writes exactly one. Others are relative links, links with no notes, bullet items that are not real Markdown links, and dumping the whole sitemap into the file so it becomes a list of hundreds of URLs. That last one defeats the purpose: the file is a curated shortlist, and the full list already lives in your sitemap.
Another mistake is putting crawler rules or usage terms in llms.txt, such as "GPTBot: disallow" or "No AI training". Nothing reads those lines as rules. Access belongs in robots.txt, and a usage statement, if you want one, can go in an ai.txt file or your terms. Finally, watch out for a file that lists pages your robots.txt blocks; the AI Bot robots.txt Checker shows which bots your robots.txt blocks.
Keeping the file honest after launch
Once it is live, run your domain through the llms.txt Validator to confirm it is reachable and well formed. Then add it to whatever checklist you use when pages are renamed, merged or removed, because a file full of 404 links is worse than no file. When you edit it, re-run the llms.txt validator before you ship it.
Keep expectations realistic. The things that most affect whether AI assistants find and cite you are the same as ever: crawlers can reach your pages, the pages render without JavaScript, and the content answers questions clearly. llms.txt sits on top of that work. Our guide to robots.txt and llms.txt covers how the two files fit together.