参考指南 · EN · FR · DE · ES · IT · RU · AR · ZH · JA
了解、创建并验证 llms.txt.
本参考指南帮助你了解 llms.txt 提案、编写 Markdown 文件并检查其结构。先阅读指南,创建草稿,然后查看诊断结果。
有文档记录的规则 · 九种语言 · CC BY 4.0
# llmtxt.info
> The reference site on llms.txt: what it is, how it works, how to create one, with a free validator and generator.
## Core pages
- [What is llms.txt](https://llmtxt.info/what-is-llms-txt/): definition, origin, adoption.
- [How it works](https://llmtxt.info/how-it-works/): file structure and parsing rules.
- [How to create llms.txt](https://llmtxt.info/how-to-create/): step-by-step with templates.
- [Comparison](https://llmtxt.info/comparison/): llms.txt vs robots.txt vs sitemap.xml.
## Tools
- [Validator](https://llmtxt.info/validator/): paste a file, read the diagnostics.
- [Generator](https://llmtxt.info/generator/): scaffold a llms.txt from a form.
## Optional
- [FAQ](https://llmtxt.info/faq/): twenty common questions.
- [Glossary](https://llmtxt.info/glossary/): key terms.
实用参考
从第一个问题到经过检查的文件。
了解提案,编写目标明确的 Markdown 文件,并根据有文档记录的规则检查其结构。发布文件前请检查链接和描述。
公开的 llms.txt 文件
已于 2026 年 9 月 5 日检查- OpenAI Developers developers.openai.com
- Cloudflare developers.cloudflare.com
- Stripe docs.stripe.com
- NVIDIA www.nvidia.com
- Microsoft Teams SDK microsoft.github.io
- Google DeepMind deepmind.google
这是对已发布文件的观察,不代表存在合作关系或模型使用。 查看已检查的 100 个 URL
你可以在这里做什么
一段话概述
llms.txt
是一个放置在网站根目录的 Markdown 文件(/llms.txt) 为大型语言模型提供了一份经过精心筛选的、最值得阅读的页面地图。该提案由 Jeremy
Howard(Answer.AI)在 2024年9月 中提出。它并非 W3C 或 IETF 标准, 且截至 2026 年,尚无主要
LLM 提供商公开承诺系统性地采用该规范,
但已被多份文档平台广泛采用(Anthropic、Cloudflare、Stripe、
Mintlify、Vercel、Perplexity),并作为一种稳定的、机器可读的契约发挥作用,您
可在自己的网站上自主控制该契约。
来源: llmstxt.org, Answer.AI 公告.
llms.txt 真的有效吗?阅读事实分析 →探索该主题
页面分为三个主题群组:基础知识、构建指南和参考资料。请选择起点。
基础
- 什么是 llms.txt
定义、起源、采用情况。 - 工作原理
结构、语法、解析。 - 与 robots.txt 和 sitemap.xml 的比较
各文件的用途。 - 优势与限制
llms.txt 真正能带来什么。 - llms.txt 有用吗?
按用例提供证据:AI 引用、SEO、工具。 - llms.txt 与 SEO
Google 排名、GEO、AI 流量。
构建指南
- 如何创建 llms.txt
模板、部署、按技术栈区分。 - 最佳实践
十条规则与常见错误。 - 验证器
粘贴文件,读取诊断结果。 - 生成器
搭建一个干净的基线。
参考
- 真实案例
Anthropic、Cloudflare、Stripe… - llms.txt 文件
位置、范围与发现。 - Google 会使用 llms.txt 吗?
清晰且有来源依据的答案。 - ChatGPT 会使用 llms.txt 吗?
OpenAI 实际上说了什么,没说什么。 - 查找某个站点的 llms.txt
查看任意网站的文件。 - 常见问题
二十个常见问题。 - 词汇表
关键术语(GEO、AEO、RAG…)。 - 我们的 /llms.txt
自行实践。