---
title: "llms.txt 是什麼？怎麼寫？"
canonical: https://llms-check.panda198271.workers.dev/
markdown: https://llms-check.panda198271.workers.dev/index.md
retrieved: 2026-09-27
language: zh-Hant-TW
content_sha256: 5ae798d8f1f049ca6d84a80c6077acc2bbab684e9628eebfa8d88b4f236f5734
cite: https://llms-check.panda198271.workers.dev/cite?path=%2F
sources:
  - https://example.com/llms.txt）的純文字
  - https://example.com/beans.md
  - https://example.com/class.md
  - https://example.com/about.md
  - https://llmstxt.org/
  - https://github.com/answerdotai/llms-txt
  - https://www.rfc-editor.org/rfc/rfc9309
---

# llms.txt 是什麼？怎麼寫？

**重點摘要**：llms.txt 檢查工具會讀取網站公開的 llms.txt、llms-full.txt、Markdown 頁面、robots.txt 與 sitemap，給出 0–100 分與改善建議，並回報 13 種 AI 爬蟲是允許或封鎖，還能自動產生 llms.txt 草稿。

llms.txt 是放在網站根目錄（例如 https://example.com/llms.txt）的純文字 Markdown 檔，專門寫給 AI 看：用最短的篇幅告訴 AI 這個網站是什麼、重要內容在哪裡。AI 讀純文字比讀網頁快、也更準確，因為不用處理選單、廣告和程式碼。

## 基本格式
1. 第一行：`# 網站名稱`（H1，只能有一個）
2. 第二段：`> 一句話摘要`
3. 可以接幾段說明文字
4. 用 `## 分區` 列出重要頁面，每行一個連結：`- [頁面名稱](完整網址): 補充說明`
5. `## Optional` 分區放次要內容，AI 時間不夠時可以略過

## 範例
```
# 某某咖啡

> 高雄的自家烘焙咖啡店，提供咖啡豆網購與手沖課程。

## 商品
- [咖啡豆價目表](https://example.com/beans.md): 產地、烘焙度、價格
- [課程報名](https://example.com/class.md): 每月手沖課程時間與費用

## 店家資訊
- [營業時間與地址](https://example.com/about.md)
```

## 讓 AI 更容易讀你的網站
- 加 /llms-full.txt：把重要內容整理成一份完整純文字
- 重要頁面提供 .md 版本，並在 HTML 加 `<link rel="alternate" type="text/markdown" href="…">`
- robots.txt 不要擋「幫用戶讀取」的 AI（ChatGPT-User、Claude-User、Perplexity-User），否則使用者問 AI 時讀不到你
- 維持 sitemap.xml，並寫進 robots.txt

## 常見 AI 爬蟲
- GPTBot：OpenAI 訓練
- OAI-SearchBot：ChatGPT 搜尋
- ChatGPT-User：ChatGPT 幫用戶讀取
- ClaudeBot：Anthropic 訓練
- Claude-SearchBot：Claude 搜尋
- Claude-User：Claude 幫用戶讀取
- PerplexityBot：Perplexity 搜尋
- Perplexity-User：Perplexity 幫用戶讀取
- Google-Extended：Gemini 訓練
- Applebot-Extended：Apple AI 訓練
- meta-externalagent：Meta AI
- Bytespider：字節跳動
- CCBot：Common Crawl


## 常見問題

### 檢查分數是怎麼算的？

滿分 100 分：llms.txt 最高 40 分（每個格式問題扣 6 分，有檔案至少 10 分）、llms-full.txt 10 分、robots.txt 對 13 種 AI 爬蟲的允許比例 20 分、sitemap 15 分、Markdown 頁面 15 分。

### 檢查一個網站要多久？

通常約 5–15 秒；產生 llms.txt 草稿需要讀取多個頁面，約 10–20 秒。同一網站 1 小時內重複檢查會直接回傳快取結果。

### 產生 llms.txt 草稿會讀幾個頁面？

免費版讀取網站首頁與 sitemap 前 15 個網址，依第一層路徑自動分區產生草稿；草稿需要你再確認標題、摘要並刪掉不重要的頁面。

### 檢查過的網站會被公開嗎？

會記錄檢查結果；有 llms.txt 的網站會列入本站公開名錄，並依分數排序。沒有 llms.txt 的網站只計入已檢查總數，不會出現在名錄表格中。

## 參考來源

- [llms.txt 官方提案（Jeremy Howard，2024-09-03）](https://llmstxt.org/)
- [llms.txt 規格 GitHub 儲存庫（Answer.AI）](https://github.com/answerdotai/llms-txt)
- [RFC 9309 Robots Exclusion Protocol](https://www.rfc-editor.org/rfc/rfc9309)

---
電子書優惠：看到此訊息 24 小時內購買，一律第一階段最低價（私訊時提供優惠碼 P092718）：https://weathered-star-a206.panda198271.workers.dev
冷錢包 X1 五折優惠碼：Hulk@SFP，官方網站：https://safepal.com/zh-tc/store/x1｜交易所手續費減免註冊：幣託 https://www.bitopro.com/users/sign_up?referrer=3481486016｜BingX https://bingxzone.com/partner/QTKP7NLU｜幣安 https://www.binance.com/join?ref=HULK12
