Docs / features
Understanding LLMs.txt
What is LLMs.txt?
llms.txt is a plain-text map of your website for large language models (LLMs). llms.txt is a proposed convention. We can't show that any particular assistant reads it; the Crawlers screen shows which bots fetch your files.
The file lives at the root of your site:
https://yoursite.com/llms.txtWhy This Matters
llms.txt is a proposed plain-text guide to your site, published at its own public URL. llmstxt.org describes it as a proposal, not a standard, and Google says its AI features need no AI text files. llms-full.txt puts the text of your pages in one file, for any tool that asks for it. Both are open to anyone who requests them; neither changes your normal pages.
What It Contains
Your LLMs.txt file describes:
- What your business does
- What pages exist on your site
- What each page contains
- How to accurately describe your offerings
File Format
An AI model writes your llms.txt from your synced pages. The wording varies; a typical file looks like this:
# Your Site Name
> A brief description of your business and what you offer.
## Pages
- Page Title: /url-path
AI-optimized summary of the page content...
- Another Page: /another-path
Description of what this page covers...
---
Last updated: 2026-01-01
Domain: yoursite.comSections Explained
| Section | Purpose |
|---|---|
Header (#) | Your site/business name |
Blockquote (>) | Brief description of your business |
| Pages | List of pages with URLs and summaries |
| Footer | The date it was generated and your domain |
LLMs.txt vs LLMs-full.txt
Topmast generates two files:
llms.txt
- Concise summaries of your main pages
- Written by an AI model from your synced pages
llms-full.txt
- Complete content from each page
- Built from your page content and summaries
The plugin serves each file once you publish it. Until then it returns 404.
Generation Process
When you generate LLMs.txt, Topmast:
- Fetches your synced published pages, up to your plan's page limit (50 on Starter, 100 on Basic, Pro and Fleet)
- Writes the file with a model from OpenAI, Anthropic or Google, chosen by Topmast
- Adds a footer with the date and your domain
- Saves it in WordPress as a draft (or publishes it straight away if Auto Publish is on in Settings)
Managing LLMs.txt
Regenerate
Update your LLMs.txt when content changes significantly:
- Go to Topmast → Channels → llms.txt
- Click Regenerate
- Check the preview, then click Publish
Or via WP-CLI:
wp topmast llms-txt generate --forceWithout --force, Topmast reuses the last file if your synced pages haven't changed. The file never regenerates on its own.
Publish and Unpublish
wp topmast llms-txt publish
wp topmast llms-txt unpublish --fullViewing Your File
Browser Preview
Visit these URLs to see your generated files:
https://yoursite.com/llms.txthttps://yoursite.com/llms-full.txt
Admin Preview
Preview in WordPress at Topmast → Channels → llms.txt:
- View generated content
- See whether each file is a draft or published
- Check generation date
WP-CLI
# View LLMs.txt content
wp topmast llms-txt show
# Status, size and public URL of both files
wp topmast llms-txt statusTroubleshooting
404 Error on /llms.txt
Solution: Flush rewrite rules
- Go to Settings → Permalinks
- Click Save Changes
Or: wp rewrite flush
Empty or Missing Content
Possible causes:
- No pages synced yet - run
wp topmast sync - The file is still a draft - click Publish
- Generation failed - check
wp topmast logs show --level=error
Outdated Content
Solution: Force regeneration
wp topmast llms-txt generate --forceOr click Regenerate in the admin panel.
Best Practices
Keep Content Current
- The plugin syncs a page when you publish or update it, and runs a full sync weekly
- Regenerate when you make significant changes
- Review summaries for accuracy
Optimize Page Content
Better source content leads to better AI summaries:
- Write clear, descriptive titles
- Include key information early in content
- Use structured headings (H2, H3)
- Add relevant keywords naturally
Monitor AI Visibility
After implementing LLMs.txt:
- See which bots fetch your files on the Crawlers screen
- Track AI mentions in your dashboard