llms.txt Generator
Build a correctly formatted llms.txt file that tells AI tools what your website is and where your best pages live.
Your site details
Your llms.txt file
Format check
What is an llms.txt file?
An llms.txt file is a small plain-text file that sits at the root of your website, at yourdomain.com/llms.txt, and gives AI systems a clean, human-written map of your site. It was proposed in 2024 as a companion to robots.txt and sitemap files: where a sitemap lists every URL for search crawlers, llms.txt lists the pages that matter, in plain markdown, with a line of context for each one, so an AI assistant or AI crawler can understand your site quickly without wading through navigation, scripts and adverts.
The format, piece by piece
- H1: the name of your site or project, the only required heading level one.
- Blockquote: a one or two sentence summary of what the site is, written with the greater-than quote marker.
- Optional detail paragraphs: a few lines of extra context about the site, its audience or its rules.
- H2 sections: groups such as Docs, Guides or Tools, each holding a markdown list of links in the form [Title](URL), with an optional note after a colon.
- Optional section: a section literally named Optional holds links that AI tools may skip when they need a shorter version.
Example of a finished file
# WebTools > Free online calculators and tools for tax, money, weddings and everyday tasks. ## Popular tools - [Mortgage Payment Calculator](https://example.com/mortgage/): Work out monthly payments with taxes and insurance - [AI Token Cost Calculator](https://example.com/ai-token-cost/): Compare AI API prices by tokens and volume ## Guides - [How to Calculate a Mortgage Payment](https://example.com/mortgage-guide/): The formula explained with examples
How to publish your file
Download the file from this generator, then place it in your website’s root folder so it loads at yourdomain.com/llms.txt. On WordPress you can upload it to the root via your hosting file manager, or recreate it with a plugin that serves a virtual llms.txt. After publishing, visit the URL yourself to confirm it shows as plain text, and keep it updated as your important pages change. Pick your best 10 to 40 pages rather than everything: the whole point is a curated shortlist, not a second sitemap.
Does llms.txt help SEO?
It is not a ranking factor for Google search, and no major AI provider has promised to use it. Its value today is practical and forward-looking: AI assistants, AI crawlers and agent tools increasingly look for clean text summaries of sites, and a tidy llms.txt costs you ten minutes and gives them exactly that. Think of it as a low-cost, low-risk part of being easy to understand for machines, like good meta descriptions. Our guide on what an llms.txt file is covers the background and the debate in more depth.
Frequently asked questions
Where does the llms.txt file go?
In the root of your domain, so it loads at yourdomain.com/llms.txt, the same place robots.txt lives. It must be a plain text file served as text, not an HTML page wrapped around the text.
Is llms.txt required for AI search?
No. It is a proposed convention, not a requirement, and AI tools can still read your site without one. It simply makes your most important pages easier for AI systems to find and understand, at almost no cost.
What should I put in my llms.txt?
Your site name, a one-line summary, and grouped links to your most important pages: your best tools, guides, documentation and about pages. Add a short note after each link saying what the page is for. Quality beats quantity; most sites need 10 to 40 links.
What is the Optional section for?
A section headed Optional lists links that AI tools may safely skip when they need a shorter picture of your site, such as secondary resources or large reference files. It keeps the main file useful even for tools with small context windows.
How is llms.txt different from a sitemap?
A sitemap is a machine list of every URL, built for search crawlers. An llms.txt is a short, human-written, curated summary in markdown, built so AI systems can grasp what your site is about and which pages matter most.
Does llms.txt replace robots.txt?
No. Robots.txt controls which crawlers may access which parts of your site, and you still need it. Llms.txt is a guide for tools that are already allowed in; the two files sit side by side and do different jobs.
How often should I update it?
Whenever your important pages change: new flagship tools or guides, renamed URLs, or a shift in what your site is about. For most sites a quick review every few months is plenty.
More tools for site owners
While you are improving how machines read your site, fix your email authentication too: build your records with our SPF Record Generator and DMARC Record Generator. Writing AI prompts for your site? Count them first with the AI Token Counter.
