llms.txt Generator: Create an llms.txt File for Your Site
This free llms.txt generator reads your sitemap (or the links on your home page when there is no sitemap) and drafts an llms.txt file in the format the llms.txt proposal describes: your site name, a one-line summary and your key pages grouped into sections. Edit the draft in the page, then copy or download it and upload it to the root of your domain.
Enter your domain to get a draft
Example llms.txt (for a made-up product)
# Acme Invoicing
> Acme Invoicing is invoicing software for freelancers and small agencies. It sends invoices, reminds clients about late payments and syncs with accounting tools.
Acme runs in the browser and on iOS and Android. The docs cover setup, integrations and the REST API.
## Main pages
- [Pricing](https://example.com/pricing): Plans, limits and what each one includes
- [Features](https://example.com/features): Invoices, payment reminders, online payments and reports
- [About](https://example.com/about): Who builds Acme and how to reach the team
## Docs
- [Getting started](https://example.com/docs/getting-started): Create an account and send a first invoice
- [Integrations](https://example.com/docs/integrations): Connect payment providers and accounting tools
- [API reference](https://example.com/docs/api): Endpoints, authentication and rate limits
## Optional
- [Changelog](https://example.com/changelog): Product updates by month
- [Privacy policy](https://example.com/privacy)
Free to use · Updated · By the LightSpeedBolt team
How to use the llms.txt Generator
Step 1
Enter your domain
We look for the sitemap listed in your robots.txt, then /sitemap.xml, and fall back to the links on your home page.
Step 2
Get a draft in about 10 seconds
Pages are grouped into sections by URL path. Names and notes for up to 20 key pages come from their titles and meta descriptions.
Step 3
Edit it for a stranger
Tighten the summary, cut pages nobody needs and move legal pages under Optional. The format check updates as you type.
Step 4
Upload and check it
Save the file as llms.txt at your domain root, then run the llms.txt checker on your domain to confirm it loads as text.
What is llms.txt?
llms.txt is a proposal, first published by Jeremy Howard in September 2024 at llmstxt.org, for a Markdown file at /llms.txt that gives language models a short, curated map of a website. A sitemap lists every page for search engines; llms.txt picks the pages that explain your product and says in a few words what each one covers.
The format has five parts, in this order:
- An H1 with the name of the site or project, such as
# Acme. This is the only required part. - A blockquote with a short summary, such as
> Acme is invoicing software for freelancers. - Optional paragraphs or lists with more detail. No headings here.
- Zero or more H2 sections, each a list of links written as
- [Page name](https://example.com/page): what it covers. The note after the colon is optional. - By convention, a section titled
## Optionalholds links a tool can skip when it needs a shorter context.
The current version of the proposal also allows a file in a subfolder, such as /docs/llms.txt, which covers the pages under that path. Before you run it, the tool above shows a complete example file.
How the generator builds your draft
- Finding pages: it reads the Sitemap lines in your robots.txt, or tries
/sitemap.xml,/sitemap_index.xmland/wp-sitemap.xml. It follows sitemap indexes two levels down and keeps up to 300 pages, reading page sitemaps before post, tag and media sitemaps. With no sitemap, it uses up to 60 links from your home page. - Skipping noise: files, feeds, search results, tag and author archives, login, cart and account pages are left out, and so are URLs with query strings. On a site with several languages it keeps one version of each page.
- Naming pages: it reads the title and meta description of up to 20 key pages (home, pricing, docs, about, product and other top-level pages first). Other pages are named from their URLs, so check those names.
- Grouping: pages are grouped into H2 sections by the first part of their path, so
/docs/...becomes## Docs. Single pages go under## Main pages, and privacy, terms, careers and similar pages go under## Optional. - Keeping it short: each section is capped (about 20 links for docs, 8 for blog posts, 12 for other sections), because a curated list is more useful than a copy of your sitemap.
It does not run JavaScript, so links that only appear after a page's scripts run are not found, and it does not write llms-full.txt.
Where to upload llms.txt
The file has to load at https://yourdomain.com/llms.txt as plain text, with HTTP status 200.
- Next.js: save the file as
public/llms.txt. Next.js serves files in thepublicfolder from the root of your site. To build the file from your content instead, add a Route Handler atapp/llms.txt/route.tsthat returns the text. - WordPress: upload
llms.txtto your site's root folder (the one that answers at your domain) with your host's file manager or SFTP. Or turn on the llms.txt option in the free Yoast SEO plugin (Yoast SEO, Settings, Site features, AI tools), which builds the file for you and lets you choose the pages it lists. - Webflow: upload the file in your site's SEO settings, then publish. Webflow serves it at the root of your domain.
- Shopify: some Shopify stores already answer
/llms.txtwith a default file aimed at shopping agents, so check yours with the llms.txt checker first. To publish your own, use an app with an llms.txt setting, such as Yoast SEO for Shopify (Settings, Advanced, llms.txt). - Any other host: put the file in the folder your server serves static files from at the domain root, and make sure it is served as
text/plainortext/markdown.
Then run the llms.txt checker on your domain. If it reports an HTML page instead of text, your site's catch-all route is answering instead of the file.
How to turn the draft into a good file
- Rewrite the summary. One or two sentences a stranger can use: what the product is, who it is for and what makes it different. The generator copies your home page's meta description, which is often written for clicks, not for clarity.
- Cut hard. Keep the pages that answer questions people ask about your product: pricing, docs, key features, comparisons and your best guides. Delete thin pages and duplicates.
- Add a note to important links. A few words after a colon (
: Plans and what each includes) help a model choose the right page. - Use full URLs. Every example in the proposal uses absolute links, and a model that sees the text on its own cannot resolve
/pricing. - Use the Optional section. Legal pages and older posts can stay, but under
## Optional, so tools with little room can skip them. - Keep it current. Update the file when you add or retire key pages, or generate it from your content with a route so it never goes stale.
What llms.txt can and cannot do
llms.txt is a proposal, not an official web standard, and it is not a ranking factor in Google. Google's guide to its generative AI features says it is fine to keep an llms.txt file, but Google Search ignores it, so it neither helps nor hurts your visibility in Search.
It is still cheap to add and some tools use it. AI developer docs such as OpenAI's and Anthropic's publish one, as do companies like Stripe, Vercel and GitHub. Chrome's Lighthouse has an experimental Agentic Browsing category with an llms.txt audit, and coding assistants and agents can read the file when someone points them at your site.
It does not control crawling or AI training. That is robots.txt: see which AI bots your robots.txt allows with the AI crawler checker. For the full picture, read the llms.txt guide.
Frequently asked questions
What is llms.txt?
A Markdown file at the root of a website (yourdomain.com/llms.txt) that gives language models a short, curated map of the site: an H1 with the site name, a one-line summary, then sections of links with short notes. It was proposed at llmstxt.org in September 2024 and is not an official web standard.
How do I create an llms.txt file?
Enter your domain in the generator above to get a draft built from your sitemap, then edit it. To write one by hand, start with "# Your site name", add a summary line starting with "> ", then add H2 sections that list pages as "- [Page name](https://...): short note". Save it as a UTF-8 text file named llms.txt and upload it to your domain root.
What should an llms.txt file include?
Your site name, a one or two sentence summary, and links to the pages that explain your product: pricing, features, docs or help articles, comparisons and your most useful guides, each with a short note. Put secondary pages such as legal pages under an Optional section, and leave out login, cart and account pages.
Does Google use llms.txt?
No. Google's guide to its generative AI features says Google Search ignores llms.txt files, so having one neither helps nor hurts your rankings. Separately, Chrome's Lighthouse checks for the file in an experimental Agentic Browsing audit, which is about AI agents using your site, not about search rankings.
Where do I put llms.txt?
At the root of your domain, so it loads at https://yourdomain.com/llms.txt as plain text. In Next.js that is public/llms.txt; on other hosts it is the folder that serves static files from the root. The current proposal also allows a file in a subfolder, such as /docs/llms.txt, for the pages under that path.
Do I also need llms-full.txt?
No. llms-full.txt is a common companion file with the full text of key pages in one document, but it is not part of the llms.txt proposal. Start with llms.txt; add llms-full.txt later if your docs platform can generate it.
How often should I update llms.txt?
Whenever you add, rename or remove a key page. A file that links to missing pages sends tools to error pages. If your site runs on a framework, generating the file from your content with a route keeps it current automatically.
Related free tools
llms.txt Checker
Fetch a site's /llms.txt, check it against the format in the llms.txt proposal and get a list of fixes.
Checks the live pageAI Crawler Checker
Check which AI crawlers (GPTBot, ClaudeBot, PerplexityBot, Google-Extended and more) your robots.txt allows or blocks.
Checks the live pageRobots.txt Generator
Build a robots.txt file with one-click presets for AI crawlers and search engines, then copy it or download it.
Runs in your browserGuides that go deeper
Terms to know
Done for you
Want the results without the busywork?
The tools show where you stand. Our plans do the work: backlinks, SEO posts, Reddit and AI search, going live within 72 hours and tracked in one dashboard.