Skip to content
AI & Automation

7 Best llms.txt Generators for 2026 (Free Template)

Sep 15, 2026

An llms.txt generator is any process—docs platform, static pipeline, or hand-edited file—that publishes a curated Markdown map at /llms.txt so language models can load what your site wants them to read instead of guessing from a noisy crawl.

The category decision is whether you need a documentation platform that can emit that file as part of a docs deploy (Mintlify, ReadMe, GitBook, Fern) or a generator you own (the llmstxt.org hand file, a CI concatenator, or a docs-framework plugin). None of these is a Google ranking lever by itself, and none should auto-publish a dump of every staging page.

TL;DR: pick a docs host for authoring if you lack one, require a stable /llms.txt (and optional /llms-full.txt) that a human reviews, and treat orchestration as the ticket that regenerates the file when the API spec version changes—not as a second docs CMS.

List roundups still attract clicks in our mix, which is why this page uses a seven-item shopping frame. BEST_OF earn rate: 15.2% according to US Tech Automations on 12,514 live pages counted 2026-08-24. 7 Best titles: 25.5% (247 pages) according to US Tech Automations versus 5 Best titles: 14.0% (322 pages) in that count. Those are title-pattern notes, not vendor ranks. This industry is not in the published vertical earn-rate table; use the neutral default: 10, not a vertical score.

What the llms.txt Spec Actually Asks For

According to the llms.txt specification, spec origin: September 2024 is when Jeremy Howard (Answer.AI) proposed the Markdown convention for exposing site content to language models, typically as /llms.txt with an optional fuller /llms-full.txt. The file is a curated index: an H1, a short summary, then linked sections of docs, policies, and API references you are willing to feed a model. It is not robots.txt, it is not a sitemap, and it is not a promise that ChatGPT or Google AI Overviews will cite you.

A useful analogy is the opposite direction of crawler rules. According to the IETF, robots protocol: RFC 9309 specifies how crawlers read exclusions; llms.txt is a voluntary inclusion map for models that choose to look. You still need ordinary crawlable HTML for search. According to Google Search Central, Google primarily finds pages through links from pages it already crawled, so a Markdown map for models does not replace internal links, a sitemap, or indexable HTML.

Files to publish: 1–2 at the root (/llms.txt, optional /llms-full.txt); a third copy in a random docs subfolder is how teams lose the convention.

Key Takeaways

  • Buy a documentation platform for authors; generate llms.txt as an output of that system or of CI, not as a one-off paste that rots.

  • Verify a live /llms.txt on a current workspace before you believe a marketing page.

  • Curate links: ship the pages a model should quote, not every changelog and preview deploy.

  • Regenerate when the OpenAPI info.version changes, then require a human to approve the link list.

  • Mintlify, ReadMe, GitBook, and Fern compete as docs hosts; DIY generators compete on control.

  • Orchestration belongs above the host: tickets, exceptions, approval—not a parallel Markdown wiki.

Who This File Is For

Who this is for: developer-docs owners, API product marketers, and SEO leads at SaaS companies who already publish reference docs and want answer engines to see a clean map. The stack is a docs host or a static generator, a Git repo, and someone who can say which URLs are canonical. Red flags: teams that want to paste the entire blog into llms-full.txt; sites with no public docs; buyers who will not review the link list after each spec release.

If you only have a marketing site with five pages, write /llms.txt by hand from the template below and stop. If you have versioned API docs, the generator has to live in the same pipeline that ships those docs.

Canonical docs hosts: 1 per product; two competing doc roots make llms.txt lie.

Weighted Criteria for Generators

Score the generator, not the prettiest docs theme.

CriterionWeightMin 1–5Disqualifier
Emits /llms.txt at a stable URL25%5File missing or behind login
Curated sections (not a raw dump)20%4Entire staging site concatenated
Regenerates on spec/docs change20%4Manual only, no CI hook
Human review of link list15%4Auto-publish with no diff
Docs authoring quality10%3Authors cannot ship Markdown
Export / raw Markdown access10%3Content locked in a proprietary island

Stable-URL weight: 25% is first because a generator that cannot put the file at /llms.txt is a notes app. Re-weight toward authoring if you do not yet have a docs host.

According to the OpenAPI Initiative, OpenAPI line: 3.1 is the current spec family many API docs platforms ingest; if a host cannot take an OpenAPI 3.x file, it is a weak generator for API-first teams even if the theme looks modern.

Feature Matrix: Docs Platforms Versus DIY

Factual roles from vendor-primary pages: Mintlify is a documentation platform for developer docs; ReadMe is a developer hub and docs platform; GitBook is a documentation platform with Git sync options; Fern is an API-first docs and SDK platform. Analysis, separate from those facts: any of the four may or may not emit a spec-compliant /llms.txt on your plan and version—verify on a live workspace before you score "native generator." DIY options always can, because you own the file.

