How to create llms.txt: format, example, and validation

Learn how to create llms.txt, choose pages, publish it on WordPress or Shopify, and check the live file. See what evidence says about AI search use.

Kozak hangs an llms.txt sign at a website entrance
Article contents 0%
What is llms.txt? What the evidence says about llms.txt Does your site need llms.txt? llms.txt vs robots.txt and sitemap.xml llms.txt format and specification status llms.txt example for an online store Which pages should you include llms-full.txt and Markdown page versions How to create llms.txt step by step How to publish llms.txt on WordPress, Shopify, or a static site How to validate llms.txt Common llms.txt mistakes Frequently asked questions How we do it in VYDAI
Article contents

To create llms.txt, add your site name, a short factual summary, and links to useful public pages. llms.txt is a proposed Markdown file format, a way to structure plain text, not a Google requirement. Google Search does not use llms.txt or consider it a factor in Search visibility or rankings. In Ahrefs’ May 2026 sample, 97% of the files found received no HTTP request that month. First, identify a real workflow where someone gives an agent the file URL. For a website with documentation, llms.txt can serve as a short index for that workflow. If your goal is AI search visibility, start with our guide to AI visibility and its relationship to SEO.

What is llms.txt?

According to the proposal site, Jeremy Howard published the proposal on September 3, 2024. As of October 2026, the site still describes it as an open proposal, not a required web standard. It suggests a short file at /llms.txt with context and links an agent may need when working with a site.

Product pages are written for people. They may include navigation, repeated interface elements, and scripts. An agent looking for pricing or a setup guide has to separate those elements from the useful content. The proposal offers a compact starting point with links to the full pages. That is a suggested workflow, not a promise that every chatbot will discover the file automatically.

What the evidence says about llms.txt

A public URL does not mean a system will fetch it. Ahrefs’ study of 137,210 domains covered Web Analytics domains that received traffic in May 2026. Ahrefs checked responses from /llms.txt and used server logs to classify each request by its user agent, the identifier sent by the requesting software. Its customers are more technical than the web at large, so the share of sites with a file should not be generalized to all websites.

Who or whatWhat sources show as of October 2026What it means
Google SearchGoogle says Search itself does not use llms.txt. The file neither helps nor harms visibility or rankings.Do not create it to qualify for Google AI Overviews or AI Mode.
Chrome LighthouseThe Lighthouse audit for llms.txt marks a missing file with a 404 response as Not Applicable.An audit exists, but it does not make the file a Search requirement.
AI botsAhrefs’ server logs classified 19.5% of requests as traffic from AI bots across several categories. Retrieval bots OAI-SearchBot and PerplexityBot made 1.1% of requests; the AI assistant category, which includes ChatGPT-User, made 2.5%.A user agent identifies the program making a request, but it does not show that the file affected an answer or citation.
AI user agents and coding toolsGPTBot was the most frequent named AI user agent, and Claude-Code was second. The proposal names software documentation as a likely use case.You can give an agent the file URL. Do not assume Cursor or Claude Code will find every site’s file on its own.
Documentation platforms and vendorsMintlify can generate llms.txt and llms-full.txt. Anthropic, Stripe, and Cloudflare publish files.These files show that publication is possible, but not that consumer AI search uses them.

In the Ahrefs sample, 28% of domains returned a Markdown file with an HTTP 200 response. The check looked for a file, not whether it followed the proposal. Among domains with a file, 97% received no request in May 2026, and bots made 96% of requests to existing files. The sample is more technical than the web at large and covers one month. Its logs show file requests, not whether a program used the contents in a particular answer.

Google’s Markdown documentation

In May 2026, John Mueller explained that Google publishes Markdown copies of developer documentation because coding tools can parse them efficiently. He described this as a temporary way to save tokens, since those tools can also read HTML. His explanation applies to Markdown copies of documentation pages, not a standalone llms.txt file. Search Engine Journal’s report on Mueller’s explanation makes that distinction.

Does your site need llms.txt?

