Tool 04 · llms.txt

Build an llms.txt your site can actually justify

The file is a markdown map for language models: a heading, a summary, then links grouped by purpose. This builder turns a sitemap into that structure, normalises the titles, watches the token budget and validates a file you already have.

100% Client-Side · Your data never leaves your browser.

01Source

Drop an .xml sitemap or a .txt URL list here, or click to choose one.
Nothing parsed yet.

02Sections and links drag to reorder, untick to exclude

Parse a sitemap or paste URLs to build the section list.

03Token budget

Estimated tokens
0
waiting for input
Links included
0 sections
Estimated as characters divided by four, the usual rough conversion for English text. Under 2,000 tokens is optimal, 2,000 to 5,000 is acceptable, above 5,000 means the secondary links belong in llms-full.txt.

Exports

04Live preview


      

01Existing llms.txt

02Validation

Result
–
not validated

    Methodology and ruleset

    A valid llms.txt has three parts and nothing else: an H1 naming the site or system, a blockquote summary on the next line, then markdown link lists grouped under H2 headings. This tool enforces that shape and nothing more, because the format is deliberately loose and over-constraining it produces files that validators disagree about.

    Heading

    Line one must be # Site Name. This is the label a model sees first and uses to decide whether the file is about the thing it is looking for.

    Summary

    Line two must be a blockquote starting with >. One sentence, describing what the site is for, not what it sells.

    Sections

    Each group is an ## H2. A link is - [Title](https://...): optional description. Order the sections by importance to a reader, not by crawl order.

    Optional bucket

    Unmatched URLs land in ## Optional, which is the correct place for secondary material a model can skip when it is short on context.

    How titles are generated

    The builder takes the final path segment, strips a file extension, replaces hyphens and underscores with spaces and applies title case while keeping known acronyms upper case. So /docs/api-reference becomes Api Reference and /ai-seo/query-class-tool becomes Query Class Tool. Every title stays editable, because a generated title is a draft, not a decision.

    One honest warning

    llms.txt is a proposed convention, not a standard that every model provider consumes. Treat it as a clean, cheap map you can point a crawler at, not as a ranking factor. The links still have to be pages worth reading.

    Frequently asked questions

    What is the difference between llms.txt and llms-full.txt?

    llms.txt is a map: titles and links. llms-full.txt is the content itself, expanded. Keep the map under about 2,000 tokens and move secondary material into the full file.

    Does adding llms.txt improve AI visibility?

    It can help a retrieval system find the pages you consider canonical, but it does not override a robots.txt block or make a thin page citable. It is a discovery aid.

    Should the file include every URL on the site?

    No. Include the pages that answer questions: documentation, guides, tools, product detail and company facts. An exhaustive URL dump pushes the file over the token budget.

    Does the token estimate count markdown syntax?

    Yes. The estimate is characters divided by four over the whole file, so brackets and URLs count. It is a budget check, not an exact tokenizer.

    What happens with a sitemap index?

    A sitemap index lists other sitemaps rather than pages. The tool detects that case and tells you to paste one of the child sitemaps instead of silently producing an empty file.

    The map only works if the pages are worth visiting

    The free checklist covers the 14 checks that make each of those URLs citable once a model arrives on it.

    Get the free checklist

    ← All tools