tutorial
llms.txt Generator and Examples: A Practical Guide
How to generate an llms.txt file, real examples from Anthropic and Stripe, copy-paste templates by site type, and how to get it found by AI tools.
llms.txt Generator and Examples: A Practical Guide
By Abhiijay Vinayak, co-founder of Beamcite. Last updated June 23, 2026.
TL;DR
An llms.txt generator is a tool that crawls your website and builds a spec-compliant llms.txt file, the plain Markdown index you place at yourdomain.com/llms.txt to give AI tools a clean map of your most important pages. The fastest free options in 2026 are crawl-and-generate tools like SiteSpeakAI, WordLift, and Writesonic, plus native generation built into Yoast SEO and Rank Math for WordPress and automatic generation on documentation platforms like Mintlify. Real published files from Anthropic and Stripe show the pattern that works: a short, sectioned index of curated links, often paired with a larger llms-full.txt that holds the actual page text. The honest part most generator pages skip: the file is cheap and useful for documentation and coding assistants, but Google has confirmed it does not use llms.txt, so it is hygiene, not a citation lever. Beamcite is a done-for-you GEO service that handles this technical setup alongside the content that actually earns AI citations, and this guide shows you how to generate, deploy, and validate the file yourself.
This is the practical companion to the broader technical playbook. It does not re-argue whether llms.txt is worth it (the playbook covers that in depth); it shows you exactly how to make one, what good ones look like, and how to make sure AI tools can actually find it.
Quick navigation:
- Want the full case for llms.txt and schema? Read the technical GEO playbook
- Want the non-technical version of getting cited by AI? Read the full GEO method
- Just want to generate and ship the file? Keep reading.
What an llms.txt generator does
The llms.txt format is deliberately simple, so the work a generator saves you is not the syntax, it is the inventory. A generator crawls your site, reads the title and description of each page, decides which pages carry the most signal, groups them into sections, and writes a clean Markdown file that follows the official llms.txt specification. The convention itself was proposed by Answer.AI co-founder Jeremy Howard in September 2024, and the spec defines two files: /llms.txt, the curated index, and the optional /llms-full.txt, which holds the full text of your key pages in one document so a model can read everything in a single request.
You can write either file by hand. A generator is worth using for one reason: it keeps the file accurate as your site changes. A stale, hand-maintained llms.txt that drifts out of sync with your real pages is worse than none, because the entire point is to be an accurate map. The right tool regenerates the file on a schedule so it never goes out of date.
llms.txt generators compared
There are three kinds of generator, and which one fits depends on how your site is built. Pick by platform, not by feature list.
| Generator | Type | How it works | Best for |
|---|---|---|---|
| SiteSpeakAI | Standalone crawler | Paste a URL, it crawls and returns a file in about 30 seconds | A quick one-off file for any site |
| WordLift | Standalone crawler | Crawls from the homepage, extracts metadata, writes AI summaries and categorizes sections | Marketing sites that want descriptive link summaries |
| Writesonic | Standalone crawler | Free, no login, paste a URL and download | A fast free draft to edit by hand |
| Yoast SEO | WordPress plugin | Generates and manages the file natively, excludes noindex pages | WordPress sites already running Yoast |
| Rank Math | WordPress plugin | Native llms.txt support, regenerates as content changes | WordPress sites already running Rank Math |
| Mintlify | Docs platform | Auto-generates llms.txt and llms-full.txt for every hosted docs site | Developer documentation |
For WordPress specifically, the cleanest path is the plugin you already use. Yoast SEO added native llms.txt management, and Rank Math added its own llms.txt generation, both of which regenerate the file automatically and skip pages you have marked noindex. Dedicated plugins like Website LLMs.txt do the same on a schedule. For documentation, the platform usually handles it: Mintlify enabled automatic generation for every site it hosts back in November 2024, and static-site generators have community plugins for Docusaurus, Astro Starlight, MkDocs, VitePress, and Hugo. Standalone crawlers exist for everything else.
Whichever tool you pick, treat its output as a first draft. Generators are good at inventory and weak at judgment: they will happily list forty pages when six matter. The edit pass, cutting the file down to the pages that actually represent your business, is where a generated file becomes a useful one.
llms.txt examples from real sites
The best way to learn the format is to read files that working companies actually publish. Mintlify keeps an annotated breakdown of real implementations, and a few patterns stand out.
Anthropic publishes a slim llms.txt at its developer docs that acts as an index, an H1 title, a one-line description, and sectioned links into the documentation, and pairs it with a much larger llms-full.txt that contains the full text of the docs for tools that want everything in one pull. This two-file split is the reference pattern: a light map for navigation, a heavy export for ingestion.
Stripe organizes its file by product category and uses an "Optional" section for specialized tools, which tells a model which pages it can safely skip when it is short on context. Cloudflare structures theirs by product so an AI tool can fetch only the context relevant to one service rather than the whole site. The common thread across all three: every link carries a short, plain-language note on what the page covers, and the most important pages come first.
You can browse thousands more live files in community directories like directory.llmstxt.cloud and llmstxt.directory, which index sites that publish the file. Reading ten real ones in your own industry will teach you more about useful section structure than any spec.
Copy-paste llms.txt templates
Here are three starting points by site type. Replace the example domains and descriptions with your own, then cut any section that does not apply.
A SaaS product site:
# Acme Analytics
> Acme Analytics is a privacy-first product analytics tool for SaaS teams. This file maps the pages most useful to AI tools.
## Core pages
- [Product overview](https://acme.example/product): what Acme does and who it is for
- [Pricing](https://acme.example/pricing): plans, limits, and what each tier includes
- [Integrations](https://acme.example/integrations): supported tools and data sources
## Documentation
- [Getting started](https://acme.example/docs/start): install the SDK and send your first event
- [API reference](https://acme.example/docs/api): endpoints, auth, and rate limits
## Company
- [About](https://acme.example/about): team, mission, and contact
## Optional
- [Changelog](https://acme.example/changelog): recent releases
A documentation or developer-tool site (pair this with an llms-full.txt):
# Acme API Docs
> Developer documentation for the Acme API. The full text of these docs is available at https://acme.example/llms-full.txt
## Guides
- [Quickstart](https://acme.example/docs/quickstart): authenticate and make your first call
- [Authentication](https://acme.example/docs/auth): API keys, OAuth, and scopes
- [Webhooks](https://acme.example/docs/webhooks): event types and payloads
## Reference
- [REST API](https://acme.example/docs/rest): every endpoint with parameters
- [SDKs](https://acme.example/docs/sdks): official client libraries
A standard marketing or small-business site:
# Acme Studio
> Acme Studio is a brand and web design studio for early-stage startups. This file lists the pages that best describe the business.
## Main pages
- [Services](https://acme.example/services): what the studio offers and how engagements work
- [Work](https://acme.example/work): selected projects and case studies
- [About](https://acme.example/about): the team and how to get in touch
## Optional
- [Blog](https://acme.example/blog): articles on brand and product design
The rules that make these valid: one H1 with the site or product name, an optional blockquote description directly under it, then H2 sections grouping links, each link followed by a short note. Keep an "Optional" section for pages a model can skip. Order matters, put the pages that define your business at the top.
How to deploy your llms.txt file and get it found
Generating the file is the easy half. Getting AI tools to actually find and read it comes down to a short, specific checklist.
- Place it at the root. The file must live at yourdomain.com/llms.txt with no subdirectory. A file at /docs/llms.txt or /assets/llms.txt will not be found, because tools look only at the root, the same convention as robots.txt and sitemap.xml.
- Serve it as plain text. The response needs a content type of text/plain. If your server returns it as HTML or forces a download, tools may not parse it. Open yourdomain.com/llms.txt in a browser and confirm you see raw Markdown.
- Do not block AI crawlers in robots.txt. A file that the crawler is not allowed to reach is invisible. Check that your robots.txt does not disallow the user agents you want reading your content, and that your sitemap.xml is current, since that is still the primary discovery path AI crawlers use.
- Validate every link. Each URL in the file must resolve to a live page. Generators that include a validation step, like llms-txt.io, will flag dead links; otherwise check them by hand. A file full of 404s teaches a model the wrong map.
- Keep it in sync. Regenerate the file whenever you add or remove important pages. This is the single thing hand-maintained files get wrong, and it is the reason to use a tool that rebuilds on a schedule.
One honest caveat on the "get indexed" question, because it is the part the generator pages oversell. Publishing llms.txt does not guarantee any AI engine will read it, and it is not a Google indexing mechanism: Google has stated plainly that it does not use the file. What the file reliably does today is give coding assistants and documentation tools a clean entry point into your content. The levers that genuinely affect whether AI tools find and use your pages are an accessible site (open robots.txt, current sitemap), clean structured content, and the visible quality of the pages themselves.
What the file cannot do on its own
It is worth being clear so you do not spend a week perfecting a Markdown file and expect AI recommendations to follow. The largest study on what moves visibility in AI answers, a Princeton-led paper presented at the KDD 2024 conference, tested optimization strategies across 10,000 queries in 25 domains and found the gains come from content quality: adding authoritative citations lifted visibility about 30%, statistics about 32%, and expert quotations about 41%. No file placement substituted for substance. An llms.txt file helps a tool navigate your site; it does not make the underlying pages worth citing.
That is the real division of labor. The generator and the deployment checklist above get the technical hygiene right. The citations come from the content: answer-shaped openings, original data, self-contained paragraphs, and a real FAQ, published under a named author. The complete version of that method is in the guide to getting your business cited by AI, and Beamcite exists to run both halves so they stay correct on every post.
Generating it once vs keeping it right
A generated llms.txt takes ten minutes. Keeping it accurate, valid, and paired with correct schema and citable content as your site grows weekly is the part that quietly breaks. Here is how the realistic options compare.
| Approach | Who keeps it current | Risk | Best for |
|---|---|---|---|
| Hand-written file | You, manually | Drifts out of sync fast | Tiny sites that rarely change |
| Generator tool | Scheduled rebuild | File stays valid, content still on you | Teams comfortable running the rest themselves |
| Done-for-you GEO service | A human-reviewed pipeline | Built in, checked every post | SaaS and Mac-app teams with no time to run it |
The trade-off is honest: a generator solves the file, but the file is the smallest piece of getting recommended by AI. Beamcite is built for the recurring case, AI drafts each post for speed, a human editor reviews and fact-checks it, and the technical setup ships correct with every post rather than as a one-off task someone forgets to repeat. Content is AI-drafted and human-edited, and Beamcite says so plainly, because the human-review layer is the point.
Which llms.txt setup does your site need?
- WordPress site: Use Yoast SEO or Rank Math native generation, it regenerates automatically and skips noindex pages.
- Developer documentation: Let your docs platform generate it (Mintlify and similar do this automatically), and publish llms-full.txt too.
- Custom-built marketing site: Use a standalone crawler like SiteSpeakAI or Writesonic, then hand-edit it down to the pages that matter.
- Static-site generator: Add the community plugin for your framework (Docusaurus, Astro Starlight, Hugo, and others have them).
- No time to maintain any of it: A done-for-you service like Beamcite generates, validates, and keeps the file in sync alongside the content that earns the citations.
Conclusion
Generating an llms.txt file in 2026 is genuinely easy: pick the tool that matches your platform, native plugins for WordPress, the docs platform for developer sites, a standalone crawler for everything else, then edit the output down to the pages that define your business. Deploy it at the root, serve it as plain text, keep your robots.txt and sitemap open, and regenerate it whenever your pages change. Read real files from Anthropic and Stripe before you start, because the working pattern, a short sectioned index plus an optional full export, is clearer in an example than in the spec.
What to do next depends on your site. WordPress and docs users should turn on native generation today and move on. Custom-site owners should generate a draft, trim it, and validate every link. Anyone whose real constraint is time, not knowledge, should remember that the file is the smallest part of getting recommended by AI, and the content is where the citations are won. SaaS and Mac-app teams that want the technical setup and the citable content handled together, reviewed by a human before each post ships, can start with a free strategy call to map out what their site actually needs.
Frequently asked questions
What is the best free llms.txt generator? For most sites, the best free option is the one that matches your platform. WordPress users should use the native generation built into Yoast SEO or Rank Math. For any other site, standalone crawlers like SiteSpeakAI and Writesonic build a file from your URL for free in under a minute. Whichever you use, edit the output down to the pages that actually represent your business.
Where do I put the llms.txt file? At the root of your domain, so it is reachable at yourdomain.com/llms.txt with no subdirectory. Serve it as plain text (content type text/plain), and confirm it loads as raw Markdown in a browser. Tools look only at the root, the same way they look for robots.txt and sitemap.xml.
What is the difference between llms.txt and llms-full.txt? llms.txt is a short curated index: a title, a description, and sectioned links to your key pages. llms-full.txt is an optional companion that holds the full text of those pages in one Markdown document, so an AI tool can ingest everything in a single request. Documentation sites commonly publish both; smaller sites usually need only llms.txt.
How do I get my llms.txt file indexed by AI tools? Publishing it at the root and serving it as plain text is the baseline, but there is no guaranteed indexing mechanism, and Google has said it does not use the file at all. What reliably helps is keeping AI crawlers unblocked in robots.txt, maintaining a current sitemap, and making sure every link in the file resolves. The file gives tools a clean map; it does not force any engine to read it.
Does an llms.txt generator help me get cited by ChatGPT or Perplexity? Not on its own. A generator produces a navigation file that helps coding and documentation tools find your pages. Getting named in AI answers comes from the content itself, the Princeton GEO study found citations, statistics, and quotations drive the gains, so the file is hygiene and the citable content is the real work.
Can a service generate and maintain llms.txt for me? Yes. Beamcite generates and validates the file, keeps it in sync as your site changes, and pairs it with schema and human-reviewed GEO content on each post, so the technical layer stays correct instead of being a one-time setup that drifts out of date.
Written by Abhiijay Vinayak, co-founder of Beamcite, the done-for-you GEO service that gets SaaS and Mac-app businesses cited and recommended by AI. Start with a free strategy call.
Beamcite gets your business cited by AI assistants.
See how it works