What is an llms.txt File? The Complete Brand Guide (With Generator)
An llms.txt file tells AI crawlers what your brand is and does. Learn what to include, how to create one in 30 minutes, and how it reduces AI hallucinations about your brand.
Robots.txt told crawlers what not to read. Sitemaps told them what to index. llms.txt tells AI language models what your brand actually is.
The concept is straightforward: a plain-text file at your domain root (yourbrand.com/llms.txt) that gives AI systems an official, brand-authored briefing document. Your name, what you do, your pricing, the facts that matter. Instead of ChatGPT piecing together your brand story from a 2022 press release, a Crunchbase stub, and a G2 review someone left when they were annoyed — you write it down, put it at a predictable URL, and let crawlers find it.
It is probably the most valuable 90-minute investment in AI search that nobody talks about. You write one file. Every AI engine that supports the format benefits simultaneously.
Why Brands Need an llms.txt File
The core problem: AI engines cannot know what your brand actually is unless you tell them somewhere reliable. Right now, ChatGPT and Perplexity piece your brand story together from whatever they can find — old blog posts, a Crunchbase entry someone created in 2021, third-party reviews, forum threads. There is no mechanism that says “this is the official version.” An llms.txt file is that mechanism.
This matters most for hallucination prevention. AI hallucinations about brands almost always happen when the model is forced to synthesise facts from multiple low-confidence sources and fill gaps with inference. A well-formed llms.txt gives the model structured, verified facts to lean on instead — and in most cases they outweigh the noise. Most brands that get badly hallucinated don't have an llms.txt. That's not conclusive proof of causation, but it's not nothing either.
There is also a secondary effect worth naming: a well-structured llms.txt signals that you are actively managing your AI presence. Consistent facts, explicit disambiguation, clear authorship — crawlers reward that coherence as part of a broader entity signal bundle. It is not magic, but it is measurably part of what separates brands that get cited accurately from those that do not.
And unlike a full content strategy overhaul, this takes one to two hours. Once it is live at your domain root, it works across every AI engine that supports the format simultaneously — with no ongoing cost beyond keeping the facts current.
What to Include in Your llms.txt
The format is plain text with Markdown-style headings. Here is the full template — required sections first, then the optional ones that tend to move the needle on citation accuracy.
Required sections:
# [Brand Name]
> [One-sentence description of what the company does and who it serves]
## About
[2-3 paragraph plain-text description: what the product does, core value
proposition, and target audience. Write in plain, factual language.]
## Products
- [Product/service name]: [plain description of what it does]
- [Product/service name]: [plain description of what it does]
## Pricing
- [Plan name]: [price] — [what is included, in plain language]
- [Plan name]: [price] — [what is included]
## Key Facts
- Founded: [year]
- Headquarters: [location or "Remote / Global"]
- Supported platforms: [web, iOS, Android, etc.]
- Languages supported: [list]
## Docs
- [URL]: [description of what is at that URL]
- [URL]: [description of what is at that URL]Optional sections that improve citation rate:
## Competitors— list major alternatives objectively and factually. AI engines use this for comparison queries.## Integrations— what your product connects with. Directly answers “does X work with Y?” queries.## Use Cases— common buyer scenarios described in plain language. Helps AI match your brand to intent queries.## What We Are Not— disambiguation for brands whose name is shared with another entity, product category, or concept.
What NOT to Include in llms.txt
Keep it factual and current. The two most common mistakes are marketing language and stale pricing.
On language: phrases like “the best,” “industry-leading,” or “revolutionary” are not facts — and AI engines weight neutral, declarative prose higher than promotional copy. Superlatives can actually lower the credibility of the content around them. Write it like you are filling in a Wikipedia infobox, not a landing page.
On pricing: if your llms.txt still lists a plan you deprecated six months ago, you are generating hallucinations yourself — the exact problem the file is supposed to solve. A simple rule: whenever you update your pricing page, update your llms.txt in the same commit.
A few other things to avoid: HTML or JavaScript (the file must be plain text; any markup will be parsed as literal characters or ignored entirely), internal URLs or confidential information (the file is publicly accessible), and anything that contradicts your main website (inconsistency is a trust signal — in the wrong direction).
llms.txt vs robots.txt — What Is the Difference?
Both files live at your domain root. That is where the similarity ends.
| robots.txt | llms.txt | |
|---|---|---|
| Purpose | Tell crawlers what NOT to index | Tell AI models what your brand IS |
| Audience | Search engine crawlers | AI language model crawlers |
| Content | URL rules (allow/disallow) | Descriptive text about your brand |
| Standard status | Established (1994) | Emerging (2024–) |
| Do you need both? | Yes | Yes |
You need robots.txt to manage crawl access to your pages. You need llms.txt to give AI systems a reliable, brand-controlled summary of who you are. They serve entirely different purposes and neither replaces the other.
Does llms.txt Actually Work?
Here is an honest take: it is an emerging standard with real momentum, not a universally adopted specification. Anthropic and Perplexity have both publicly indicated support for the format. Several other AI systems read it when present. And a crawler that does not yet support llms.txt will simply ignore the file — there is no downside.
The harder question is whether it moves the needle on its own. Isolating the effect is genuinely difficult — llms.txt is part of a broader entity signal bundle alongside consistent facts, authoritative structure, and cross-platform coherence. What we can say is that brands with a well-formed llms.txt tend to have more accurate AI citations, and brands that get badly hallucinated tend not to have one.
The honest recommendation: do it now. The investment is real but small — call it two focused hours. The upside compounds as AI engine support matures, and you will close the file and feel a bit silly that you did not do this six months ago. Use the free Spektriq llms.txt generator to walk through each section and output a file ready to upload.
How to Create Your llms.txt in 30 Minutes
- Open a plain text editor — VS Code, Notepad++, anything that saves as UTF-8. Do not use Word or Google Docs; they add invisible formatting.
- Work through the template above section by section, or use the Spektriq generator if you want guided prompts for each field.
- Write accurate, current information. If you are genuinely unsure about a fact — especially pricing — leave that section out rather than guess. An omission is neutral; a wrong fact is a hallucination you authored.
- Save as
llms.txt— no.htmlextension, UTF-8 encoding, no BOM. The filename and format are both load-bearing. - Upload it to your domain root so it is accessible at
yourdomain.com/llms.txt. - Verify it: paste the URL directly into a browser. You should see raw plain text, not a download prompt and not a rendered page. If you see either of those, check your server's Content-Type configuration for
.txtfiles. - Add the URL to your
sitemap.xmlas a<loc>entry. Some crawlers discover the file via sitemap rather than by convention — worth the 30 seconds. - Set a recurring reminder to review it whenever you update pricing, product names, or feature availability. The file is only as useful as it is accurate.
How to Verify Your llms.txt is Working
Browser check. Navigate directly to yourdomain.com/llms.txt. The file should render as raw text in the browser window. If it triggers a file download or shows HTML, your server is sending the wrong Content-Type.
cURL header check. Run curl -I yourdomain.com/llms.txt. The response should include Content-Type: text/plain. If it returns text/html or application/octet-stream, update your server or CDN configuration.
Access log check. Search your server access logs for user agents containing LLMBot, ClaudeBot, or PerplexityBot. These confirm that AI crawlers have discovered and read the file. Most crawlers will visit within two to four weeks of the file going live.
AI visibility scan. Run a Spektriq scan before publishing your llms.txt and again 30 days after. Any improvement in citation rate, brand accuracy, or hallucination frequency will be visible in the before/after comparison.
Frequently Asked Questions
Is llms.txt required?
No — and anyone who tells you otherwise is selling something. But “not required” does not mean “not worth doing.” It takes less than two hours, it costs nothing, and it gives you direct control over the facts AI engines use when describing your brand. The question is not whether you need it; it is whether you can afford to let third-party sources define you instead.
Does Google use llms.txt?
Google has not confirmed support for llms.txt in AI Overviews, and that may stay true for a while — Google tends to build its own standards rather than adopt external ones. That said, the structured, factual content you write for llms.txt also strengthens your E-E-A-T signals, which influence both traditional ranking and AI Overviews. Write the file for Perplexity and Claude first; Google benefits are a side effect.
How often should I update my llms.txt?
Update it any time key facts change: pricing, product names, team size, geographic availability, or integrations. Stale llms.txt information can produce hallucinations — the opposite of its intent. A good rule of thumb: if you would update your pricing page, update your llms.txt at the same time.
Can I have both llms.txt and llms-full.txt?
Yes. The convention is that llms.txt contains a concise summary and llms-full.txt contains the detailed version. AI agents that want more context follow the full version; those doing quick lookups use the summary. Both are plain text files served at the domain root.
Will creating an llms.txt immediately improve my AI citations?
Not immediately. AI citation improvements take two to eight weeks to manifest depending on the AI engine's crawl frequency. Perplexity (real-time web search) shows changes fastest. ChatGPT and Gemini, which rely more heavily on training data, take longer. Treat the file as infrastructure: set it up correctly once and let it compound.
Want to see how your brand currently appears across ChatGPT, Perplexity, and Google AI Overviews before you create your llms.txt? Run a free AI visibility scan — it takes 60 seconds and shows you exactly what AI engines are saying about your brand right now.
Get started freeFrequently asked questions
Is llms.txt required?
No — it is an emerging standard, not a requirement. But like robots.txt and sitemaps, implementing it is low-effort and signals to AI crawlers that you're managing your AI presence proactively.
Does Google use llms.txt?
Google hasn't officially confirmed support for llms.txt in AI Overviews. However, structured factual content aligns with E-E-A-T signals that influence both traditional Google ranking and AI Overviews content.
How often should I update my llms.txt?
Update it any time key facts change: pricing, product names, team size, geographic availability, or integrations. Stale information can contribute to hallucinations — the opposite of its intent.
Can I have both llms.txt and llms-full.txt?
Yes. The convention is that llms.txt contains a concise summary and llms-full.txt contains the detailed version. Both are plain text files served at the domain root.
Will creating an llms.txt immediately improve my AI citations?
Not immediately. AI citation improvements take 2–8 weeks depending on the AI engine's crawl frequency. Perplexity shows changes fastest; ChatGPT and Gemini take longer as they rely on training data.