CapabilityMintlifyReadMeGitBookFernHand fileCI concatDocs plugin
Primary jobDocs hostDocs hubDocs hostAPI docs / SDKsSpec filePipelineFramework
Native /llms.txtVerify liveVerify liveVerify liveVerify liveYesYesVerify plugin
OpenAPI ingestCommonCommonVariesCoreManualScriptedVaries
Git syncYesVariesCoreYesYesYesYes
Human diff on fileProcessProcessProcessProcessEasyPR reviewPR review
Orchestrates ticketsNoNoNoNoNoPartialNo

Mintlify vs ReadMe vs GitBook vs Fern is a docs-platform decision first. The llms.txt question is whether the host will publish a curated Markdown map you control. If the host will not, keep the host for humans and generate the file in CI.

Related reading on answer-engine habits: generative engine optimization for B2B SaaS startups. Workflow objects that sit above a CMS: what are agentic workflows. If you are already moving a system of record, the same "do not run two truths" rule shows up in migrate from Buildium to an automation platform.

Pricing and TCO Notes

Public list prices for docs platforms change by seat, build minutes, and custom domain. As of 2026-09-15, treat sales-led tiers as contact vendor unless you re-open the vendor's pricing page the day you buy. TCO is seats plus the hours to curate /llms.txt, not the theme.

OptionPrice status (2026-09-15)Example seatsDocs pages in exampleCI minutes / build
MintlifyContact vendor51808
ReadMeContact vendor51808
GitBookContact vendor51808
FernContact vendor518012
Hand-authored llms.txt$0 license1400
CI concatenator$0 license plus CI21806
Docs-framework plugin$0–contact plugin author21806

Example docs corpus: 180 pages is a planning size; do not dump all 180 into llms-full.txt if only 40 are canonical reference.

Seven Generators, Profiled

1. Mintlify

Best fit: product and docs teams that want a modern developer-docs host and are willing to verify llms.txt output on their workspace. Limitations: a pretty docs site is not a curated model map; you still choose which sections belong in /llms.txt. Implementation: connect the repo, ship MDX/Markdown, then confirm the live file and add a review step on docs releases. Primary evidence: mintlify.com. Mintlify is 1 of 4 named docs hosts on this shortlist, according to Mintlify, which is why a generator bake-off that ignores authoring UX is incomplete. Choose Mintlify when authoring UX is the bottleneck and you will still curate the model index.

2. ReadMe

Best fit: API companies that want a developer hub (docs, API reference, maybe a community space) in one product. Limitations: hub features can outrun the llms.txt job; confirm whether your plan emits the file at the site root. Implementation: keep OpenAPI as source of truth, publish reference, generate or hand-maintain llms.txt from the canonical pages. Primary evidence: readme.com. Choose ReadMe when the hub, not only the Markdown theme, is the buy.

3. GitBook

Best fit: teams that want Git-synced documentation with a familiar editing UI. Limitations: Git sync does not automatically equal a spec-compliant /llms.txt; verify. Implementation: treat the GitBook space as the human docs, export or script the model index, review in a pull request. Primary evidence: gitbook.com. Choose GitBook when editors live in GitBook and engineers live in Git.

4. Fern

Best fit: API-first companies generating docs (and often SDKs) from an OpenAPI or similar spec. Limitations: SDK generation is a different job from llms.txt; do not assume Fern emits the model file unless you see it live. Implementation: keep info.version honest, publish docs from the spec, build /llms.txt from the same paths you document. Primary evidence: buildwithfern.com. Choose Fern when the spec is the system of record.

5. Hand file from the spec

Best fit: small public docs sets where a person can maintain 20–40 links. Limitations: the file will rot after the next product launch if nobody owns it. Implementation: paste the template below, host at the site root, add a calendar reminder. Primary evidence: llmstxt.org. Choose this when a platform generator is overkill.

6. CI concatenator