Start by identifying who would use the file and who will maintain it. For a website, llms.txt is useful when you can name a workflow where someone gives an agent the URL and asks it to follow the links. If your only goal is appearing in Google AI Overviews, focus instead on Google AI Overviews and AI Mode eligibility.

Site or goalDecisionNext step
Developer documentation, APIs, or SDKsCreate one when agents work from your docs.Link to key sections and useful Markdown versions.
SaaS with a knowledge baseCreate one if someone owns updates.Choose setup, product, pricing, security, and support pages.
Shopify storeCheck Shopify’s managed file first.Shopify builds /llms.txt from /agents.md; edit agents.md.liquid when needed.
WordPress service or company siteA plugin or manual file can work, but first make sure the pages are useful and accessible.For llms.txt on WordPress, review which pages the generator includes and make sure their titles and descriptions are accurate.
Small site with a few pagesSkip it unless an agent workflow needs the file.Make sure the important pages are clear and accessible.
Goal: appear in Google AI Overviewsllms.txt will not help with that.Follow Google’s Search guidance and monitor Search Console.

The file does not control crawler access, replace a sitemap, repair weak pages, or guarantee citations. Use robots.txt and access controls to manage crawl rules and private areas.

llms.txt vs robots.txt and sitemap.xml

These files have different jobs. robots.txt sets crawl rules for compatible bots, sitemap.xml lists URLs, and llms.txt offers brief context and selected links. See our guide to controlling AI crawlers with robots.txt for more on access rules.

FileMain roleWhat not to expect
robots.txtGives compatible crawlers rules for site paths.It does not describe pages or rank their importance.
sitemap.xmlLists URLs for search engines to discover.It does not explain why one page matters for a question.
llms.txtProvides brief context and a selected list of pages.It does not control access, and it does not have to list every URL.

The llms.txt proposal says the file can coexist with existing standards. Do not copy every sitemap URL into it. Choose pages that reflect the site’s purpose.

Kozak separates robots.txt, sitemap.xml, and llms.txt into different roles
Kozak separates robots.txt, sitemap.xml, and llms.txt into different roles

llms.txt format and specification status

As of October 2026, the proposal format has one required element: an H1, or main heading, with the project or site name. Other elements add context or group links.

