PageForge 1.3: check every run before it writes, update generated pages, spintax and resumable batches. See what changed
Account Get it free

Free tool

Free llms.txt Generator Online

Generate a free llms.txt file from your sitemap. Pick up to 60 pages, group them into sections, mark extras as Optional, then copy or download the result.

  • Reads your sitemap
  • Edit before download
  • Free, no signup

Reads your homepage and XML sitemap (sitemap.xml, sitemap_index.xml or the Sitemap line in robots.txt) and lists up to 60 pages.

Free llms.txt Generator for AI Search and LLM Discovery

The PageForge llms.txt generator builds an llms.txt file from your own site. Enter your URL and the tool reads your homepage title and description and your XML sitemap, then lists up to 60 pages so you can choose which to include, sort them into sections and mark the less important ones as Optional.

It writes the result in the format described at llmstxt.org: your site name as a heading, a one-line summary, and grouped lists of links with short notes. You can edit the file in the browser, copy it, or download it and upload it to your site root at /llms.txt. The tool is free and needs no signup.

What follows covers what llms.txt is and what it is not, how to use the generator step by step, how to structure and write a file that is worth reading, examples for different kinds of sites, how to publish and test the file on WordPress and other platforms, and an honest look at what it can and cannot do for search.

What Is llms.txt?

llms.txt is a proposed plain-text file, written in Markdown, that gives language models and AI agents a short, curated guide to the most useful content on a website. Jeremy Howard published the proposal at llmstxt.org in September 2024, and the page has been revised since.

The file normally sits at the root of a domain:

https://example.com/llms.txt

The proposal also allows a file at a subpath, such as /docs/llms.txt, which then covers the pages under that path. When more than one file applies, agents are meant to use the most specific one.

The format is deliberately simple. In order, a file contains:

  1. An H1 with the name of the site or project. This is the only required part.
  2. A blockquote with a short summary of the site.
  3. Optionally, more Markdown such as paragraphs or lists with key details, but no headings.
  4. Optionally, one or more sections that start with an H2 and contain a list of links.

Each list item is a Markdown link, optionally followed by a colon and a note about the page:

