Free llms.txt Checker & Validator

llms.txt Checker: Honest Validation for AI Search Readiness

Verify whether your /llms.txt file is genuinely ready for LLMs, AI answer engines, and coding assistants. Most tools only check if a file returns HTTP 200. GeoSeen honestly validates format standards (H1 heading, link grouping, optional sections), flags raw link dumping, detects missing context summaries, and tests for broken 404 links.

Free scan, no sign-up needed.

Instant read-only test. No account, sign-up, or API key required. Inspects real Markdown and link reachability.

Why honest llms.txt inspection matters

MIME type & soft-404 detection

Many Single Page Applications (Next.js, Vite, React) silently return an HTML app shell for missing routes. An AI bot cannot parse an HTML page as an llms.txt index.

Semantic context vs. link dumping

Dumping naked URLs without explanatory annotations is useless to an LLM. High-quality files provide a 1-sentence note for each link so models know which file to fetch.

Active, resolvable endpoints

Broken links that return HTTP 404 waste context budget and cause hallucinations. Honest inspection samples your linked URLs to confirm they are live.

The 3 most common invalid patterns

  • Pure link dumping: Long bullet lists of raw links with no descriptive prose explaining what each page contains or why an AI should visit it.
  • Missing contextual summary: Omitting the introductory blockquote or summary paragraph, forcing LLMs to guess your project's domain and purpose.
  • Dead links & HTML fallbacks: Pointing to 404 pages or serving a 200 OK containing full SPA HTML markup instead of text/markdown.
  • Missing H1 hierarchy: Failing to specify a single clear # Project Name on line 1, confusing entity resolution.

The canonical llms.txt structure

According to the open llms.txt specification, an optimal file follows a clean 4-tier structure:

  1. H1 Title: # Project Name identifies the core entity.
  2. Summary Blockquote: > Short 2-3 sentence overview... describes who you are and what you do.
  3. Categorized Link Groups: ## Core URLs with - [Title](url): Description providing exact semantic context.
  4. Optional Files Section: ## Optional pointing to deep documentation or companion /llms-full.txt.
llms.txt is a supplementary guide — not a ranking shortcut.

A well-maintained /llms.txt helps ChatGPT, Claude, and Perplexity parse your core pages cleanly. However, it does not guarantee citations or replace foundational SEO: crawl entry points, server-rendered source HTML, structured JSON-LD data, and authoritative content.

Frequently asked questions

What is an llms.txt file?

llms.txt is an emerging web standard proposed by Jeremy Howard (Answer.ai) designed to provide Large Language Models (LLMs) and AI agents with a concise, high-signal Markdown summary of a website's key pages, documentation, and tools.

Why does GeoSeen call this an "honest" checker?

Basic checkers only perform a surface check for HTTP 200 OK. GeoSeen inspects real content quality: whether your server accidentally returns an HTML SPA 404 fallback, whether your links are dumped without context descriptions, whether your H1 and intro summary exist, and whether your links actually resolve without 404 errors.

What is the difference between llms.txt and llms-full.txt?

llms.txt is a curated index with short descriptions and links (usually under 20KB / ~4,000 tokens). llms-full.txt is an optional comprehensive file that concatenates the full Markdown text of all essential documentation for zero-roundtrip ingestion by LLMs.

How do I fix an HTML fallback issue on /llms.txt?

Place your physical llms.txt file in your public root directory (e.g. public/llms.txt in Next.js or Vite), configure your web server (Nginx/Cloudflare) to send Content-Type: text/markdown; charset=utf-8, and ensure rewrite rules bypass SPA index.html for .txt files.

Will adding an llms.txt automatically boost my Google rankings?

No. llms.txt is specifically designed for Generative Engine Optimization (GEO) and AI agents. It does not replace standard search crawler signals such as sitemaps, canonical tags, clean HTML source, or authorized Search Console verification.

Ready for a comprehensive full-site SEO & GEO audit?

/llms.txt is only one supplementary file. GeoSeen provides complete public-scan audits, entity schema validation, AI crawler rule inspections, and actionable developer work orders.

Explore All-in-One SEO & GEO Audit Plans
免费 llms.txt 检查器与规范验证

llms.txt 检查器:面向 AI 搜索准备度的诚实检测

