What does this llms.txt generator do?
It builds an llms.txt file from a simple form and checks an existing file against the published format. An llms.txt file is a Markdown file at the root of your site that gives AI tools a short summary of the site and a curated list of the pages worth reading. The format was proposed by Jeremy Howard of Answer.AI on 3 September 2024 and is documented at llmstxt.org. It is a proposal, not a ratified web standard.
How do you use the generator?
- Enter your site or project name. This becomes the H1 title, the only required part of the file.
- Write a one or two sentence summary. It is placed in a blockquote under the title.
- Add optional details: short paragraphs or bullet points that explain what the site is and how to read the links. No headings here.
- To fill sections from your own pages, paste your sitemap into the import box. Details are in the next section.
- Add sections such as “Services”, “Products” or “Docs”. In each section, add links with a name, a full URL and an optional note.
- Put lower-priority links in the “Optional” section.
- Copy or download the file and upload it so it loads at
https://yourdomain.com/llms.txt.
To check a file you already have, paste it into the validator tab. It reports errors (the file breaks the format) and warnings (the file works but could be clearer).
How does the sitemap import work?
Open Import from sitemap, paste the text of your sitemap and press Import links. The tool reads each <loc> address from the text. It does not open those links, and nothing you paste leaves your browser.
- Page sitemap. Paste the contents of a file such as
yourdomain.com/wp-sitemap-posts-page-1.xml. Any sitemap with<url>entries works. - Sitemap index. If the file lists other sitemaps, the tool shows their addresses. Open each child sitemap, paste its text and press Import links again, one at a time.
- Plain list. One full
https://address per line also works.
Links are grouped by their first folder. A page such as /blog/my-post/ goes under a Blog section, and a top-level page such as /about/ goes under Main pages. Each title is made from the address, so “wp-toolkit-studio” becomes “WP toolkit studio”. Edit any title you want to change. An import adds to the sections you already have and skips addresses that are already listed. The limit is 150 links in total.
What is the exact llms.txt format?
The specification lists these parts in this order:
| Part | Markdown | Required? |
|---|---|---|
| Title | # Site name (H1) | Yes, the only required part |
| Summary | > One or two sentences (blockquote) | No, but recommended |
| Details | Paragraphs or lists, no headings | No |
| File list sections | ## Section name (H2) followed by a list | No, zero or more |
| List item | - [Name](https://url): optional note | The link is required, the note is optional |
| Optional section | ## Optional | No. Links here can be skipped when a shorter context is needed |
The heading must read exactly ## Optional, with a capital O and no other changes. Tools look for that name. The checker warns about any other capitalization, such as “optional” or “OPTIONAL”, and the generator shows the same warning while you build the file.
Example file
# Handicraft Marketing > Web and software studio in Nowshera, Pakistan. We build WordPress sites, SEO and AI search work, custom software and AI automation. We publish free browser tools and guides. Product pages describe software for travel agencies and WordPress site owners. ## Services - [Website development](https://example.com/services/website-development/): WordPress builds and redesigns - [SEO and AI search optimization](https://example.com/services/seo-ai-search-optimization/): rankings in Google and AI answers ## Products - [WP Toolkit Studio](https://example.com/products/wp-toolkit-studio/): WordPress admin toolkit plugin ## Optional - [Blog](https://example.com/blog/): articles and tutorials
Where does the file go and what about llms-full.txt?
The specification places the file at /llms.txt, though it may also sit at a subpath, in which case it covers URLs under that path. The specification also suggests offering clean Markdown copies of pages at the same URL with .md added, for example /about/index.html.md (or index.md).
llms-full.txt is a common convention where a site puts the full text of its key pages into one file. It is not part of the llmstxt.org specification. The original proposal described generated context files named llms-ctx.txt and llms-ctx-full.txt instead. Many documentation platforms publish an llms-full.txt anyway, so it is fine to add one, but treat it as optional.
Does llms.txt help you rank in Google or AI answers?
Not directly. Google states on its AI features and your website page that there are no extra requirements to appear in AI Overviews or AI Mode and that you do not need to create new machine readable files or AI text files to appear in those features. Normal SEO practice still applies: crawlable pages, useful content and correct technical setup. We found no public statement from OpenAI, Google or Anthropic that their crawlers read llms.txt. Tools that support the format can still use it when a user points them at a site.
So llms.txt is cheap insurance rather than a ranking factor. It takes ten minutes to make, it helps any tool that does read it, and it forces you to decide which pages matter most. For what actually moves AI visibility, see our guide on how to rank in ChatGPT.
For the background, who proposed the format and what AI companies and Google have said about it, read what llms.txt is and whether you need one.
Common mistakes
- No H1 or the H1 is not first. The title must be the first heading in the file.
- Using H3 headings or deeper. The format only defines one H1 and H2 sections. Extra heading levels may confuse simple parsers.
- Links without the bracket format. A bare URL on a list line is not a valid file list item. Use
[name](url). - Relative URLs. The format does not forbid them, but full
https://URLs work everywhere the file is read. - Listing every page. The point is curation. Pick the 10 to 40 pages that explain your business best.
- Lowercase “optional”. Write the heading as
## Optional. Other capitalization is not read as the Optional section. - Blocking it in robots.txt. If your robots.txt disallows the root or
/llms.txt, crawlers that respect robots.txt will not fetch it.
Tips for WordPress sites
- Upload the file to the web root (usually the same folder as
wp-config.php) with your host file manager or FTP. A physical file is served before WordPress loads. - Yoast SEO and AIOSEO can generate an llms.txt for you. If you use one, do not also upload a manual file, or check which one the server actually serves.
- Make sure the file is served as plain text in UTF-8 so Urdu, Arabic or accented names display correctly.
- Update it when you add a service or product. Our website development and SEO and AI search optimization services include llms.txt setup.
Last updated: October 24, 2026