Skip to main content
CodeLint.Dev AI · Dev · Finance

llms.txt Generator & Validator

Build an llms.txt from a form, or paste one and check it against the format published at llmstxt.org. Each finding comes with a line number and a severity.

Site details

Markdown paragraphs and lists. No headings — the format does not allow them here.

Link sections

Section 1
Section 2
Optional section

Written last as ## Optional. By convention these are secondary links an agent can skip when it needs a shorter context.

llms.txt

3 sections · 8 links · 1,549 bytes
# CodeLint.Dev

> Free developer, AI-engineering and finance tools. The interactive tools run entirely in the visitor's browser — nothing typed into them is uploaded. The same utilities are available to AI agents over MCP, a REST API and A2A, with no API key.

Tool pages pair a working tool with reference material: the standard or formula behind it, common errors and their causes, and worked examples.

- All agent-facing tools are read-only and deterministic.
- Inputs are processed in memory and not stored.

## For AI agents

- [MCP server](https://codelint.dev/mcp): Model Context Protocol endpoint (Streamable HTTP, no auth). Add this URL to any MCP client.
- [REST API](https://codelint.dev/api/v1/tools): The tool catalogue as JSON; run a tool with POST /api/v1/tools/{name}.
- [OpenAPI document](https://codelint.dev/openapi.json): OpenAPI 3.1 description of the REST API.
- [A2A agent card](https://codelint.dev/.well-known/agent-card.json): Agent2Agent discovery document.
- [Agent documentation](https://codelint.dev/agents): Setup instructions for Claude, ChatGPT, Cursor, VS Code and custom agents.

## Developer Tools

- [Regex Tester](https://codelint.dev/developer-tools/regex-checker): Live match highlighting, capture group inspection, and a token-by-token explanation of the pattern.
- [Diff Checker](https://codelint.dev/developer-tools/diff-checker): Word-level comparison of two texts with additions and deletions highlighted inline.

## Optional

- [About](https://codelint.dev/about): Who builds and maintains the site.
Follows the llms.txt format. No findings.

Save the file as llms.txt and serve it at the root of the site (/llms.txt) or of the path it describes, as UTF-8 text. Nothing typed here leaves this page.

What llms.txt is, and what it is not

llms.txt is a Markdown file that gives a language model a short, curated index of a site: its name, a summary, and lists of links worth reading. Jeremy Howard proposed it in September 2024 and revised it as v2 in August 2026 (llmstxt.org). It is a community proposal, not a standard from the IETF or W3C, and no client is required to fetch it.

What can be verified about who uses it, as of 22 November 2026:

  • Chrome's Lighthouse has an llms.txt audit. It flags a server error on the file and treats a 404 as not applicable, because publishing one is optional.
  • OpenAI, Anthropic and Google each publish an llms.txt for their own developer documentation, and documentation platforms such as Mintlify generate one automatically.
  • The crawler documentation from OpenAI, Anthropic, Google and Perplexity describes how each crawler treats robots.txt and does not mention llms.txt.
  • Google's documentation for AI features in Search says no new machine-readable files or AI text files are needed to appear in them.

So llms.txt is not a ranking signal and not a crawler directive. It does not grant or deny access (that is robots.txt) and it does not replace a sitemap. The practical reason to publish one is the reader that arrives on demand: a coding assistant or agent that a user has pointed at your site can read one small file and follow the right links instead of working the structure out from navigation HTML.

An example llms.txt

A shortened version of the file this site serves at /llms.txt, followed by the two ways the proposal gives for advertising the file (rel="describedby") and the Markdown version of a page (rel="alternate").

llms.txt
# CodeLint.Dev

> Free developer, AI-engineering and finance tools. The interactive tools run entirely in the visitor's browser — nothing typed into them is uploaded. The same utilities are available to AI agents over MCP, a REST API and A2A, with no API key.

Tool pages pair a working tool with reference material: the standard or formula behind it, common errors and their causes, and worked examples.

- All agent-facing tools are read-only and deterministic.
- Inputs are processed in memory and not stored.

## For AI agents

- [MCP server](https://codelint.dev/mcp): Model Context Protocol endpoint (Streamable HTTP, no auth). Add this URL to any MCP client.
- [REST API](https://codelint.dev/api/v1/tools): The tool catalogue as JSON; run a tool with POST /api/v1/tools/{name}.
- [OpenAPI document](https://codelint.dev/openapi.json): OpenAPI 3.1 description of the REST API.
- [A2A agent card](https://codelint.dev/.well-known/agent-card.json): Agent2Agent discovery document.
- [Agent documentation](https://codelint.dev/agents): Setup instructions for Claude, ChatGPT, Cursor, VS Code and custom agents.

## Developer Tools

- [Regex Tester](https://codelint.dev/developer-tools/regex-checker): Live match highlighting, capture group inspection, and a token-by-token explanation of the pattern.
- [Diff Checker](https://codelint.dev/developer-tools/diff-checker): Word-level comparison of two texts with additions and deletions highlighted inline.

## Optional

- [About](https://codelint.dev/about): Who builds and maintains the site.
HTTP response header
Link: </docs/page.html.md>; rel="alternate"; type="text/markdown", </docs/llms.txt>; rel="describedby"
HTML link elements
<link rel="alternate" type="text/markdown" href="/docs/page.html.md">
<link rel="describedby" href="/docs/llms.txt">

What each part of the file means

The order is fixed, so the file can be read by a parser as well as by a model.

  1. 1 H1 —The name of the project or site. It is the only required part, and nothing but an optional byte-order mark may come before it.
  2. 2 Blockquote —A short summary, directly under the H1, with what a reader needs in order to understand the rest of the file.
  3. 3 Details —Zero or more paragraphs or lists explaining the project and how to interpret the links. Any Markdown block is allowed here except a heading.
  4. 4 H2 sections —Each ## starts a "file list": a Markdown list in which every item is a link.
  5. 5 Link line —- [name](url), optionally followed by a colon and notes: - [name](url): what the page covers.
  6. 6 Optional —An H2 with this name is, by convention, for secondary links an agent can skip when context is short.

llms.txt vs robots.txt vs sitemap.xml

Three files at the root of a site that answer different questions. None substitutes for another.

llms.txtrobots.txtsitemap.xml
PurposeA curated overview with links, for a model answering a question about the siteStates which paths automated clients are asked not to fetchLists the URLs a site wants search engines to discover
AudienceAgents and assistants, on demandCrawlersSearch engine crawlers
FormatMarkdown: H1, blockquote, H2 link listsPlain text: User-agent groups with Allow and DisallowXML: urlset of url / loc
Defined byllmstxt.org proposal (v2, 2026)RFC 9309 (IETF, 2022)sitemaps.org protocol
Location/llms.txt, or any subpath it describes/robots.txt at the root of the host onlyAny URL; usually announced with a Sitemap: line in robots.txt
EnforcementNone. Reading it is optionalNone. The RFC says the rules are not access authorization; compliance is voluntaryNone. It is a hint; the search engine decides what to crawl
SizeSmall enough to fit in a context windowCrawlers must parse at least 500 KiBUp to 50,000 URLs and 50 MB per file

An llms.txt cannot open a path that robots.txt disallows, and listing a URL in it does not ask anyone to index that URL.

Common mistakes the validator reports

No H1 found. The file must start with "# Name"

Cause: The file opens with a paragraph or a front-matter block, or the title is written as "#Title" with no space, which Markdown does not treat as a heading.

Fix: Make the first line "# " followed by the site name, and move everything else below it.

H3 heading before the first H2

Cause: Subheadings were used to organise the introduction. The block between the summary and the first H2 may hold paragraphs and lists but no headings.

Fix: Use a bold lead-in or a list instead, or turn the heading into an H2 section of links.

List item is not a link

Cause: A bullet under an H2 is plain text: a feature list, a tool name in backticks, a note. In a file list every item must be a link.

Fix: Give the item a URL, or move the prose above the first H2 where free-form lists are allowed.

Text after the link does not start with a colon

Cause: The description was attached with a dash or a space: "- [API](https://…) - every endpoint".

Fix: Write "- [API](https://…): every endpoint". The colon is the separator the format defines.

Relative URL "/docs/quickstart.md"

Cause: Links were copied from the site navigation. A model handed the file as text, without the URL it came from, has no base to resolve them against.

Fix: Write every link as an absolute URL including the scheme and host.

How to serve it

  • Path —/llms.txt at the site root, or at any subpath such as /docs/llms.txt. A file covers the URLs under its path, and the most specific file applies.
  • Content type —The proposal does not name a media type. Serve UTF-8 text: text/plain; charset=utf-8 (what llmstxt.org, OpenAI, Anthropic and Google use for theirs) or text/markdown; charset=utf-8 (what this site uses).
  • Markdown pages —Where you can, publish a Markdown version of each linked page at the same URL with .md appended or replacing the extension, and link to that version.
  • Access —Check that robots.txt and bot protection do not block the file or the pages it links to.
  • Test —The proposal suggests the obvious check: give an agent only your llms.txt and ask it questions about your content. This site documents its own agent endpoints, including an MCP server at https://codelint.dev/mcp, at /agents.

About

This tool writes and checks llms.txt files, the Markdown index proposed at llmstxt.org for giving language models a short, curated way into a site. In Generate mode you fill in a name, a one-paragraph summary, optional details and any number of link sections, and the file is assembled in the order the format requires. In Validate mode you paste an existing file and get a finding for each problem, with its line number and a severity: a missing or repeated H1, headings where the format forbids them, list items that are not links, relative or duplicated URLs, empty sections and a file too large to be an index. Both modes run in your browser.

How to use

  1. 1 In Generate mode, enter the site or project name (it becomes the H1) and a one-paragraph summary (it becomes the blockquote).
  2. 2 Add optional details as plain paragraphs or lists, then add a section for each group of links and give every link a title, an absolute URL and a short description.
  3. 3 Put secondary links in the Optional section, check the "Follows the llms.txt format" line under the output, then Copy or Download the file as llms.txt.
  4. 4 To check an existing file, switch to Validate, paste it, and read the findings; select a finding to jump to its line in the input.
  5. 5 Use "Edit in generator" to load a pasted file into the form, fix it there, and export the corrected version.
  6. 6 Serve the result at /llms.txt (or at the root of the path it describes) as UTF-8 text.
Is llms.txt an official web standard?
No. It is a proposal written by Jeremy Howard, first published in September 2024 and revised as v2 in August 2026, maintained in a public GitHub repository and at llmstxt.org. It has not been published by the IETF or W3C, and no client is obliged to read it. robots.txt, by contrast, is specified in RFC 9309.
Will an llms.txt improve how my site ranks in Google or appears in AI answers?
There is no documented basis for expecting that. Google's documentation for AI features in Search says you do not need new machine-readable files or AI text files to appear in them, and the crawler documentation from OpenAI, Anthropic, Google and Perplexity (read on 22 November 2026) does not mention llms.txt at all. Publish one for agents that a user points at your site, not as an SEO measure.
What is llms-full.txt, and do I need it?
llms-full.txt is not part of the llmstxt.org proposal. It is a convention from documentation tooling: Mintlify, for example, generates it as a single file containing the full Markdown of every page. It suits documentation sets small enough to load whole. llms.txt itself is meant to stay a short index whose detail lives behind the links.
Should the links point to HTML pages or Markdown files?
The proposal says links should point to LLM-friendly content, and recommends serving a Markdown version of each page at the same URL with .md appended (page.html.md) or with the extension replaced (page.md); for URLs without a file name, index.html.md or index.md. If you have no Markdown versions, linking the HTML pages is still valid; the format only requires a Markdown link.
What does the "Optional" section do?
In v2 of the proposal it is a naming convention only: an H2 called Optional holds secondary links an agent can skip when it needs a shorter context. In v1 it had a mechanical meaning for a context-expansion tool that left those links out; v2 removed that tooling from the proposal and the special meaning with it.
Can llms.txt live somewhere other than the site root?
Yes. The proposal allows a file at any path, for example /docs/llms.txt, which then describes the pages under that path. Where more than one file applies to a URL, agents should use the most specific one. This is what lets a project that only controls a subdirectory on a shared host publish its own file.