免費 llms.txt 驗證器

檢查您的 llms.txt 檔案是否符合規範。貼上內容,或告訴我們您的網站——我們會為您找出缺漏的標題、格式錯誤的連結、重複網址及結構問題。

擷取或貼上符合規範的檢查即時結果

我們會自動為您擷取 https://{domain}/llms.txt。

為什麼要驗證 llms.txt?

llms.txt 仍是一個年輕的規範,格式有錯卻又難以察覺的檔案很容易就被發布出去。一旦 H1 缺漏、連結語法錯誤或存在重複網址,AI 助理可能會誤解該檔案,甚至索性完全略過。

我們檢查什麼

  • H1 標題與引述區塊摘要是否齊備
  • 連結語法、網址有效性,以及通訊協定一致性
  • 重複網址、空白或過大的章節

嚴重程度等級

  • 錯誤——檔案無法正確解析,必須修正
  • 警告——檔案可解析,但存在值得修正的品質問題
  • 資訊——讓檔案更精煉的可選改進建議

常見問題

它會依照 llmstxt.org 的規範解析您的 llms.txt,並回報:缺漏 H1 標題(錯誤)、缺漏引述區塊摘要(資訊)、格式錯誤的連結語法(錯誤)、無效或非 http(s) 的網址(錯誤)、跨章節重複的網址(警告)、空白章節(警告)、連結超過約 15 條的過大章節(警告),以及 http/https 通訊協定混用(資訊)。

可以——請使用「貼上」模式。您可以在本機草擬 llms.txt,貼到驗證器,反覆調整結構,待結果乾淨後才正式發布。貼上模式有 256 KB 的輸入上限,遠超任何實際 llms.txt 檔案的大小。

我們會直接擷取 https://yourdomain.com/llms.txt——毋須任何設定。若找不到檔案,我們會回傳清晰的 404 訊息。當您想檢視自己負責的網站(或競爭對手的網站),又不想自行複製內容時,這個模式最適合。

錯誤代表檔案無法正確解析,必須修正——例如缺漏 H1 或格式錯誤的連結。警告代表檔案可以解析,但存在影響 LLM 處理內容的品質問題——例如重複網址、空白章節、連結過多的章節。資訊則屬於讓檔案更精煉的可選改進建議,並非必須處理。

是的。無需註冊、無需信用卡,匿名路徑可驗證任意數量的檔案。GeoVector 的付費方案則加入持續監察功能——我們會按排程重新驗證您的 llms.txt,一有偏差即時通知您,對內容頻繁更新的網站尤其重要。

本驗證器的全部規則

Error 是解析器無法復原的問題。Warning 能解析,但模型讀起來會很糟。Info 屬於取捨判斷。

SeverityCodeWhen it fires
Errormissing_h1The file does not start with a single "# Site name" heading.
Errormalformed_urlA link target does not parse as a URL. Relative paths land here.
Errorunsupported_protocolA link uses something other than http:// or https://.
Errormissing_link_titleA list item has a URL but no link text.
Warningno_sectionsNo "## Section" headings, so every link sits in one undifferentiated pile.
Warningempty_sectionA heading with no links under it.
Warninglarge_sectionMore than 15 links in one section. Split it so the file stays scannable.
Warningduplicate_urlThe same URL appears twice; the report names both line numbers.
Infomissing_summaryNo "> summary" blockquote under the title.
Infono_optional_sectionNo "## Optional" section, so nothing is marked as safe to skip.
Infomixed_protocolThe file mixes http:// and https:// links.

這裡沒有任何一條由標準組織強制——llms.txt 只是一個提案。這些規則編碼的是該提案描述的結構,加上檔案被上下文視窗有限的模型讀取時,實際會出問題的地方。

一個通過的檔案,和一個不通過的

動手寫之前,先比較這兩份。

合規:標題、摘要、分區、絕對 URL 齊備
# Example Analytics

> Product analytics for teams that ship weekly.

## Docs

- [Quickstart](https://example.com/docs/quickstart): Install the SDK and send a first event.
- [Event API](https://example.com/docs/api/events): Endpoint reference and payload limits.

## Optional

- [Changelog](https://example.com/changelog)
八行裡的四個問題
## Docs

- [Quickstart](/docs/quickstart)
- (https://example.com/docs/api/events)
- [Quickstart](https://example.com/docs/quickstart)

## Guides

缺少 H1(錯誤)、用相對路徑而非 URL(錯誤)、連結沒有標題文字(錯誤)、URL 重複(警告),以及空的 Guides 分區(警告)。在真的有程式解析這個檔案之前,這些問題全都看不出來。

來源與規範

本頁所有內容都以下列第一手文件為準。廠商一旦改動規則,最先反映在那裡。

最後審閱於 。每當廠商更新規範,我們都會重新核對本頁內容。

免費 llms.txt 驗證器 | GeoVector