What Is an llms.txt File, and How Do You Build One?

Summary
The article explains what an llms.txt file is (a Markdown file at yoursite.com/llms.txt that gives AI systems a curated map of your site), walks through how to build one step by step, and gives an honest answer on whether it actually helps SEO or AI visibility right now — it doesn't move rankings, but it doesn't hurt either. It closes with a real example (Trustal Recruiting's file), how to check if a site already has one, the most common mistake businesses make, and whether every business needs one.
Key takeaways
What it is: A plain text file, in Markdown, listing your most important pages with a title, description, and link — built for language models, not human visitors.
How to build one: Start with an H1 of your business name, a one-sentence blockquote summary, then group real pages into a few H2 sections (8 links or fewer each). A DIY prompt is included for people who'd rather have AI draft it from their existing site.
The honest SEO answer: llms.txt doesn't currently affect rankings — Google has said Search doesn't rely on it. Adoption is split even among SEO tools (Semrush has one, Ahrefs and Neil Patel Digital don't), so it sits closer to future-proofing than proven tactic.
Common mistake: Overstuffing the file with company history or every service offered instead of keeping it minimal and curated.
Bottom line: Low-cost, low-risk, no guaranteed payoff — worth doing if you want to be ahead of the curve, not something anyone can promise results from.
An llms.txt file is a plain text file, written in Markdown, that lives at the root of your website (yoursite.com/llms.txt). It lists your most important pages with a title, a short description, and a link, so an AI system reading your site gets a clean map instead of a guess.
What Is an llms.txt File, and What Does It Do?
Most business websites carry a lot of information: services, locations, team bios, blog posts, legal pages. An llms.txt file strips that down to what actually matters and hands it to AI systems in a format they can read in seconds.
Think of it as a table of contents built for a language model instead of a human visitor. It doesn't replace your site. It points to it.
How Do You Build an llms.txt File, Step by Step?
Create a plain text file in Markdown and host it at your site's root: yoursite.com/llms.txt. Markdown is a light markup syntax, and it's easy for AI systems to parse.
The elements you'll use:
#for an H1 heading,##for H2s,###for H3s>for a blockquote, used for a short summary description-or*for bullet points in a list[text](url)for a link:to add a one-line description after a linkTriple backticks for a code block, if you're sharing something technical
Here's a simplified, real version of Yatsar's own file:
If you'd rather not write it by hand, this prompt will scan your site and draft one for you:
Free Prompt
Create an llms.txt file for my business by analyzing this website: [paste your website URL]. Follow the llms.txt spec at llmstxt.org: start with an H1 of my business name, add a one-sentence blockquote summary, group my real pages into a few H2 sections with one factual line each, and end with an "Optional" section for lower-priority pages. Use only real pages you find on my site. Keep sections to 8 links or fewer. Ask me for anything you can't find before finishing.
Does llms.txt Actually Help with AI Visibility or SEO?
Not directly, and not yet. llms.txt won't move your rankings. It also won't hurt them.
Google has stated publicly that Search, including its AI-driven features, doesn't rely on llms.txt or similar machine-readable files to find or rank content (Google's AI optimization guide).
Adoption is split even among people who study this for a living. Semrush publishes one (semrush.com/llms.txt). Ahrefs and Neil Patel Digital don't.
Right now, llms.txt sits closer to future-proofing than a proven tactic. That could change as more AI systems start reading them by default, but nobody can promise a result from adding one today.
What's a Real llms.txt File We've Built?
We built one for Trustal Recruiting (trustalrecruiting.com/llms.txt). It leads with the industries Trustal actually recruits for and the core services, and moves everything else into the "Optional" section. That's the discipline the whole file depends on: lead with what matters, don't bury it.
How Do You Check If a Site Already Has One?
Type the root domain, then /llms.txt. If yoursite.com/llms.txt loads a page instead of a 404, the file exists. Takes about ten seconds.
What's the Most Common Mistake?
Writing too much. An llms.txt file isn't a place for your company history or every service you've ever offered.
Keep it to what actually matters, in the fewest words that say it clearly. If a section reads like a sales page, cut it back to a link list.
Does Every Business Need One?
We'd build one for any client who asks. No one in the SEO world, us included, can guarantee it produces a result.
It's low-cost, low-risk, and it may matter more in a year than it does today. Whether that's worth doing now is a judgment call, not a fact we can hand you.
Want One Built for Your Site?
Reach out through yatsar.agency. It's a quick add to a GEO diagnostic, not a separate project.