- [Pricing](https://example.com/pricing/): Plans, limits and what each plan includes

A section titled ## Optional has a special meaning. It holds secondary links that an agent can skip when it needs a shorter context.

A complete small file looks like this:

# Example Company

> Example Company makes project management software for agencies and consultants.

Plans start with a free tier. The product runs in the browser and on iOS and Android.

## Product

- [Features](https://example.com/features/): Task tracking, client portals, time tracking and reports
- [Pricing](https://example.com/pricing/): Free, Team and Agency plans compared
- [Integrations](https://example.com/integrations/): Calendar, CRM and chat integrations

## Guides

- [Agency project management](https://example.com/guides/agency-projects/): How to run several client projects in one workspace

## Optional

- [Changelog](https://example.com/changelog/): Release notes by month

The proposal also suggests offering clean Markdown versions of important pages at the same URL with .md added, such as page.html.md or index.md, and linking a page to the llms.txt that covers it with rel="describedby". Neither is required to publish an llms.txt file.

llms.txt does not replace your website, your XML sitemap or your robots.txt. Think of it as a briefing note: if an assistant had a minute to understand your site, these are the pages you would hand it.

Why llms.txt Matters for AI Search and Website Understanding

Websites are built for people browsing: navigation, scripts, layout, cookie notices, related posts and footers. A language model trying to answer a question about your business has to work through all of that to find the parts that matter. llms.txt puts the important parts in one short, clean file.

The llmstxt.org proposal describes the file as something used on demand, when an agent is helping a user with a question, and says it is mainly useful at that point rather than for training. A file can tell an agent:

  • Who you are and what the site covers
  • Which pages explain your products, services or documentation
  • Which pages are secondary and can be skipped

It is important to be accurate about adoption. llms.txt is a proposal, not a standard that search engines have committed to. Google’s guidance on AI features and your website states that you do not need to create new machine-readable files, AI text files or markup to appear in AI Overviews or AI Mode. The crawler documentation published by OpenAI, Anthropic and Perplexity covers robots.txt controls and does not describe llms.txt as something they use to rank or cite pages. Some of those companies do publish llms.txt files for their own developer documentation: the OpenAI and Perplexity crawler pages both point readers to an llms.txt index of their docs. Publishing a file for your own docs is a different thing from reading other sites’ files to answer questions.

So why publish one? Three reasons hold up:

  • It costs little. A curated file of 20 to 80 links takes about an hour to review and minutes to update.
  • Some tools read it. Agents, coding assistants and developer tools that support the format can use it when someone points them at your site.
  • It forces useful decisions. Choosing your 30 most important pages, and writing one accurate sentence for each, exposes weak pages, missing pages and unclear positioning.

The last reason is often the most valuable. If you cannot write a clear note for a page, the page probably needs work.

Treat llms.txt as one small part of making a site easy to understand, alongside crawlable pages, internal links, structured data and an XML sitemap. Before you publish it, make sure the pages it points to can actually be fetched and read; the AI search readiness checker tests that for any URL.

What the PageForge Free llms.txt Generator Does

The llms.txt generator turns your existing site structure into a draft llms.txt that you control. It:

  • Reads your homepage title and meta description
  • Finds your XML sitemap at /sitemap.xml, /sitemap_index.xml, WordPress’s /wp-sitemap.xml or the Sitemap: line in robots.txt
  • Lists up to 60 pages from the sitemap with their titles, and uses each page’s meta description as its starting note
  • Lets you tick the pages to include
  • Lets you assign each page to a section, such as Docs, Product, Guides or Policies
  • Lets you mark pages as Optional
  • Writes the file in the llmstxt.org format: H1 site name, blockquote summary, then sections of - [Title](URL): note
  • Lets you edit the output before you copy or download it
  • Explains where to upload the file

What it does not do:

  • It does not upload the file to your site; you publish it yourself
  • It does not create an llms-full.txt file or Markdown copies of your pages
  • It does not crawl your whole site: pages missing from your sitemap only appear if you add them
  • It does not change your robots.txt, sitemap or pages

The output is a draft. The tool supplies the structure and the links; you supply the judgment about which pages matter and what each one is for.

How the llms.txt Generator Works

The generator works from two sources on your site.

Your homepage. The page title becomes the starting point for the H1, and the meta description becomes the blockquote summary. If your homepage title is “Home | Acme” or your description is missing, fix those in the editor, and consider fixing them on the site too, since search engines and social previews use the same fields.

Your XML sitemap. The tool checks robots.txt for a Sitemap: line and looks at the common locations: /sitemap.xml, /sitemap_index.xml and WordPress’s built-in /wp-sitemap.xml. Most SEO plugins and site builders use one of those addresses. If your sitemap lives somewhere else, add a Sitemap: line pointing to it in robots.txt, which is good practice for search engines anyway. When the sitemap is an index, the tool reads the page, post, product and docs sitemaps first and skips tag, author and media sitemaps.

From the sitemap it lists up to 60 pages, shallow pages first. It then opens each one to read its real title and meta description; the description becomes the page’s starting note, which you can rewrite. The cap keeps the list manageable, and it fits what the file is for: an llms.txt is a shortlist, not a copy of your sitemap. On a larger site, only 60 of your pages appear in the list, so check that the ones you need are there. You can add any others with the Add page field under the list, or by typing extra lines in the editor.

If the tool finds no sitemap, it lists the links on your homepage instead, which usually means your main navigation. That is a usable start, but a sitemap gives a fuller list: create one with the free XML sitemap generator or your SEO plugin, then run the llms.txt generator again.

Once you have chosen pages and sections, the tool assembles the file in this order:

# Site name

> Summary from the homepage description

## Section one

- [Page title](https://example.com/page/): note

## Section two

- [Page title](https://example.com/page-2/): note

## Optional

- [Page title](https://example.com/page-3/): note

Pages you mark as Optional go into the ## Optional section at the end, which matches the convention in the proposal.

How to Use the Free llms.txt Generator

Step 1: Enter your site URL

Type your homepage or domain, for example https://example.com/. Use the version of the domain your site actually serves, with or without www, so the links in the file match your canonical URLs.

Step 2: Let the tool read your site

The generator fetches your homepage title and description and looks for your sitemap. The site has to be public. Staging sites behind a password, pages that need a login and hosts that block automated requests will return little or nothing.

Step 3: Review the page list

You will see up to 60 pages with their titles. Before ticking anything, scan the list for problems the sitemap itself has: old pages, test pages, tag archives, attachment pages or duplicates. If they appear here, they are in your sitemap, and that is worth fixing separately.

Step 4: Tick the pages to include

Choose the pages that best explain your site. A useful rule: include a page if a new customer, a journalist or a support agent would need it to understand what you do. For most sites that is between 15 and 60 pages.

Typical picks:

  • Homepage, about and contact
  • Main product, service or category pages
  • Pricing
  • Documentation hubs and key how-to pages
  • Two to ten of your best evergreen guides
  • Policies that customers ask about, such as shipping, returns or security

Step 5: Assign sections

Put each page in a section. Short, plain section names work best: Product, Services, Docs, Guides, Locations, Support, Policies. Keep the number of sections small, usually three to six, so the file stays easy to scan. If the name you want is not offered, pick the closest one and rename the heading in the editor afterwards.

Step 6: Mark Optional pages

Mark pages as Optional when they are useful but not essential: changelogs, press pages, careers, legal pages that rarely matter to a buyer, or long archives. An agent with a tight context budget can skip them.

Step 7: Generate and edit the file

Generate the file and read it top to bottom in the editor. This is where most of the value is added:

  • Rewrite the H1 to your plain brand or product name
  • Rewrite the summary so it says what you do and for whom, in one or two sentences
  • Add a short paragraph of key facts under the summary if it helps: where you operate, who you serve, what you do not offer
  • Improve the note after each link so it says what the page contains (the starting note is the page’s meta description, which is often written to win clicks rather than to describe the page)
  • Reorder sections and links so the most important come first

Step 8: Copy or download

Copy the text to your clipboard or download it as a file. Keep the file name exactly llms.txt, all lowercase.

Step 9: Upload it to your site root

The file should be reachable at https://yourdomain.com/llms.txt. How you get it there depends on your platform; the publishing sections below cover WordPress, Shopify, Drupal, Magento 2 and custom sites.

Step 10: Test the public URL

Open https://yourdomain.com/llms.txt in a private browser window. It should load as plain text, not as a styled web page, a 404 or a redirect to your homepage. Then follow the validation checklist further down.

Tip: Save your edited file somewhere you can find it, such as your project repository or a shared drive. When the site changes, you can regenerate a fresh list and merge your hand-written notes back in rather than starting over.

Recommended Structure for llms.txt

A strong llms.txt file is short, selective and specific. It points to the pages that explain your site best and says in a sentence what each one is for.

Start with the site name

Use one H1 with the real name of your brand, product or organization:

# PageForge

Do not stuff keywords into it. “PageForge” is better than “PageForge Best Programmatic SEO Plugin WordPress Bulk Pages”.

Add a short summary

Use a blockquote with one or two sentences that say what the site is and who it serves:

> PageForge is a WordPress plugin that creates SEO pages in bulk from a CSV file and one page template.

Be specific. “The leading solution for all your needs” tells a reader nothing.

Add key facts if they help

A short paragraph or list after the summary can hold facts an assistant is likely to need and likely to get wrong: the markets you serve, the platforms you support, what the free plan includes, what you do not do. Keep it to a few lines. Headings are not allowed in this part.

Group links by topic

Each H2 starts a section of links. Name sections for what a reader is looking for:

  • Product, Features or Services
  • Pricing
  • Docs or Documentation
  • Guides
  • Locations
  • Support
  • Policies
  • Optional

Put the sections in order of importance, and the most important link first within each section.

Describe every link

A link with no note gives an agent the title and nothing else. Compare:

- [Features](https://example.com/features/)

with:

- [Features](https://example.com/features/): Overview of CSV page generation, title and URL patterns, schema output and hub pages

The second tells the reader what is on the page before anyone fetches it.

Use the Optional section deliberately

Put secondary links in ## Optional at the end. The proposal treats it as the part an agent can drop when space is short, so do not hide anything essential there.

Best Practices for Writing Link Descriptions

Notes are what turn a list of links into a useful guide. llmstxt.org gives four tips: use concise, clear language; give links brief, informative descriptions; avoid ambiguous terms and unexplained jargon; and test the file by asking an agent questions about your content with only the llms.txt as a starting point.

In practice:

Be specific

Weak: Features page.

Strong: Overview of task tracking, client portals, time tracking and PDF reports.

Describe the page, not the pitch

Write what the page contains, not why someone should buy. “Plans for freelancers, teams and agencies, with user limits and storage” is more useful than “Our amazing affordable plans”.

Keep each note to one sentence

Ten to twenty-five words is usually enough. If a page needs a paragraph to explain, the page may be doing too many jobs.

Use the words your customers use

If buyers call it “invoicing” and you call it “billing workflows”, mention both once. Assistants match questions to text.

Match the page

A pricing note describes pricing. A documentation note names the topic and the task. Never describe content the page does not have.

State limits plainly

“Supports WordPress 5.8 or later; not available for Shopify” prevents more wrong answers than any amount of positive description.

What to Include in llms.txt

The best files are selective. Include pages that explain the site, not every URL you have published.

  • Homepage, if it explains clearly what you do
  • Product or service pages, the pages that say what you offer and to whom
  • Pricing, if it is public; assistants are often asked what things cost
  • Documentation hubs, getting-started guides, setup and troubleshooting pages
  • API references, authentication guides and SDK pages for developer products
  • Evergreen guides, your best and best-maintained articles, not every post
  • Case studies, a few public, representative ones
  • Support resources, FAQs, help center hubs and contact pages
  • Policies that customers ask about: shipping, returns, privacy, security, refunds
  • Location hubs for multi-location businesses, rather than every location page

What Not to Include in llms.txt

What you leave out matters as much.

  • Private information. No passwords, keys, private URLs, customer data, unpublished documents or internal notes. The file is public.
  • Admin, login and staging URLs. Exclude dashboards, login pages, staging hosts and internal tools.
  • Low-value archives. Tag archives, date archives, internal search results, thin category pages and paginated lists add noise.
  • Every blog post. A long list of weak posts makes the strong ones harder to find.
  • Misleading notes. Do not exaggerate or describe content that is not on the page.
  • Expired offers. Temporary campaign pages go stale fast. Leave them out unless you will update the file when they end.
  • Keyword lists. Repeating phrases does not help a reader understand the site and makes the file look like spam.

llms.txt Examples by Website Type

Different sites need different sections. These examples use placeholder domains.

Example for a SaaS website

# Acme Analytics

> Acme Analytics is product analytics software for SaaS teams: event tracking, funnels, retention and cohort reports.

Acme runs in the cloud with data hosting in the US and EU. There is a free plan for up to 10 million events a month.

## Product

- [Features](https://example.com/features/): Dashboards, event tracking, funnels, cohorts and retention reports
- [Pricing](https://example.com/pricing/): Free, Growth and Enterprise plans with event limits
- [Integrations](https://example.com/integrations/): Data warehouse, CRM and messaging integrations

## Docs

- [Getting started](https://example.com/docs/getting-started/): Install the tracking snippet and build a first dashboard
- [API reference](https://example.com/docs/api/): Send events and query reports over the REST API

## Guides

- [SaaS retention metrics](https://example.com/blog/retention-metrics/): How to measure retention and churn in subscription products

## Optional

- [Changelog](https://example.com/changelog/): Monthly release notes

Example for a WordPress plugin

# Example SEO Plugin

> Example SEO Plugin manages titles, meta descriptions, schema and redirects for WordPress sites.

Requires WordPress 6.0 or later and PHP 7.4 or later. A free version is available on WordPress.org.

## Plugin

- [Features](https://example.com/features/): Metadata, schema, redirects and XML sitemap features
- [Pricing](https://example.com/pricing/): Free and paid plans and what each adds
- [WordPress.org listing](https://wordpress.org/plugins/example/): The free plugin's official download page

## Docs

- [Installation](https://example.com/docs/install/): Install, activate and run the setup wizard
- [Schema settings](https://example.com/docs/schema/): Choose organization type and per-page schema

Example for ecommerce

# Outdoor Gear Store

> Outdoor Gear Store sells hiking, camping and travel equipment and ships to the US and Canada.

## Categories

- [Hiking backpacks](https://example.com/collections/hiking-backpacks/): Daypacks and multi-day packs from 15 to 70 liters
- [Tents](https://example.com/collections/tents/): Solo, family and lightweight backpacking tents
- [Sleeping bags](https://example.com/collections/sleeping-bags/): Bags sorted by temperature rating and weight

## Buying guides

- [How to choose a hiking backpack](https://example.com/guides/backpack/): Sizing, fit, capacity and features
- [Tent buying guide](https://example.com/guides/tents/): Capacity, season ratings and materials explained

## Support

- [Shipping](https://example.com/shipping/): Delivery options, times and regions served
- [Returns](https://example.com/returns/): 30-day return policy and exchange process

Example for a local business

# Smith Family Dental

> Smith Family Dental provides general, cosmetic and emergency dental care in Austin, Texas.

Open Monday to Saturday. Accepts most major dental insurance plans. New patients welcome.

## Services

- [General dentistry](https://example.com/general-dentistry/): Checkups, cleanings, fillings and preventive care
- [Emergency dentist](https://example.com/emergency-dentist/): Same-day appointments for pain, broken teeth and swelling
- [Cosmetic dentistry](https://example.com/cosmetic-dentistry/): Whitening, veneers and bonding

## Patients

- [Insurance and payment](https://example.com/insurance/): Accepted insurance plans and payment options
- [Book an appointment](https://example.com/book/): Online booking and phone number
- [Location and hours](https://example.com/contact/): Address, parking and opening hours

Example for a documentation site

# Example SDK

> Example SDK is an open-source library for sending transactional email from Node.js, Python and Go.

## Start here

- [Quickstart](https://example.com/docs/quickstart/): Install the SDK and send a first message in five minutes
- [Authentication](https://example.com/docs/auth/): Create API keys and scope them per environment

## Reference

- [Node.js reference](https://example.com/docs/node/): Every method, parameter and error code for Node.js
- [Python reference](https://example.com/docs/python/): The same reference for Python

## Optional

- [Migration from v2](https://example.com/docs/migrate-v3/): Breaking changes between versions 2 and 3

llms.txt vs llms-full.txt

You will see llms-full.txt mentioned alongside llms.txt. It is worth knowing where it comes from.

llms.txt is the file the llmstxt.org proposal describes: a short index of links with notes.

llms-full.txt is a convention that grew up around the proposal, mostly on documentation sites. It is a single, much longer file that contains the full text of the important pages, so an agent can load everything at once instead of following links. The llmstxt.org page itself does not define llms-full.txt, so there is no agreed structure for it.

The PageForge generator writes llms.txt. If you want an llms-full.txt, you assemble it yourself from your own content, or use your documentation platform’s export if it offers one.

When each is worth it:

Situationllms.txtllms-full.txt
Small business or local service siteYesRarely needed
Ecommerce storeYes, with categories and policiesRarely needed
SaaS marketing siteYesOnly for product docs
Developer documentation or APIYesOften useful
Knowledge base or course contentYesSometimes useful

Start with llms.txt. It is easier to review and keep accurate. Add llms-full.txt only when you have documentation that people actually load into AI tools, and only if you can keep it in step with the live pages.

Recommended Structure for llms-full.txt

If you build an llms-full.txt, give it structure. A raw dump of every page is long, repetitive and full of navigation text.

A workable layout:

  1. The same H1 and summary as your llms.txt
  2. A short paragraph explaining what the file contains and when it was last updated
  3. One section per important page, headed with the page title and its URL
  4. Under each, the page’s main content in clean Markdown, without menus, footers, cookie notices or related-post lists

Practical rules:

  • Include durable content. Core product pages, documentation, permanent guides and key policies. Leave out time-limited promotions.
  • Summarize sections first. A two-line summary before each block helps a reader decide whether to read it.
  • State limits and requirements. Supported platforms, version requirements and known limitations prevent wrong answers.
  • Explain dependencies. “Read the installation guide before the API reference” is useful context.
  • Watch the size. A file that runs to hundreds of thousands of words may not fit an agent’s context at all. Split by product or audience if it grows large.

llms.txt vs robots.txt vs sitemap.xml

These three files are often confused. They do different jobs, and you need each for its own reason.

robots.txt tells crawlers which URL paths they may fetch. Google describes it as a way to manage crawler traffic and says it is not a mechanism for keeping a page out of Google; use noindex or password protection for that. robots.txt must sit at the top level of a host, and its rules apply only to that host, protocol and port, as Google’s robots.txt specification explains.

sitemap.xml lists the URLs you want search engines to discover, with optional details such as the last modified date. The sitemaps.org protocol allows up to 50,000 URLs and 50 MB per file, with index files for larger sites, and a Sitemap: line in robots.txt to point crawlers to it. Google notes in its sitemaps overview that a sitemap helps discovery but does not guarantee every URL will be crawled or indexed.

llms.txt is neither a permission file nor a complete URL list. It is a short, curated guide that explains which pages matter and what they contain. llmstxt.org gives three reasons a sitemap cannot do this job: sitemaps often leave out LLM-friendly versions of pages, they cannot include links to other sites, and they usually list far too much to fit in a model’s context.

FileMain jobFormatWho reads itTypical size
robots.txtTell crawlers which paths they may fetchPlain text rulesSearch and AI crawlersA few lines to a few hundred
sitemap.xmlList URLs for discoveryXMLSearch engine crawlersEvery indexable URL, up to 50,000 per file
llms.txtPoint agents to the most useful pages, with contextMarkdownAgents and tools that support itUsually 15 to 100 links
llms-full.txtProvide the full text of key pages in one fileMarkdown or plain textAgents and tools that support itCan be very long

Two practical consequences. First, llms.txt does not block anything; if a page must stay private, protect it on the server. Second, a page listed in llms.txt but blocked in robots.txt sends mixed signals, so check that every listed URL is crawlable.

How to Publish llms.txt on WordPress

WordPress does not create an llms.txt file by itself. You have four main options.

Option 1: Upload the file to the site root

If you have FTP, SFTP or SSH access, upload llms.txt to the folder that contains wp-config.php, often called public_html, www or htdocs. A static file in the web root is served by the web server before WordPress loads.

Option 2: Use your host’s file manager

Most hosting control panels include a file manager. Open the site’s root folder, create a file named llms.txt and paste in the generated content. Save it as UTF-8.

Option 3: Check your SEO plugin first

Some SEO plugins can now generate llms.txt; the llmstxt.org page lists Yoast SEO and All in One SEO among them. Before you upload a file by hand, open https://yourdomain.com/llms.txt to see whether one already exists, and check your SEO plugin’s settings. Run one source, not two. If you want full control over the contents, turn off the plugin’s version and upload your own, or use the generator’s output as a guide for the plugin’s settings.

Option 4: Ask your developer or host

If you cannot edit files yourself, send the downloaded file to your developer and ask for it to be served at the domain root with a 200 status.

After publishing

  • Visit https://yourdomain.com/llms.txt in a private window
  • If you see a 404, the file is in the wrong folder or a rewrite rule is intercepting it
  • If you see an old version, clear your page cache and CDN cache
  • If a security plugin blocks .txt files, add an exception for this one

How to Publish llms.txt on Shopify, Drupal, Magento 2 and Custom Sites

Shopify and other hosted builders

Hosted platforms control the web root, so you cannot always place a file at /llms.txt directly. Check your platform’s documentation and app store for a supported way to serve a root-level text file. If the platform offers none, a developer may be able to add it through a proxy or a custom route. Avoid publishing the content as a normal web page instead; an HTML page at a different URL is not what tools looking for /llms.txt expect.

Drupal

Drupal sites can usually serve a static file from the web root if you have hosting access. On managed or enterprise hosting, the file may need to go through version control and a deployment pipeline. Confirm that no route or cache rule intercepts the path.

Magento 2

Place the file in the directory your web server uses as the document root, which on many Magento 2 installs is the pub folder rather than the project root. Then confirm that full-page cache, Varnish or security rules do not intercept /llms.txt.

Custom sites and frameworks

Add a static file or a route that returns the file at /llms.txt with a 200 status and a text/plain or text/markdown content type. Make sure it is not redirected to an HTML page and does not require a session or cookie.

How to Optimize llms.txt by Platform and Site Type

WordPress

WordPress creates many URLs: pages, posts, categories, tags, author archives, attachment pages and custom post types. Your llms.txt should cut through them.

  • Include the homepage, about, contact, pricing and your main product or service pages
  • Add your best evergreen guides, not every post
  • Include documentation or knowledge-base hubs if you have them
  • Leave out tag, date and author archives and attachment pages
  • Write notes that say what each page covers, such as “Guide to creating WordPress landing pages from a spreadsheet”, not “Blog post about SEO”

Drupal

Drupal often runs universities, public bodies and large organizations with deep taxonomies. Focus on the pages that explain the organization: about, services or departments, research or publications hubs, resource libraries, news hubs, and contact. Choose canonical landing pages rather than taxonomy term listings.

Magento 2

Large catalogs need the strictest curation. Include main categories, brand pages, buying guides, shipping, returns, warranty and support. List individual products only if the store is small or a few products matter strategically. Never include layered navigation or filtered URLs.

Documentation sites

Documentation is the clearest use case. Help an agent find its starting point: getting started, installation, authentication, core concepts, API reference, SDKs, tutorials, troubleshooting and the changelog. For large docs, consider a separate llms.txt inside /docs/, which the proposal allows, and an llms-full.txt if users load your docs into AI tools.

Restaurants, local services and small businesses

Small businesses need a clear file, not a long one. A restaurant might list its menu, opening hours, reservations, location, and delivery or catering. A local service business might list its main services, service areas, booking page, reviews page, pricing or estimates, and FAQs. Put the facts people ask about most, such as hours and areas served, in the summary paragraph.

How llms.txt Supports Programmatic SEO

Programmatic SEO creates many pages from structured data, such as one page per service and city. That can work well when each page is useful and distinct. It also makes a site harder to summarize, because the important pages are buried among hundreds of similar ones.

An llms.txt file for a programmatic site should not list every generated page. It should list the structure:

  • The main services hub
  • The main locations hub
  • Category or industry hubs
  • A handful of representative or high-value pages
  • The guides, pricing and contact pages that apply across all of them

For example, a site with 2,000 service and city pages might list the services hub, the locations hub, five of its busiest city pages, three guides and the booking page. That gives an agent a map without flooding it.

This only works if those hubs exist. A hub page that links to every generated page gives people, crawlers and agents a path to each one. The guide to programmatic SEO site architecture covers URL patterns, hubs and crawl depth, and the PageForge sitemap block lists generated pages on a hub page grouped by city, state or service.

PageForge is a WordPress plugin that builds those pages from a CSV file and one template, each with its own title, URL, meta description and schema. The free plugin runs up to 100 rows at a time; Pro removes the row limit and adds Google Sheets sync on the Professional and Enterprise plans. After a large run, regenerate your llms.txt so it points to the new hubs. The Free and Pro comparison lists what each edition includes.

For local campaigns, the location page generator overview explains how service-area pages are built, and the guide to service area pages covers what each one should contain before it earns a place in your file.

How llms.txt Works With Schema, Internal Links and XML Sitemaps

Schema markup

Schema markup describes entities on each page in a format search engines read: your organization, a product, a service, an article. llms.txt describes the site as a whole in plain Markdown. They answer different questions, so use both where they fit. Keep the facts consistent: if your Organization schema says you serve three countries, your llms.txt summary should not say five. The schema markup automation overview shows how PageForge adds JSON-LD to generated pages.

Internal links

If a page is important enough for llms.txt, it should also be easy to reach from your navigation, hubs or related content. A page that appears only in llms.txt is an orphan with a label. Use the file as a check: for each link, ask whether a visitor could find that page in two or three clicks from the homepage. The approach to internal linking for programmatic SEO applies to any site with many similar pages.

XML sitemaps

Your sitemap and your llms.txt should not match. The sitemap lists every indexable URL; the llms.txt lists the best ones. A site with 3,000 URLs in its sitemap and 40 links in its llms.txt is normal. What should match is quality: every URL in llms.txt should also be in the sitemap, return 200 and be indexable.

Does llms.txt Help SEO?

Not directly. llms.txt is not a ranking factor, and Google has said its AI features need no AI text files. Anyone who sells llms.txt as a shortcut to rankings is overselling it.

The indirect benefits are real, though, and they come from the work rather than the file:

  • You decide which pages represent the site, which often shows pages that need improving
  • You write one accurate sentence per key page, which often improves meta descriptions too
  • You find pages that are important but poorly linked
  • You find sitemap problems while reviewing the page list
  • Tools that do read the file get a clean summary instead of guessing

Do the work for those reasons, publish the file because it is cheap, and measure SEO by the usual signals: indexing, impressions, clicks and conversions.

How llms.txt Fits Into AI Visibility and GEO

Generative engine optimization, or GEO, is the work of being found, understood and cited by AI systems that write answers. llms.txt is a small part of it. The larger parts are the same things that make any page a good source:

  • Pages that crawlers can fetch and read without running JavaScript
  • Clear product, service and documentation pages
  • Consistent brand facts across the site and in schema
  • Author and organization information
  • Evidence: specifications, data, examples and dates
  • Clean internal linking
  • Crawler policies that match your goals

Check the first and last points with the AI search readiness checker on the pages your llms.txt lists. A file that points to pages crawlers cannot read helps no one.

How to Validate an llms.txt File

Check three things: structure, content and delivery.

Structure

  • One H1 at the top, and only one
  • A blockquote summary directly after it
  • Any extra details as paragraphs or lists, with no headings, before the first H2
  • Each section starts with an H2
  • Each list item is a Markdown link in the form [Title](URL), with an optional : note
  • An ## Optional section, if used, at the end
  • No HTML

Content

  • The summary describes the site accurately and specifically
  • Every link points to a live, canonical URL on the right domain, with the right protocol
  • Every note matches what the page contains
  • No private, staging or admin URLs
  • No keyword stuffing or marketing superlatives
  • No pages that robots.txt blocks or that carry noindex

Delivery

  • https://yourdomain.com/llms.txt returns 200, not a redirect or 404
  • The content type is text/plain or text/markdown, not text/html
  • The file is UTF-8 encoded
  • It loads without cookies, a login or a bot challenge
  • It is served from the same host as your canonical URLs

From a terminal, one command checks the status and content type:

curl -sI https://yourdomain.com/llms.txt

Look for HTTP/2 200 (or HTTP/1.1 200) and a content-type that starts with text/plain or text/markdown.

How to Test Your llms.txt File With AI Tools

A valid file can still be unhelpful. Test it the way llmstxt.org suggests: give an assistant only your llms.txt and ask it questions.

Read it yourself first

  • Can you understand what the business does in under a minute?
  • Are the sections in a logical order?
  • Is every note accurate?
  • Would you know which page to open for a pricing, setup or returns question?

Ask an assistant

Paste the file into an AI assistant and ask:

  • What does this company do, and for whom?
  • Which page should I read first to get started?
  • What does it cost?
  • What does it not offer?
  • What is unclear or missing?

If the answers are vague or wrong, the file, and probably the site, needs clearer wording. Fix the notes and summary, then test again.

Compare with the homepage

Ask the same questions using only your homepage text. If the llms.txt version does not give clearer answers, it is not yet doing its job.

Common llms.txt Mistakes

  • Too many links. Twenty strong links help more than 500 weak ones. The point is selection.
  • Vague notes. “Learn more” and “Information page” tell an agent nothing.
  • Marketing language. “Revolutionary all-in-one platform” is less useful than “Invoicing and time tracking for agencies”.
  • Stale content. A file that still lists last year’s prices or retired products causes wrong answers.
  • Private links. Staging URLs, internal tools or unpublished pages in a public file.
  • Treating it as robots.txt. llms.txt does not block crawlers or hide pages.
  • Broken delivery. A file served as HTML, behind a redirect, or blocked by a security rule.
  • Two competing files. An SEO plugin generating one version while a static file serves another.
  • Wrong domain or protocol. Links that use http:// or a non-canonical host.
  • Expecting rankings. llms.txt is a guide for tools that read it, not a ranking signal.

Security and Privacy Considerations

llms.txt is public. Anyone who knows the URL can read it, and it is easy to guess.

Before you publish, check that the file does not:

  • Reveal private or unpublished pages
  • Link to admin panels, internal tools or staging sites
  • Mention products or plans that are not announced
  • Name customers without their permission
  • Include private documentation or support content meant for logged-in users

If something must stay private, protect it with authentication on the server. Leaving it out of llms.txt does not hide it, and listing it does not grant anyone access.

How Often Should You Update llms.txt?

Update the file when the pages it describes change in a way that matters:

  • A new product, service or location launches
  • Pricing or plans change
  • Documentation is restructured or a new API version ships
  • A product or page is retired
  • The site is redesigned or migrated
  • A large programmatic page campaign goes live
  • A key guide is replaced by a better one

For most business sites, a quarterly review is enough. Documentation sites that release often should update it with each release. When you update many pages at once, review the llms.txt in the same pass; the checklist for updating hundreds of WordPress pages is a good time to do it.

Worked Examples

These examples are hypothetical. They show how the generator’s output becomes a finished file.

Example 1: A 48-page plumbing site on WordPress

A plumbing company’s sitemap has 48 URLs: a homepage, an about page, 8 service pages, an “Areas we serve” hub, 28 city pages, 4 blog posts, a reviews page, a contact page, two policy pages and a careers page. The generator lists all 48.

The owner ticks 19:

  • Services (8): each service page, with notes naming what the service covers
  • Areas (1): the “Areas we serve” hub, rather than all 28 city pages
  • Guides (3): the three posts customers ask about most
  • Company (4): homepage, about, reviews and contact
  • Optional (3): the two policy pages and the careers page

The summary becomes: “Licensed plumbing company serving Dayton, Ohio and 28 surrounding towns, offering repairs, water heaters, drain cleaning and 24-hour emergency service.” The finished file has 19 links in five sections, and the owner spends most of the time on the eight service notes.

Example 2: A SaaS site with 420 URLs

A SaaS company’s sitemap index lists 420 URLs across pages, docs and posts. The generator lists 60 of them, including the main product pages but only some of the docs.

The team ticks 22 pages from the list, assigns Product, Docs and Guides sections, then adds 9 documentation links by hand in the editor, copying titles and URLs from their docs navigation. They write notes that state plan limits and supported platforms, and mark the changelog, careers and press pages as Optional. They decide an llms-full.txt is not worth maintaining for marketing pages and skip it.

Example 3: A documentation site with a path-scoped file

A developer tools company has a marketing site and a large documentation section. It publishes two files:

  • /llms.txt with the product, pricing, security and a link to the docs hub
  • /docs/llms.txt with getting started, authentication, every SDK reference and troubleshooting

They use the generator for the root file, and build the docs file by hand from the docs navigation, since the docs have more than 60 pages. Under the proposal, an agent working inside /docs/ uses the more specific file.

Who Should Use a Free llms.txt Generator?

WordPress site owners

WordPress sites mix pages, posts, archives, products and landing pages. The generator pulls the list from your sitemap so you can pick the few that matter. If you build pages at scale with PageForge, list the hubs and a few representative pages, not the full set.

SaaS companies

SaaS sites have product, pricing, docs, API, integration, comparison and changelog pages. An llms.txt with Product, Docs, Integrations and Support sections gives agents the map, and notes that state plan limits reduce wrong answers about what the product does. The guide to programmatic SEO for SaaS covers the page types worth building first.

Agencies and consultants

Agencies can produce an llms.txt as part of a technical audit or site launch. The process doubles as a content review: if a key service has no strong page to link to, that is a gap to fix before the page earns a place in the file. During a redesign, the file also works as a list of pages that must survive the migration.

Ecommerce stores

Stores should list main categories, buying guides and the policies customers ask about: shipping, returns, warranty and sizing. For large catalogs, categories and guides are more useful than individual products.

Documentation and education sites

Documentation, course and knowledge-base sites often have the most to gain. A clear starting point and a well-organized reference list help any tool that reads the file find the right page.

Local and multi-location businesses

Local businesses should list services, service areas, booking and contact, and put hours and areas served in the summary. Chains and franchises should link to a locations hub rather than every location; the multi-location SEO playbook covers how that hub should work.

Founders and marketing teams

The generator is a quick clarity test. If the finished file does not explain the business well, the website probably does not either. Ask: could someone understand what we do from this file alone? Are the product and pricing pages obvious? Are the notes specific? If not, fix the pages, then the file.

Why Use a Generator Instead of Writing llms.txt by Hand?

For a five-page site, writing the file by hand is quick. For anything larger, a generator saves the tedious parts:

  • Collecting URLs. It reads them from your sitemap instead of you copying them one by one.
  • Getting titles right. It uses each page’s actual title.
  • Consistent formatting. It writes the H1, blockquote, sections and link syntax correctly every time.
  • Rebuilding later. After a site change, you can generate a fresh list in seconds and compare it with your saved file.

What a generator cannot do is decide what matters or write good notes. The best workflow is to let the tool handle structure and links, and spend your time on selection and wording.

What Makes a Good llms.txt Generator?

Whichever tool you use, look for these:

  • It reads real pages from your sitemap, not just a template with your name in it
  • It lets you choose which pages to include instead of dumping everything
  • It supports sections and Optional so the output follows the proposal
  • It lets you edit the file before you export it
  • It gives copy and download options
  • It is clear about limits, such as how many pages it lists
  • It does not need access to private areas, credentials or admin pages
  • It works on a phone, since many site owners check things on mobile

llms.txt Generator Options Compared

Several kinds of tools can produce an llms.txt file. They suit different people.

OptionGood forWatch out for
Free online generator, such as PageForge’sSite owners and marketers who want a curated file in minutesPage lists are capped; you still write the notes
SEO plugin feature (llmstxt.org lists Yoast SEO and All in One SEO)WordPress sites that already use one of those pluginsLess control over which pages appear; check the output
Documentation platforms (llmstxt.org lists Mintlify and GitBook)Docs sites hosted on a platform that generates the fileUsually covers the docs only, not the marketing site
Developer crawling APIs and CLIsDevelopers who want llms.txt and llms-full.txt from a crawlNeed an API key and setup; full-text output needs review
Hand-written fileSmall sites, or teams that want total controlSlow to build and easy to let go stale

Firecrawl is one example of the developer route. Its documentation describes an llms.txt endpoint that crawls a site and can also produce llms-full.txt, using an API key. The same Firecrawl documentation marks that endpoint as deprecated, with removal scheduled for 10 December 2026, and points to its map and batch scrape endpoints instead.

Open-source plugins and libraries are another route for developers; llmstxt.org lists plugins for VitePress and Docusaurus, among others. Those that run at build time keep the file in step with every release.

The PageForge generator is built for the first case: a no-code, curated file built from your sitemap, with sections and Optional handled for you.

Final Checklist Before Publishing llms.txt

  • The file starts with one H1 using your real brand or site name
  • The blockquote summary says what you do and for whom
  • Sections are few, clearly named and in order of importance
  • Every link has a short, accurate note
  • Secondary links are in ## Optional at the end
  • Every URL is live, canonical, crawlable and indexable
  • No private, staging, admin or login URLs
  • No keyword stuffing or unsupported claims
  • A person has read the whole file
  • The file is at /llms.txt and returns 200 as plain text
  • Only one source (static file or plugin) produces it
  • You have a reminder to review it after major site changes

Related Free Tools

FAQ

What is an llms.txt generator?

An llms.txt generator is a tool that builds an llms.txt file for a website, usually by reading the site’s pages or sitemap. The PageForge generator reads your homepage title, description and XML sitemap, lists up to 60 pages, and lets you choose pages, sections and Optional links before it writes the file in the llmstxt.org format for you to edit, copy or download.

Is the PageForge llms.txt generator free?

Yes. The generator is free to use and needs no signup or account. Enter your site URL, choose your pages and sections, and copy or download the finished file. The file is plain Markdown, so you can keep editing it in any text editor and publish it on any platform, WordPress or not.

Where should I upload llms.txt?

Upload it to the root of your domain so it loads at https://yourdomain.com/llms.txt. On most WordPress hosting, that is the folder containing wp-config.php. The llmstxt.org proposal also allows files at subpaths, such as /docs/llms.txt, which cover the pages under that path. Check that the URL returns a 200 status as plain text.

Does llms.txt replace robots.txt or sitemap.xml?

No. robots.txt tells crawlers which paths they may fetch, and an XML sitemap lists URLs for search engines to discover. llms.txt does neither. It is a short, curated guide that tells agents which pages matter and what they contain. Keep all three, and make sure every URL in llms.txt is also crawlable and listed in your sitemap.

Does llms.txt improve Google rankings?

There is no evidence that it does, and Google states that its AI features do not require AI text files or special markup. Treat llms.txt as a low-cost guide for tools that choose to read it. The SEO benefit comes from the work around it: choosing your key pages, improving weak ones and writing clearer descriptions.

Do ChatGPT, Claude or Perplexity read llms.txt?

Not in any documented way. Their published crawler documentation covers robots.txt controls and does not describe llms.txt as an input for finding, ranking or citing pages, so do not count on it. The llmstxt.org proposal describes the file as used on demand when an agent helps a user. Some agents and developer tools support it. You can always paste the file into an assistant yourself to test how well it explains your site.

What is llms-full.txt, and does the generator create it?

llms-full.txt is a convention, mainly on documentation sites, for a single long file containing the full text of key pages. It is not defined on llmstxt.org. The PageForge generator writes llms.txt only. If you need llms-full.txt, assemble it from your own content in clean Markdown, or use your documentation platform’s export, and keep it in step with the live pages.

How many pages should llms.txt include?

Most sites need between 15 and 60 links. Include the pages that explain what you do, what it costs, how to get started and where to get help, plus a few of your best guides. The generator lists up to 60 pages from your sitemap; you can add more by hand, but a longer list is not automatically a better one.

Why does the generator show only some of my pages?

The page list comes from your XML sitemap and is capped at 60 pages, because llms.txt is meant to be a shortlist. If important pages are missing, check that they are in your sitemap and that the sitemap is at /sitemap.xml, /sitemap_index.xml or listed in robots.txt. You can also add any page manually in the editor before downloading.

Can I use llms.txt on WordPress?

Yes. Generate the file, then upload it to your site root with your host’s file manager or SFTP, or ask your developer. First check if your SEO plugin already generates one; llmstxt.org lists Yoast SEO and All in One SEO as plugins that can. Run a single source so you do not end up with two different versions.

Can I use llms.txt on Drupal, Magento 2 or Shopify?

Yes on Drupal and Magento 2, where you can usually place a static file in the web root, which on many Magento 2 installs is the pub folder. Hosted platforms such as Shopify control the web root, so check your platform’s documentation or app store for a supported way to serve /llms.txt, or ask a developer to add a route.

Is llms.txt safe to publish?

It is safe when it contains only public information. Anyone can open the file, so leave out private links, staging and admin URLs, unpublished products, customer names and internal documents. llms.txt is not access control: leaving a page out does not hide it, and listing a page does not grant access. Protect private content with authentication.

How often should I update llms.txt?

Update it whenever the pages it describes change in a way that matters: new products or services, pricing changes, documentation restructures, retired pages, redesigns or a large page launch. For most business sites a quarterly review is enough. Keep your edited copy so you can regenerate the page list and merge your notes back in.

Can PageForge generate SEO pages too?

Yes. PageForge is a WordPress plugin for programmatic SEO that creates pages in bulk from a CSV file and one template, with title, URL, meta description and schema for each. The free plugin processes up to 100 rows per run, and PageForge Pro has no row limit. After a large run, update your llms.txt to point to the new hub pages.

Generate Your llms.txt File Now

Enter your site URL in the llms.txt generator, pick the pages that explain your site best, sort them into a few clear sections, and move the extras to Optional. Then spend ten minutes on the summary and the notes, since that is where the file earns its keep.

Upload the result to /llms.txt, check it loads as plain text, and test it by asking an assistant about your business with only the file as context. Review it whenever your key pages change.

llms.txt will not replace good pages, internal links or technical SEO. It is a short, honest guide to the pages that matter, and a useful reason to make sure those pages are worth pointing to.

Build the template once. Let the data do the rest.

PageForge is free on WordPress.org. Upload a CSV, preview the first page, and generate your first 100 pages today.

↑↓ to move↵ to open