Best fit: teams with Markdown already in Git who can write a job that builds a curated index (allowlist of paths, not cat **/*.md). Limitations: a naive concat is how you feed models your outdated RFC drafts. Implementation: GitHub Actions on push, fail the job if a link 404s, require a reviewer on changes to the allowlist. Choose this when the docs host will not emit the file.

7. Docs-framework plugin

Best fit: Docusaurus, MkDocs, or similar sites where a plugin or custom page can serve /llms.txt. Limitations: plugin quality varies; you still curate. Implementation: add a route, build from sidebars, test the URL in CI. Choose this when the framework is staying.

Named docs platforms: 4 in the buy comparison; the extra three generators exist so you are not forced into a host swap just to emit a text file.

Free Template You Can Paste

Use this as /llms.txt. Replace the examples. Keep the summary factual. Do not list URLs you would not let a customer quote.

H1: Acme Payments API

> Public reference for Acme's HTTP API, webhooks, and error model. Staging and internal runbooks are not included.

## Docs

- [Authentication](https://api.example.com/docs/auth): API keys, scopes, and rotation
- [Errors](https://api.example.com/docs/errors): codes and retry guidance
- [Webhooks](https://api.example.com/docs/webhooks): event catalog and signature checks

## Optional

- [Changelog](https://api.example.com/docs/changelog): dated, user-facing changes only

Optional /llms-full.txt can inline those pages. If the full file exceeds what you will refresh, skip it and keep the index honest.

Allowlisted links in template: 4 is a starting count; add sections only when an editor will maintain them.

Regeneration Workflow, Exceptions, and Approval

The trigger is a docs merge or an OpenAPI version bump, not a quarterly SEO project. Systems: Git, the docs host, the public site origin, and an exception queue for 404s. Actions: rebuild the index from an allowlist, HEAD-check every URL, open a diff. Exception path: if a path 404s or points at a preview deploy, drop it and fail the job. Human approval: a docs owner accepts the diff before production. Measurable output: time since last successful publish, 404 count, and count of links in the file.

A 12-engineer platform team maintaining 180 docs pages, 2 OpenAPI files, and a 25-minute GitHub Actions run should rebuild /llms.txt whenever info.version in the public spec increments, then require a docs lead to approve the first 40 linked paths before the object is public.

US Tech Automations can sit on that trigger: receive the spec-change event, run the link checks, and stop at the approval node instead of writing the Markdown itself. See agentic workflows for that pattern. Compare commercial packaging on pricing only after the allowlist exists.

When NOT to use US Tech Automations: if Mintlify (or GitBook, ReadMe, Fern) already emits a correct /llms.txt on deploy and a person already reviews docs PRs; if a 40-link hand file is updated when you ship; if GitHub Actions already concatenates an allowlist with retries, run history, and a required reviewer. Those systems of record already handle the only required workflow.

The usual DIY alternative is GitHub Actions, Make, or n8n: they can watch the repo, retry failed HEAD checks, branch on errors, and keep audit logs when you configure them. You still own observability, idempotency, escalation, access control, retention, and maintenance. A US Tech Automations design would use the same human review point and the same allowlist; it would model the regenerate → check → exception → approve steps as workflow objects rather than a YAML file only one engineer understands. It would not replace Mintlify as the docs host.

404s allowed in production file: 0; fail the build rather than ship a broken map.

StageHoursPeopleLinks checked
Draft allowlist4240
First generator hook8140
HEAD checks in CI2140
Exception cleanup318
Human approval1140
Quarterly prune2240

Common Mistakes

Dumping the blog, including noindex pages, listing both www and non-www duplicates, forgetting /llms-full.txt after the index changes, and treating the file as a ranking hack all waste the spec. Another mistake is generating from OpenAPI without dropping internal paths. Another is letting marketing add adjective-only summaries that models cannot use.

Duplicate hosts in file: 0; pick https and the canonical docs domain.

Decision Checklist

  • Do we have canonical public docs?

  • Can we place a file at https:///llms.txt?

  • Is the link list curated and reviewed?

  • Does a spec bump regenerate the file?

  • Do 404s fail the job?

  • Are we buying a docs host for authors, a generator for the file, or both?

If the docs host wins on authoring but loses on the file, keep the host and add CI. If you are swapping hosts anyway, put llms.txt on the scorecard with a live verification, not a sales slide.

Frequently Asked Questions

What are the best llms.txt generators?

The best llms.txt generators are the ones that publish a curated /llms.txt you can review: Mintlify, ReadMe, GitBook, or Fern when they emit the file on your plan, plus a hand file, a CI concatenator, or a docs-framework plugin when they do not. There is no universal winner. Verify the live URL before you buy for this feature.

What are the best llms.txt documentation platforms?

The best llms.txt documentation platforms are still docs platforms first: Mintlify, ReadMe, GitBook, and Fern are the four to bake off for authoring, OpenAPI ingest, and Git workflow. llms.txt is a pass/fail output on top. If two hosts are equal for writers, pick the one that emits a clean file at the root.

How do I compare Mintlify vs ReadMe vs GitBook vs Fern for this file?

Compare Mintlify vs ReadMe vs GitBook vs Fern by running a proof of concept that publishes one OpenAPI-backed site and then fetching /llms.txt. Score authoring, spec ingest, and whether the file is curated. Do not score them on a claim that llms.txt will move rankings.

Which docs platforms generate llms.txt?

Docs platforms that generate llms.txt are the ones that prove it on a live workspace, not the ones that mention AI in a nav bar. Mintlify, ReadMe, GitBook, and Fern should each be verified. If a platform cannot emit the file, generate it in CI and keep the platform for humans.

Is llms.txt a Google ranking factor?

No. llms.txt is a proposed Markdown convention for language models, not a documented Google ranking factor. Keep Search Essentials, crawlable HTML, and honest docs. Use the file to help models that choose to read it.

Should we put the entire site into llms-full.txt?

No. Putting the entire site into llms-full.txt feeds models staging URLs, duplicate blogs, and outdated drafts. Allowlist canonical reference and policy pages only. If you cannot maintain the full file, ship only /llms.txt.

Generate the file from the same source of truth as your docs, review the diff, and fail on 404s. When that loop needs tickets and an approval node above Git, US Tech Automations can orchestrate those steps; start from the agentic workflows page rather than from a second copy of Markdown.

About the Author

Garrett Mullins
Garrett Mullins
Workflow Specialist

Helping businesses leverage automation for operational efficiency.