llms.txt Specification
The open standard for AI context files. Create a single file that tells AI assistants who you are, what you do, and how you prefer to communicate.
What is llms.txt?
llms.txt is a standardized file format for providing personal or organizational context to AI language models. Similar to how robots.txt tells search engines how to crawl your site, llms.txt tells AI assistants how to understand and interact with you.
Consistent
AI assistants know your preferences every time
Time-Saving
No need to re-explain your background
Better Responses
AI tailors output to your level and style
Shareable
Share context with collaborators easily
File Location
Place your llms.txt file at the root of your domain, publicly accessible:
https://yourdomain.com/llms.txtThe file should be served with content type text/plain or application/json.
File Format
llms.txt supports two formats: JSON (recommended) and structured plain text.
{
"name": "Jane Smith",
"title": "Senior Software Engineer",
"company": "TechCorp",
"bio": "Full-stack developer with 8+ years of experience...",
"expertise": ["TypeScript", "React", "Node.js"],
"ai_instructions": "Prioritize practical solutions...",
"contact": {
"email": "jane@example.com",
"website": "https://janesmith.dev"
},
"version": "1.0"
}Field Reference
name
Your full name or organization name. This is the only required field.
"name": "Jane Smith"title
Your job title or professional role.
company
Your company or organization name.
bio
A brief description (100-500 characters recommended).
expertise
Array of skills or areas of expertise (3-10 items).
ai_instructions
Specific instructions for how AI should interact with you.
location
Geographic location
goals
Array of current objectives
communication_style
Object with tone and preferences
contact
Email, website, social links
version
Version number for tracking
Validation
Use our validator to check your llms.txt file for errors and get a quality score.
Excellent
Comprehensive, well-structured
Good
Missing some recommended fields
Needs Work
Missing required fields or errors
POST /api/v1/validate/llms-txt// Request
{ "content": "..." } // or { "url": "https://..." }
// Response
{
"valid": true,
"score": 85,
"errors": [],
"warnings": [...],
"suggestions": [...],
"parsedContent": {...}
}Best Practices
- Be specific about your expertise level
- Include concrete examples in your bio
- Update regularly as your role evolves
- Use clear, actionable AI instructions
- Keep total content under 2000 tokens
- Include sensitive personal information
- List every skill you've ever used
- Write overly long descriptions
- Use vague or generic instructions
- Forget to validate your file
AI Expert Tips
The ai_instructions field is the most powerful part of your llms.txt file. Use it to:
- • Set communication preferences (formal vs casual, brief vs detailed)
- • Specify your technical level for code suggestions
- • Note any frameworks, tools, or conventions you prefer
- • Include context about your current projects or goals