ElementStatus in the proposalExample
H1 with the site nameThe only required element# Example Store
Short blockquote summaryRecommended> An online store for home appliances.
Plain paragraphsAllowed for contextShipping and warranty details are in the customer section.
H2, or second-level, headings with URL listsThe main way to group links. A link label is required; a description after a colon is optional.- [Shipping](https://example.com/shipping): Delivery options and timing.
## Optional sectionConvention for secondary material, not a requirement## Optional
Markdown versions of pagesProposed for pages an agent may needhttps://example.com/shipping.md
File locationAt the site root or in a subpath such as /docs/llms.txt; a more specific file applies to its subtreehttps://example.com/llms.txt
Content-Type, charset, and languageThe proposal does not specify theseCheck the live response headers and text.

The format proposal uses Markdown links in each list item. Add a short description after the colon when the title does not explain the page well enough. The proposal does not require a set number of sections or links.

Kozak assembles the recommended llms.txt Markdown structure with summary, core pages, and optional links
Kozak assembles the recommended llms.txt Markdown structure with summary, core pages, and optional links

llms.txt example for an online store

The example below uses a fictional home appliance store. example.com is reserved for examples under RFC 2606, and Example Store is a made-up name.

# Example Store

> An online home appliance store. Product categories describe available equipment. The customer section covers delivery, payment, returns, and warranty.

## Catalog

- [Large appliances](https://example.com/catalog/large): Refrigerators, washing machines, and cooktops.
- [Small appliances](https://example.com/catalog/small): Vacuums, kettles, and kitchen equipment.

## For customers

- [Delivery and payment](https://example.com/delivery-payment): Available delivery and payment methods and estimated timing.
- [Returns](https://example.com/returns): Return terms and steps.
- [Warranty and service](https://example.com/warranty): Warranty coverage and repair information.
- [Frequently asked questions](https://example.com/faq): Answers about orders, delivery, and service.

## Optional

- [Buying guides](https://example.com/blog): Advice on choosing and caring for appliances.

Descriptions should help readers choose which page to open. Promotional wording does not.

Weak descriptionMore useful description
Great pricesCurrent refrigerator prices and model specifications.
ShippingDelivery methods, cost, and estimated timing.
About usBusiness contacts, opening hours, and company details.
Our blogPractical advice on choosing and caring for appliances.

Which pages should you include

Start with pages that answer customer questions or explain the product. A store may link to its product categories, delivery details, return policy, warranty information, and help pages. A software company may link to features, pricing, integrations, documentation, and support terms. Do not add a URL just because it appears in the navigation.

Choose a small set of useful evergreen articles instead of the entire blog archive. Our guide to analyzing sources and citations in ChatGPT can help you see which pages AI tools cite in their answers. Confirm that each URL opens, matches its description, and leads to a current page.

llms-full.txt and Markdown page versions

The llms.txt proposal suggests clean Markdown versions for pages an agent may need. This is optional. First, make sure the index links to current pages.

llms-full.txt is a larger companion file that combines page content for an agent to fetch at once. It is a platform practice, not a required part of the minimal proposal. Mintlify documents automatic generation, Shopify documents /llms-full.txt, and X Developer Docs shows its documentation file set. A large documentation site may benefit from that setup. A small company site may need only the index.

How to create llms.txt step by step

  1. Assign an owner, such as the documentation, content, or site lead.
  2. Collect important public URLs and remove duplicates. Check whether similar pages have different purposes.
  3. Write the site name and a short factual summary. State what the site offers and where readers can find key information.
  4. Group links under clear headings such as Catalog, For customers, Documentation, or Policies.
  5. Add a short description when the page title needs more context. Do not claim anything the page does not say.
  6. Save the file as llms.txt in UTF-8.
  7. Publish it at the site root or under the relevant path, then check the live URL and every link.
  8. Review it when pricing, policies, documentation structure, or URLs change.

How to publish llms.txt on WordPress, Shopify, or a static site

As of October 2026, the publishing steps depend on the platform and your access to the site root. A plugin or template can create the file, but review it after publication.

PlatformHow to publishWhat to check
WordPress with Yoast SEOYoast explains how to generate the file automatically and lets you choose pages manually or automatically.Review the output and remove unwanted page types.
WordPress with Rank MathRank Math documents its llms.txt module, including content types, a page limit, and a preview.Confirm the module is enabled and the file is not empty.
WordPress.comWordPress.com explains how to upload the file to htdocs over SFTP, a secure file transfer method. Availability depends on the plan.Confirm the available path and upload method for your plan and hosting.
ShopifyShopify builds /llms.txt from /agents.md.To customize llms.txt on Shopify, edit agents.md.liquid. Use llms.txt.liquid only if you need a separate file with different content.
Static site or Next.jsPut the file in the folder served from the site root, such as public/ when configured for static files.After deployment, check /llms.txt on the live site. A file in the repository alone is not enough.

The proposal does not specify a response Content-Type, character encoding, or multilingual setup. Save non-English text as UTF-8 and check the response headers. Live files from Stripe and Cloudflare use text/markdown and text/plain. A charset=utf-8 parameter tells clients how to decode the text and helps preserve Cyrillic characters. The proposal does not require it, but it is a practical choice.

The proposal does not cover multilingual sites. You can include both language versions in one file and label each link. A separate /en/llms.txt is an option, not a requirement. Shopify documents one file on the primary domain and no localized version.

How to validate llms.txt

Check the live URL, response headers, and body. These commands show the server response and the first lines of the file.

curl -sI https://example.com/llms.txt
curl -s https://example.com/llms.txt | head

Look for a 200 status and a Content-Type header. Check for charset=utf-8 and make sure the request does not pass through unnecessary redirects. The second command should return Markdown, not an HTML challenge, CAPTCHA, or error message. A 200 status alone does not prove that the body is the right file.

CheckHow to confirm it
URLOpen https://example.com/llms.txt without signing in.
Status and redirectsConfirm the final response is 200 at the expected URL.
Content-Type and encodingCheck the response header and confirm non-English characters display correctly.
BodyConfirm the server returns Markdown rather than an error or security page.
LinksOpen each URL, compare its content with the description, and remove outdated or private pages.
Agent testGive an agent only the file URL and ask where the return policy is. The proposal’s author suggests testing questions this way.
Requests in logsCheck whether the server received requests to /llms.txt. A request does not prove use in an AI answer.

The Chrome Lighthouse audit is optional. A missing file that returns 404 is marked Not Applicable. If the URL returns a CAPTCHA or security error, check whether your content delivery network (CDN) or web application firewall (WAF) is blocking it. Our guide to checking access for AI crawlers explains how access rules differ from the server’s actual response. For a broader generative engine optimization (GEO) review, see the GEO audit checklist.

A working, well-formed file does not prove that AI search used it or changed its citations. Track brand mentions and cited sources separately in VYDAI monitoring.

Validation of llms.txt availability, encoding, links, and server response
Validation of llms.txt availability, encoding, links, and server response

Common llms.txt mistakes

  • Naming the file llm.txt, ai.txt, or LLMS.txt. The proposal uses the lowercase name llms.txt.
  • Adding every URL you find instead of choosing useful pages. The file should guide readers, not repeat the whole sitemap.
  • Writing broad promises instead of describing the page. Check each line against its destination.
  • Leaving duplicate links, outdated pricing, broken redirects, or private URLs such as a cart, account, or staging page.
  • Mixing a content index with access rules. robots.txt and llms.txt have different roles.
  • Assuming the file will improve visibility or earn citations by itself.
  • Forgetting to assign an owner. A description can become inaccurate when policies, prices, or URLs change.

Frequently asked questions

Does llms.txt help SEO? No. Google’s Search guidance says llms.txt does not affect Search visibility or rankings. The official guide to generative AI features in Search also says Google Search does not use the file.

Does llms.txt help Google AI Overviews? No. Google Search does not use llms.txt for AI Overviews. Its official guide says the file is unnecessary for Search’s generative features.

Do AI bots read llms.txt? Ahrefs’ study recorded requests from different bots, including retrieval and training crawlers. A fetch confirms that a program requested the URL; it does not prove an AI answer used the file. GPTBot was the most frequently recorded AI user agent.

llms.txt vs. sitemap.xml: which one do I need? Use both if an agent workflow needs llms.txt. sitemap.xml helps search engines discover URLs, while llms.txt points agents to selected pages and explains why they matter. One does not replace the other.

What is llms-full.txt? It is a companion file that can contain the full text of a site’s pages. The llms.txt proposal discusses Markdown versions of linked pages; the combined llms-full.txt file is a platform practice.

Do I need a CMS plugin to create llms.txt? No. You can write the Markdown file in any text editor. WordPress users can also use Yoast SEO or Rank Math to generate it, then review the result.

How we do it in VYDAI

As of October 2026, the VYDAI generator can discover pages from a sitemap or a Sitemap: entry in robots.txt. In the generator, you can add sitemap URLs, set crawl depth and page limits, and exclude URLs that contain specific fragments. It reads headings, structured data in JSON-LD, and metadata, then drafts a summary and sections.

VYDAI llms.txt generator: page discovery, editing, and validation
VYDAI llms.txt generator: page discovery, editing, and validation

In the editor, you can change which pages appear, rename sections, edit link descriptions, add URLs, reorder sections, and preview the Markdown. Its checks flag structural errors and warnings, duplicate URLs, link status issues, canonical URL mismatches, missing optional .md versions, and differences between the published /llms.txt and saved draft. A canonical URL is the preferred address for a page. A missing optional Markdown version is informational, not an error.

Before you create llms.txt, decide who will update its links when the site changes. VYDAI does not publish the file to your site or confirm that an AI system used it. Review the draft, download it, and publish it on your domain. For a small site, a template and manual link check may be enough. Start with a site scan and editor in

.

Next

What to read next

All articles
// Try it on your prompts

See how AI talks about your brand

Create an account, add your domain, and test real prompts. You’ll see which AI models mention your brand, which sources back it up, and which competitors show up next to it.

Create a VYDAI account