Encited logo
PricingTalk to sales

llms.txt generator

Free llms.txt generator and validator

Create an llms.txt file from your home page and sitemap, edit it, and download it. If your site already has one, the generator checks it against the llms.txt format.

How to create an llms.txt file

  1. Enter your site

    Paste your home page URL. The generator checks for an llms.txt you already have and validates it.

  2. Let it read your site

    It reads your home page for the name and summary, finds your sitemap, and pulls the title and description of up to 20 key pages.

  3. Edit the draft

    Rename links, rewrite notes, merge sections and move secondary links under ## Optional. The token count updates as you type.

  4. Publish it at /llms.txt

    Download the file and serve it as plain text from your site root, next to robots.txt and sitemap.xml.

What is an llms.txt file?

llms.txt is a proposal, published at llmstxt.org, for a Markdown file at the root of a site that tells AI agents what the site is and where its key information lives. A file has these parts, in this order:

H1
The name of the site or project. The only section the spec requires.
Blockquote
A short summary with the key facts an agent needs to understand the rest of the file.
Details
Optional paragraphs or lists, with no headings, that explain how to read the files listed below.
H2 file lists
Sections of links, each written as - [name](url), optionally followed by a colon and notes.
Optional
A section named Optional, by convention, for links an agent can skip when it needs a shorter context.
llms.txt example
# Example Store

> Example Store sells trail running shoes and gear, ships to the US and EU, and offers free returns for 60 days.

Sizes run true to fit. Wide-fit versions are marked "W" in the product name.

## Products

- [Trail running shoes](https://example.com/collections/trail-running-shoes): Every trail shoe, with drop, weight and grip
- [Size guide](https://example.com/pages/size-guide): Fit by brand, in EU, US and UK sizes

## Policies

- [Shipping](https://example.com/policies/shipping): Delivery times and costs by country
- [Returns](https://example.com/policies/returns): The 60-day return policy

## Optional

- [Blog](https://example.com/blogs/news): Training and gear guides

llms.txt vs robots.txt vs sitemap.xml

robots.txt
Tells crawlers which URLs they may request. It controls access and says nothing about what the pages contain.
sitemap.xml
Lists every URL you want search engines to find, for crawling and indexing.
llms.txt
A short, curated Markdown overview of the pages that matter, for an agent that needs information about your site while it helps a user.

llms.txt generator FAQ

A Markdown file at /llms.txt that gives AI agents a short overview of a site: its name, a summary, and lists of links to the pages that matter, each with a note. It was proposed at llmstxt.org in September 2024.

It reads your home page for the site name and summary, finds your sitemap through robots.txt or /sitemap.xml, picks up to 20 pages nearest the root, and reads each page's title and meta description. It groups the links into sections by the first folder of their URL.

llms.txt is the overview the spec defines: a name, a summary and lists of links. llms-full.txt is a convention some sites follow, with the full text of the listed pages in one file. The llms.txt spec doesn't define it. Its own proposal for full text is a Markdown copy of each page at the same URL with .md added.

At the root of your site, so it loads at https://yourdomain.com/llms.txt as plain text. The spec also allows a file at a subpath, such as /docs/llms.txt, covering the URLs under it. In most frameworks, a file in the public folder is served from the root.

Enter your site above. If /llms.txt exists, the generator checks that it starts with one H1, has a summary, groups links under H2 headings, and writes each link as - [name](url). It also flags an /llms.txt that returns your site's HTML, which single-page apps do for any path.

The spec expects agents to read it on demand, when they need information about your site while helping a user. To see which bots request it on your site, look for /llms.txt in your server logs or a crawl log.

No. robots.txt controls which URLs crawlers may request. llms.txt describes what's on your site. A file in llms.txt doesn't grant access to a page robots.txt blocks.

Yes. It's free and you don't need an account.

More free SEO tools

“Encited has become my go-to for all Lovable projects. I saw an uptick in crawls almost immediately after switching. Honestly one of the best dev/SEO tools I’ve used. Aki was also amazing on support. Love it!”
Kyle Davidson
Kyle Davidson
Co-founder at Shoutout.io
Trusted by over 5,000 brands and agencies
Shoutout.io
Optimum Service Marketing
Brilus
Local Marketing Vault
API Worx
Main Street Marketer
AI-native markdown

Serve your pages in AI-optimized markdown

An agent reads your page inside a context window it shares with the question and every competitor page it pulls in. Each snapshot is post-processed into lean HTML for search engines and Markdown for AI agents, so your specs, prices and reviews make it into the answer.

  • Specs, prices and reviews stay intact for AI answers
  • Same URL for every agent, no separate feed to maintain
  • Lean HTML for search engines from the same snapshot
Book a demo

Tokens per format

/products/alpine-trek-gtx

  • Rendered pageWhat a headless browser sees21,400
  • Lean HTMLGoogleBingServed to search engines7,900
  • MarkdownChatGPTClaudePerplexityServed to AI agents2,650

GET /products/alpine-trek-gtx

Accept: text/markdown

200 text/markdown · 18ms from the edge

Avatar
How can we help?
Get instant answers to your questions or leave a message for an engineer will reach out
Ask AI about Encited
See our docs
Contact support
Leave a message
We'll get back to you soon
Avatar
Ask AI about Encited
Product questions, troubleshooting and
Thinking
Preview
Drop an image to attach
Powered by ReplyMaven