Does Docusaurus Generate llms.txt?

No. As of version 3.10.2, Docusaurus has no built-in llms.txt, and the feature request is still open on GitHub. You can add one with a community plugin, which writes the file every time you build and suits most docs sites. Or you can generate it from your live docs and put it in the static folder.
Checked against Docusaurus's GitHub issues and documentation, and each plugin's npm page, on 2 December 2026.
What Docusaurus Has Said
The request to add an llms.txt plugin to Docusaurus was opened in February 2025. Sébastien Lorber, a Docusaurus maintainer, wrote there on 23 May 2025: "Considering the number of issues linking back to this one, I think we should consider implementing such a plugin in Docusaurus core, even though I'm still not super convinced by the usefulness of this file."
No release has added it since. The changelog has no llms.txt entry up to version 3.10.2, which came out on 10 July 2026.
Lorber has also commented on related features for version 4. On 22 July 2026, in the version 4 umbrella issue, a user asked about "AEO-related features, e.g. 'Copy to Markdown', 'Open with Claude' and such". He answered (spelling as written): "This feature doesn't require breaking change and can be built in userland as many plugins demonsteate, so we are more likely to introduce an official solution in 4.x but not 4.0". Neither the question nor the answer names llms.txt. Version 4.0 isn't released, and the latest version on npm is 3.10.2.
Docusaurus's own site doesn't serve the file. docusaurus.io/llms.txt returned a 404 on 2 December 2026.
Option 1: A Plugin
A plugin is the better option for most Docusaurus sites, because it rebuilds the file with every deploy. Three community plugins are on npm. The download figures are npm's counts for the week of 24 to 30 November 2026.
| Package | What it writes | Latest version | Weekly downloads |
|---|---|---|---|
| docusaurus-plugin-llms | llms.txt, llms-full.txt and optional per-page .md files | 0.6.2 (18 November 2026) | 69,746 |
| @signalwire/docusaurus-plugin-llms-txt | llms.txt and per-page .md files, plus llms-full.txt with enableLlmsFullTxt | 1.2.2 (23 July 2025) | 39,301 |
| docusaurus-plugin-generate-llms-txt | One concatenated file at /llms.txt | 0.0.1 (15 November 2024) | 2,586 |
To install the most downloaded one:
npm install docusaurus-plugin-llms --save-dev
Then register it in docusaurus.config.js:
plugins: ['docusaurus-plugin-llms'],
Its README says it needs no configuration. On the next production build it writes llms.txt and llms-full.txt into the build output.
For the SignalWire plugin:
npm install @signalwire/docusaurus-plugin-llms-txt
That command installs version 1.2.2. A 2.0 alpha also exists, and the README in the GitHub repository documents 2.0, which has breaking API changes. Read the 1.2.2 documentation on npm so the options match what you installed. In 1.2.2, llms-full.txt stays off until you set enableLlmsFullTxt: true.
Option 2: Generate It From Your Live Docs
If you can't add a plugin, generate the file from the published docs instead. Point llms-txt.io at your docs URL and it returns llms.txt, llms-full.txt, or both, free and with no account for the first file. Its llms-full.txt stops at 20 pages. On a large docs site, use a plugin for that file. Generate a new copy when your docs change, because the file doesn't update itself.
For other free generators, and for plugins on VitePress, Starlight, MkDocs and Sphinx, see Best llms.txt Generators, Tested.
Put the file in your project's static folder. Docusaurus's static assets documentation says: "Every file you put into that directory will be copied into the root of the generated build folder with the directory hierarchy preserved." So static/llms.txt becomes /llms.txt on your next build and deploy.
The address changes only when your baseUrl is not /. With baseUrl: '/docs/', the file is served at /docs/llms.txt. A default site that keeps its docs under the /docs/ route still serves /llms.txt.
Check What You Shipped
Whichever option you used, open the live URL, then run it through the llms-txt.io validator. It's free and checks the file at its public address. To repeat the check in CI, the llms-txt.io API allows 2,000 validations a month with a free key.
Frequently Asked Questions
Does Docusaurus support llms-full.txt? Not built in. Two community plugins can write it. docusaurus-plugin-llms writes llms-full.txt on every production build, and @signalwire/docusaurus-plugin-llms-txt writes it when you set enableLlmsFullTxt.
Where does llms.txt go in a Docusaurus project? Put a file you made yourself in the static folder, and Docusaurus copies it to the root of the build. A plugin writes the file into the build output for you. If your baseUrl is not /, the file is served under that path.
Which Docusaurus llms.txt plugin is most used? By npm downloads in the week of 24 to 30 November 2026, docusaurus-plugin-llms came first with 69,746. @signalwire/docusaurus-plugin-llms-txt had 39,301, and docusaurus-plugin-generate-llms-txt had 2,586.
Will Docusaurus add llms.txt to core? It has been discussed, and no release has added it as of version 3.10.2. In the open feature request, maintainer Sébastien Lorber wrote on 23 May 2025: "Considering the number of issues linking back to this one, I think we should consider implementing such a plugin in Docusaurus core, even though I'm still not super convinced by the usefulness of this file." On 22 July 2026 he answered a question about features such as 'Copy to Markdown' and 'Open with Claude' by saying "we are more likely to introduce an official solution in 4.x but not 4.0". That answer didn't name llms.txt.