llms.txt generator
Write an llms.txt file: a short Markdown guide at your site root that tells AI tools what your site is and which pages matter most. Fill in the form and copy the result. Nothing leaves your browser.
By RankGhost · Last reviewed
# Your site name
Upload it to your site root so it loads at yourdomain.com/llms.txt. Links without a title or a valid URL, and sections without links, are left out.
How to write an llms.txt file
- Enter your site’s name. It becomes the file’s only H1 heading, the one part the format requires.
- Add a one-sentence summary. It appears as a quote block, the first thing an AI tool reads.
- Optionally add a few paragraphs of context: who the site is for and how its pages fit together.
- Group your most useful pages into sections. Give each link a clear title and, if it helps, a short note on what the page covers.
- Put secondary pages in a section called Optional, which tools can skip when they need a shorter read.
- Copy or download the file and upload it so it loads at yourdomain.com/llms.txt.
llms.txt, robots.txt and sitemaps do different jobs
robots.txt sets rules: which crawlers may fetch which paths. sitemap.xml is a complete list of the URLs you want search engines to find. llms.txt is neither. It’s a short, curated reading list written in Markdown, so a language model can understand your site from a handful of well-described links.
The format is simple. A heading with your name, a one-line summary in a quote block, a few optional paragraphs, then sections of links, each with an optional note. This generator follows that structure and leaves out any link without a title or a valid URL.
An example llms.txt file
Here’s a complete file for a made-up analytics product, built with the same code as the generator above. It shows each part of the format in the order tools expect: the name, the summary, a short paragraph of context, then sections of links with notes.
# Example Analytics > Example Analytics is web analytics for small online shops: where visitors come from and what they buy, without cookies. There’s a free plan for one site. Paid plans add more sites, longer data history and scheduled email reports. ## Product - [Features](https://example.com/features): What the dashboard shows and how tracking works - [Pricing](https://example.com/pricing): Plans, limits and what the free plan includes ## Docs - [Install guide](https://example.com/docs/install): Adding the script to Shopify, WordPress or any site - [API reference](https://example.com/docs/api): Endpoints for exporting reports ## Policies - [Privacy policy](https://example.com/privacy): What’s collected and how long it’s kept ## Optional - [Changelog](https://example.com/changelog): Release notes, newest first - [Blog](https://example.com/blog)
Notice what’s left out. There’s no list of every blog post, no login or account pages and no marketing slogans. Each link answers a question someone might ask about the product, and the blog sits under Optional because a tool in a hurry can skip it.
Common llms.txt mistakes
- Listing every URL. llms.txt is a short reading list. A few dozen well-described links beat hundreds of bare ones; your sitemap already covers the rest.
- Vague link titles. “Click here”, “Page 2” or a raw URL tells a model nothing. Name each page for what it answers, and add a note where the title isn’t enough.
- Links that redirect, break or are set to noindex. Each one wastes a slot and can point a tool at something you don’t want quoted. Link to the final, public URL.
- Serving it as a web page. The file should load as plain text at /llms.txt. If your CMS wraps it in a theme template, or a firewall shows bots a challenge page, tools get HTML instead of your Markdown.
- Letting it go stale. A summary with last year’s prices is worse than no summary. Update the file when you change plans, move pages or launch something new.
- Expecting it to block anything. llms.txt doesn’t allow or deny access. To control which AI crawlers may fetch your pages, use robots.txt.
Before you upload the file, open each link once. Then load yourdomain.com/llms.txt in a private browser window to confirm it shows plain text, not a page from your theme. If you also want to control which AI crawlers can fetch your site, build that with the AI robots.txt generator.
Questions about llms.txt
Sources, reviewed : llmstxt.org: the llms.txt proposal, Google: AI features and your website.
Do AI assistants cite you?
Track your Google rank and captured AI citations for the same keywords.
More free tools
- AI robots.txt generatorAllow or block GPTBot, ClaudeBot, PerplexityBot and other AI crawlers.
- AI robots.txt checkerSee which AI crawlers your current robots.txt lets in.
- AI crawler page inspectorSee the text, headings and token count a crawler gets from a page.
- Canonical tag checkerCheck a page’s canonical URL for conflicts and common mistakes.
- Redirect chain checkerFollow every redirect hop and spot loops and slow chains.
- Google search result previewPreview your title and description as a desktop search result.
- Reading level checkerScore your text’s readability and find sentences to shorten.