---
title: llms.txt 完整指南：AI 時代的 robots.txt｜讓 ChatGPT 理解你的網站
description: llms.txt 是新的網站標準檔案，專門為 AI 語言模型設計。學習如何建立 llms.txt，讓 ChatGPT、Claude 等 AI 更好地理解和引用你的網站。
author: AEO Scanner
published: 2026-04-01 15:23:57
updated: 2026-04-01 15:23:57
language: zh
tags: llms.txt,標準,教學,AI
canonical: https://aeo.codecity.com.tw/blog/llms-txt-guide
---

# llms.txt 完整指南：AI 時代的 robots.txt｜讓 ChatGPT 理解你的網站

## 什麼是 llms.txt？

llms.txt 是一種新的網站標準檔案，遵循 [llmstxt.org](https://llmstxt.org) 規範，專門為 AI 大型語言模型（LLM）設計。就像 robots.txt 告訴搜尋引擎如何爬取你的網站，llms.txt 告訴 AI 你的網站提供什麼內容、如何使用你的服務。

## 為什麼需要 llms.txt？

1. **AI 無法完整閱讀你的網站**：AI 模型通常只看到頁面的文字內容，可能遺漏重要的上下文
2. **主動引導 AI 理解**：透過 llms.txt，你可以主動告訴 AI 你的網站最重要的資訊
3. **提高被引用的機會**：有 llms.txt 的網站在 AEO 評分中獲得額外 10% 的分數加成
4. **越來越多 AI 支援**：ChatGPT、Claude、Perplexity 等 AI 工具已開始讀取 llms.txt

## llms.txt 的格式

llms.txt 使用 Markdown 格式，放置在網站根目錄（例如 https://example.com/llms.txt）：

```markdown
# 你的網站名稱
> 一句話描述你的網站功能

詳細說明你的網站做什麼、提供什麼服務。

## 主要功能

- 功能一
- 功能二
- 功能三

## 如何使用

說明使用者（或 AI）如何與你的網站互動。

## 聯絡方式

- Email: your@email.com
- 網站: https://example.com
```

## llms.txt 與 llms-full.txt

- **llms.txt**：精簡版，適合 AI 快速理解
- **llms-full.txt**：完整版，包含詳細的 API 文件、使用範例等

## 台灣網站的 llms.txt 建議

AEO Scanner 提供自動託管 llms.txt 服務。掃描你的網站後，我們會自動為你生成中文、英文、日文三語版本的 llms.txt，並託管在我們的伺服器上。

你的託管 llms.txt 網址格式：
`https://aeo.codecity.com.tw/aeo/shops/你的網域/llms.txt`

## 如何檢查你的 llms.txt 分數

使用 AEO Scanner 掃描你的網站，llms.txt 是 9 項評分指標之一。如果你的網站還沒有 llms.txt，掃描結果會自動產生一份建議的 llms.txt 內容供你使用。
