---
title: "llms.txt Generator: Create a Valid File | Keep"
description: "Create a valid llms.txt file from grouped links. Preview it in your browser, then copy or download the file for free."
canonical: "https://keep.md/tools/llms-txt-generator"
language: "en"
---

# llms.txt generator

Add your site name, a short summary, and grouped links. Get a valid llms.txt file that you can copy or download.

## How to create an llms.txt file

Enter a site name and summary, add links under clear groups, then copy or download the validated llms.txt file.

## Add this result to your Keep library

Paste text into a Note

Create an account, then paste text into a new Note. Personal includes file uploads.

Keep sources and Notes together

Save links, files, and Notes in one library that you can search.

Connect your library to an agent

Connect Keep to Claude, Codex, Cursor, other MCP clients, or the Keep CLI.

[Sign up for Keep](https://app.keep.md/signup?utm_source=keep.md&utm_medium=tools&utm_campaign=llms-txt-generator)

[See how Keep works](https://keep.md/features/ai-library)

## How to generate llms.txt

1.  Enter the name of your site or project.
2.  Add a short summary that tells an agent what the site contains.
3.  Group the most useful pages under names such as Docs, API reference, Examples, or Optional.
4.  Give each link a clear name and, when useful, a short description.
5.  Preview the result, then copy it or download `llms.txt`.

## Choose the pages agents need

llms.txt is a guide, not a full sitemap. Link to the pages that help an agent answer questions or complete tasks. Put secondary material in an `Optional` group so an agent can skip it when it needs less context.

## Prefer clean Markdown URLs

The current [llms.txt proposal](https://llmstxt.org/) recommends links to agent-friendly content. Enter a page's `.md` or `.html.md` URL directly when one is available. The generated link keeps the same target.

Use the [Markdown for Agents checker](https://keep.md/tools/markdown-for-agents) to test how a public page serves Markdown. Use the [llms.txt validator](https://keep.md/tools/llms-txt-validator) to check a file that you changed or already published.

## Publish the file yourself

Download the file and add it to your website. Use `/llms.txt` for a whole-site guide, or place it inside a path such as `/docs/llms.txt` when it covers only that part of the site. This tool does not crawl your site or update the file later.

## Frequently asked questions

### What is llms.txt?

llms.txt is a small Markdown file that points AI agents to the most useful pages on a website. It gives the site or project name, a short summary, and groups of links with optional descriptions.

### Where should I publish llms.txt?

Publish it as llms.txt at the site root, such as https://example.com/llms.txt, when it describes the whole site. The current specification also allows a file inside a path, such as /docs/llms.txt, when it describes only pages below that path.

### Should the links point to Markdown pages?

Yes, when clean Markdown versions are available. Agents can also use HTML pages. Direct .md links usually contain less navigation and page code. The generator keeps the same link target, including .md and .html.md paths.

### What does the Optional group mean?

Optional is a section name from the llms.txt convention. Put secondary links there so an agent can skip them when it needs a smaller context.

### Does this tool crawl my site?

No. You choose every link. The tool does not fetch a sitemap, crawl pages, or update the file after you download it.

### Does this tool validate the generated file?

Yes. It uses the same parser as the llms.txt validator before it shows the file. You can also open the validator for line-by-line checks after you edit or publish the file.

### Is my content uploaded or saved?

No. Generation, preview, copy, and download run in your browser. The tool does not save your entries to an account or update your website.

## More llms.txt and Markdown tools

[

### llms.txt validator

Check your llms.txt file against the spec. Paste or point at a URL to get line-by-line errors, token counts, and a sibling llms-full.txt report.

](https://keep.md/tools/llms-txt-validator)[

### Markdown for Agents checker

Paste any URL and get nine pass or fail checks for AI agent readiness. Content negotiation, .md variants, HTML and HTTP alternate links, plus llms.txt and MCP discovery.

](https://keep.md/tools/markdown-for-agents)[

### URL to Markdown

Convert any webpage into clean, AI-ready Markdown. Title, body, headings, and links preserved. Nav and ads stripped.

](https://keep.md/tools/url-to-markdown)[

### Token counter

Count the LLM tokens in text you paste or in any webpage. Pick a model to see how much of its context window you fill, and compare the raw HTML cost of a page to the Markdown version.

](https://keep.md/tools/token-counter)
