ai.txt Starter Template
This is a ready-to-use ai.txt starter template. Copy, customize, and deploy to declare your AI access policies.
This ai.txt starter template provides a copy-ready format for declaring AI access policies, preferred attribution, content licensing, and usage terms for AI systems crawling your site.
Basic Template
# ai.txt for [Your Site]
# https://yoursite.com/ai.txt
# Last updated: 2025-04-25
# Organization
Organization: Your Organization Name
Contact: ai@yoursite.com
Website: https://yoursite.com
# AI Access Policy
AI-Training: Disallow
AI-Retrieval: Allow
AI-Citation: Required
# Attribution
Preferred-Attribution: "Your Site Name (yoursite.com)"
Attribution-Required: Yes
# Content License
License: CC BY 4.0
License-URL: https://creativecommons.org/licenses/by/4.0/
# Contact for AI-related queries
AI-Contact: ai@yoursite.comPolicy Options Explained
| Field | Options | Meaning |
|---|---|---|
| AI-Training | Allow / Disallow | Can AI use content for training? |
| AI-Retrieval | Allow / Disallow | Can AI retrieve and display content? |
| AI-Citation | Required / Preferred / None | Must AI cite when using content? |
| Attribution-Required | Yes / No | Is attribution mandatory? |
Template Variations
Open Access (Encourage AI Use)
AI-Training: Allow
AI-Retrieval: Allow
AI-Citation: Preferred
Attribution-Required: NoRestrictive (Protect Content)
AI-Training: Disallow
AI-Retrieval: Disallow
AI-Citation: Required
Attribution-Required: YesBalanced (Most Common)
AI-Training: Disallow
AI-Retrieval: Allow
AI-Citation: Required
Attribution-Required: YesDeployment
- Save as
ai.txt(plain text, UTF-8) - Upload to your site root:
https://yoursite.com/ai.txt - Verify: visit
https://yoursite.com/ai.txtin browser - Reference from robots.txt if desired
Related Articles
- ai.txt Reference — Full specification
- llms.txt Reference — Companion file
- robots.txt for AI Crawlers — Crawler control
Related Articles
ai.txt Reference
ai.txt is a proposed standard file that defines access policies and attribution requirements specifically for AI agents, chatbots, and LLM-powered systems.
llms.txt Reference
llms.txt is a proposed standard file that provides a machine-readable index of site content for AI crawlers. It tells LLMs what a site contains and how to navigate it.
robots.txt for AI Crawlers
How to configure robots.txt to control AI crawler access, including user-agents for ChatGPT, Perplexity, Google AI, and others.