工具箱

llms.txt 生成器

生成一个 Markdown 文件,让 ChatGPT、Claude 这类 AI 助手一眼读懂你的网站。

章节
把最重要的链接分组,AI 才能精准跳转到对应内容。

llms.txt 输出

遵循 llmstxt.org 规范 — H1 站点名称 + 引用块摘要 + Markdown 链接章节。

AI discovery workflow

How to build a useful llms.txt file

llms.txt is a small Markdown file placed at the site root to help AI assistants understand what a site is, which pages matter, and where to find authoritative context. Treat it as a curated guide, not as a replacement for sitemap.xml or robots.txt.

What to include

Start with an H1 site name and a short blockquote summary. Add sections for documentation, product pages, policies, examples, and important evergreen guides. Each link should have a clear title and a short explanation of why an assistant should read it.

What to leave out

Do not dump every URL from the sitemap. Avoid login-only pages, duplicate tag pages, thin pages, expired promotions, and internal dashboards. A concise file with 10 to 30 important links is more useful than a long file that forces an assistant to guess priorities.

Maintenance rhythm

Update llms.txt when your positioning changes, when you publish important guides, or when legal and pricing pages move. Keep it under a practical size limit so an AI assistant can read the whole file in one request without truncation.

Common questions

Is llms.txt an official search ranking factor?

No. It is an emerging convention for AI assistants, not a guaranteed ranking or citation signal.

Should it replace sitemap.xml?

No. Sitemap.xml is for crawlers. llms.txt is a curated summary for AI systems and agents.