FIRST CH TOOLS / SEO & AI / 05 LLMS.TXT GENERATOR
llms.txt Generator
Added pages lately? Did you update your llms.txt, the guide file for AI systems, too?For anyone who publishes or updates a site and wants to create or check an llms.txt without sending what they paste anywhere.
No signup · nothing sent · generated in your browserllms.txt is a proposed format for guiding AI systems around a site. It does not guarantee that AI will read or cite your pages more.
Try an example:
Filled in from the host name of the first URL. You can change it.
Import many pages from a sitemap or URL list
How to get it: open https://(your site)/sitemap.xml in your browser (WordPress 5.5+ uses /wp-sitemap.xml by default), select everything, copy, and paste it below.
Accepted: sitemap XML, one URL per line, "Title | URL | Description" lines, or text copied from a table (the URL in each line is picked up). What you paste is processed only on this page and never sent anywhere.
Mark each page as Main (listed in your main sections), Support (nice to have; moved to the support section at the end) or Exclude (left out of the output). Excluding only keeps a page out of llms.txt; it does not stop AI systems or crawlers from accessing it (robots.txt does that).
Checks the 7 points below. Nothing you paste is sent anywhere.
- Top heading (H1)
- Position of the short summary (> lines)
- Section headings (H2)
- Link lines
- URL format
- Duplicate URLs
- Empty sections
Enter a site name and at least one page to save.
Where to put it and how to check
- WherePut it at the top level of your site with the name llms.txt (e.g. https://example.com/llms.txt). Since v2.1 it can also sit in a subfolder (/docs/llms.txt) and then covers the pages under that folder.
- On WordPressUpload it with FTP or your host’s file manager into the folder that holds wp-config.php and wp-content (no plugin needed). If you use the llms.txt feature of Yoast SEO, Yoast rebuilds its own file weekly but does not overwrite another llms.txt, so use one or the other.
- Open it to check Open llms.txtIf the first line reads "# Site name" and the text is not garbled, it is in place. to run the 7 checks.
Next: robots.txt Generator (allow or block AI crawlers) · JSON-LD Generator · AI vs Search Visitors (GA4)
How to Use
- Enter your site and pagesWrite the site name and a short summary, then list the pages you want AI systems to read. For many pages, open "Import many pages" and paste your sitemap, a list of URLs or "Title | URL | Description" lines. If the site name is empty, the host name of the first URL is filled in for you.
- Mark pages as main, support or excludedUse the buttons on each page. You can also rename, add or remove sections. Check the notes under rows, such as invalid or duplicate URLs.
- Copy or save, then uploadAfter "Copy llms.txt" or downloading, follow the steps shown to put the file at the top level of your site and open it to check. Paste an existing file into the "Check" tab to run the 7 checks.
About This Tool
llms.txt is a proposed format (llmstxt.org) that tells AI apps and agents what a site is and where to look. The structure is: H1 (top heading) = site name → a short summary in lines starting with > → body → H2 (section heading) link lists (- [name](url): notes). Only the H1 is required. Version 2.1 (November 2026) added relative URLs with an optional "Base URL: https://…/" line, H3+ subheadings in the body and a short summary paragraph at the top of each section, and dropped the special meaning of the "Optional" heading (it still works as a heading for secondary links). It serves a different purpose from robots.txt: robots.txt tells crawlers what access is acceptable, while llms.txt is read on demand as a guide. That is why "Exclude" in this tool does not block access.
This tool escapes [ ] in titles as \[ \] and encodes spaces and parentheses in URLs (e.g. %20) so the links don’t break. Repeated URLs are left out of the output, with a note under the row. The "Check" tab runs these 7 checks (notes are not counted as problems):
- Top heading (H1): exactly one, at the top, with a name
- Position of the short summary (> lines): right after the H1
- Section headings (H2): no empty or repeated headings, no H3 inside sections
- Link lines: "- [name](url): notes", with at most one summary paragraph
- URL format: spaces, unreadable URLs, javascript: and similar, the Base URL line
- Duplicate URLs (compared after resolving against the Base URL)
- Empty sections (H2 with no links)
We publish an llms.txt for this tool collection too (see the real one). Checked with this page on 30 November 2026: 8 sections, 224 links, "6 of 7 checks passed". The remaining issue is one duplicate URL, because both the Japanese and English sections link to the same MCP repository (plus 216 notes about relative URLs without a Base URL line). Whether AI traffic or citations grow is not decided by llms.txt alone, so after uploading, look at real numbers with tools such as AI vs Search Visitors.
Sources (all checked on 30 November 2026): llmstxt.org, “The /llms.txt file, v2.1” · “Changes” (v2.1, November 2026) · Make WordPress Core, “New XML Sitemaps Functionality in WordPress 5.5” (/wp-sitemap.xml) · Yoast developer portal, “llms.txt: Functional specification” (weekly updates; does not overwrite an existing file)
From AI Agents
Generation, import and checking are also available as llmstxt_generate in our MCP server @first-ch/tools-mcp (MCP, the Model Context Protocol, is a common way for AI apps to call outside tools), so AI agents (AI apps that carry out tasks step by step on their own) can use it without a browser. Sitemap import and checking (mode="lint") require @first-ch/tools-mcp 0.66.0 or later. See For AI Agents for setup.
Show setup and examples
Setup
claude mcp add firstch-tools -- npx -y @first-ch/tools-mcp
Examples
# example input passed to the agent llmstxt_generate(siteName="Example Site", summary="A short summary of the site", importText="(contents of sitemap.xml)", importByPath=true) # example: check an existing llms.txt llmstxt_generate(mode="lint", text="(contents of llms.txt)")
Other Tools
36robots.txt GeneratorWrite crawl rules and sitemap declarations from a form. For AI crawlers such as GPTBot, one preset turns away the training bots while keeping AI search.
93AI vs Search Visitors (GA4)Drop a GA4 Traffic acquisition CSV to compare AI Assistant (ChatGPT, Gemini and others) with Organic Search on engagement rate, average engagement time and key event rate, as one image to show your boss or web agency. The CSV is not uploaded.
- Browse category: SEO & AI
- Browse all tools