Back to SpecificationTools
llms.txt Tools
Everything you need to create, validate, and integrate llms.txt files into your workflow.
Available
Validator
Check your llms.txt file for errors and get improvement suggestions
- Syntax validation
- Schema checking
- Quality scoring (0-100)
- Best practice suggestions
Available
File Generator
Create your llms.txt file with our guided wizard
- Step-by-step wizard
- Template library
- AI-powered suggestions
- Multiple export formats
Available
Public Registry
Browse and discover llms.txt files from verified sites
- Search & filter
- Category browsing
- Verified badges
- Direct linking
Available
API Access
Programmatically validate and fetch llms.txt files
- REST API
- Validation endpoint
- Registry search
- Rate limits included
Available
Embeddable Badge
Show your llms.txt score on your website or README
- SVG format
- Multiple styles
- Auto-updating score
- Verified indicator
Coming Soon
GitHub Action
Validate llms.txt in your CI/CD pipeline
- PR validation
- Score thresholds
- Fail on warnings
- Status checks
Embeddable Badge
Show Your llms.txt Score
Add a badge to your website or README to show your llms.txt validation score.
Badge Preview
llms.txt92/100
With Scorellms.txtverified
VerifiedHTML
<img src="https://contextfile.ai/api/v1/registry/badge/yourdomain.com" alt="llms.txt status" />Markdown
Options
?style=flat- Flat style (default)?style=flat-square- Square corners?score=false- Show "verified" instead of score
Coming Soon
GitHub Action
Validate your llms.txt file automatically in your CI/CD pipeline.
.github/workflows/llmstxt.yml
name: llms.txt Validation
on:
push:
paths:
- 'llms.txt'
- 'public/llms.txt'
pull_request:
paths:
- 'llms.txt'
- 'public/llms.txt'
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Validate llms.txt
uses: contextfile/llmstxt-action@v1
with:
file: llms.txt
fail-on-warnings: false
minimum-score: 70This action will be available on the GitHub Marketplace soon. Join our newsletter to be notified when it launches.
API
API Reference
Integrate llms.txt validation into your own applications.
Validation Endpoint
POST /api/v1/validate/llms-txtRequest Body
{
"content": "...", // Raw llms.txt content
// OR
"url": "https://example.com/llms.txt"
}Response
{
"valid": true,
"score": 85,
"errors": [],
"warnings": [...],
"suggestions": [...],
"parsedContent": {...},
"stats": {
"totalFields": 12,
"filledFields": 9,
"characterCount": 1250,
"estimatedTokens": 312
}
}