验证你的 /llms.txt 文件是否真正具备供大模型、AI 搜索与 Coding Agent 顺畅读取的标准。多数工具只检测 HTTP 200 状态码;GeoSeen 提供“诚实检测”:核验规范格式(H1 标题、链接分组、可选文件段)、指出纯链接堆砌、指出缺少说明文字,并实测链接是否指向 404。

免费扫描,不用注册。

秒级只读检测,无需注册或配置 API Key。核验真实 Markdown 格式与链接健康度。

为什么需要“诚实检测”?

MIME 类型与软 404 识别

许多前端单页应用(Next.js、Vite、React)对未匹配路径默认返回 HTML 页面外壳。大模型无法将一段 HTML 网页作为干净的 Markdown 说明进行读取。

语义上下文 vs. 纯链接堆砌

缺乏说明文字的纯链接堆砌对大模型价值极低。规范的高质量文件应为每条链接提供 1 句简明说明,使 Agent 无需盲目发起抓取即可判断页面内容。

可稳定访问的有效链接

指向 404 错误页的死链接会严重浪费大模型上下文预算并引发“幻觉”。诚实检测会实际抽样核验链接是否有效连通。

最常见的无效写法(避坑指南)

  • 纯链接堆砌: 仅罗列 URL 或只有标题却没有描述说明,大模型无法据此做出精准检索决策。
  • 缺少说明文字: 跳过 H1 下方简述直接列出链接,大模型无法快速理解网站的核心业务定位与适用场景。
  • 死链接与 HTML 软 404: 链接指向 404 报错页面,或 /llms.txt 本身被 SPA 路由拦截返回 HTML 网页而非 text/markdown。
  • 层级缺失: 缺少第一行明确的 # 项目名称 H1 标题,削弱实体识别精度。

规范的标准结构与模版

根据开源 llms.txt 规范,高质量的文件应遵循以下 4 层清晰架构:

  1. H1 标题: # 品牌或项目名称 确立核心实体。
  2. 概览引用块: > 2-3 句话核心介绍... 简明阐述产品定位与受众。
  3. 分类链接分组: 使用 ## 核心页面 分组,并按 - [标题](url): 说明 格式提供高信息密度标注。
  4. 可选文件段: ## Optional 放置深入文档或配套的 /llms-full.txt。
llms.txt 是补充性说明,绝非排名灵丹妙药。

合规的 /llms.txt 能帮助 ChatGPT、Claude 和 Perplexity 更高效抓取核心页面,但它不能替代扎实的技术 SEO 与 GEO 基础:抓取入口畅通、服务端首屏渲染、实体 Schema 结构化数据以及真实权威内容。

常见问题解答

什么是 llms.txt 文件?

llms.txt 是由 Jeremy Howard 等提出的新兴网络标准,旨在为大语言模型(LLM)和 AI 搜索 Agent 提供一份高信息密度的站点 Markdown 索引,帮助 AI 更准更快地理解网站结构。

什么是“差异化诚实检测”?

普通的检测器往往只看网址能不能连通(HTTP 200)。GeoSeen 深入核验真实内容质量:排查 SPA 软 404 伪 200、检查是否有总结概述、识别纯链接堆砌、核验是否包含指向 404 的失效链接。

llms.txt 与 llms-full.txt 有什么区别?

llms.txt 是一份精炼的目录索引(通常在 20KB / 4,000 token 以内),适合快速概览;llms-full.txt 是可选的完整版 Markdown 正文合集,适合让 Agent 一次性载入全站核心文档。

如何解决 /llms.txt 返回 HTML 网页的问题?

将物理 llms.txt 文件放置在公共静态目录(如 Next.js 的 public/llms.txt),并在 Nginx/CDN 规则中配置 Content-Type: text/markdown; charset=utf-8,同时确保单页应用的前端路由重写规则排除了 .txt 路径。

发布了 llms.txt 就能保证被 AI 引用或提升 Google 排名吗?

不能。llms.txt 是专为大模型设计的补充性文件,并不属于 Google 收录的必填要求,也不能保证 AI 一定会引用或推荐网站。

想要全站深入的 SEO 与 AI 搜索可见性?

/llms.txt 仅是 AI 搜索的补充上下文。GeoSeen 全站审计可检测抓取入口、爬虫规则、源码可读性与实体 Schema,并生成照着改的工单。

查看全站审计与定制服务