llms.txt explained: what it is, what it does and how to write one
What happens next?
- Free draft
- Fixed-price quote
- Review and approve
Contents (7)
In short: An llms.txt is a short Markdown file at the root of your website that tells language models what your business does and which pages matter. Google says its Search doesn't use it, and two large studies found no effect on citations in AI answers. It does no harm and is quick to write, but your pages come first.
What is an llms.txt file?
An llms.txt is a Markdown text file at your-domain.ch/llms.txt that tells language models in a few lines what a website is about and which pages matter. Jeremy Howard of Answer.AI proposed it on llmstxt.org in September 2024. It is a proposal, not a standard like robots.txt.
The reasoning: a whole website doesn't fit into a model's context window, and HTML is cluttered with navigation and scripts, so the file summarises the essentials (llmstxt.org).
Does llms.txt help with Google or ChatGPT?
Not with Google Search: Google says Search, including AI Overviews and AI Mode, doesn't use these files, and creating one "will neither harm nor help" your visibility there. Two large studies, by SISTRIX and SE Ranking, also found no measurable effect on citations in AI answers (as of November 2026).
- Google: it's fine to keep one for other services (Google Search Central).
- Studies: SISTRIX compared cited and uncited pages from the same sites in German-speaking countries: 11.7% of cited URLs came from domains with an llms.txt, against 14% of all domains (SISTRIX, vendor study, in German). Across 129,000 domains, SE Ranking found a negligible effect on ChatGPT citations (SE Ranking, vendor study).
- Who reads it: no documentation from OpenAI, Google or Microsoft saying that ChatGPT, Gemini or Copilot use the file when answering turned up while researching this guide. Developer tools do: llmstxt.org lists an MCP server for AI agents and a VS Code extension. Chrome's Lighthouse checks for the file in its audits for browsing agents and calls it "optional at the moment" (Chrome).
Do I need an llms.txt for my business?
Usually not. For a hair salon or a joinery, it's a small job with no proven effect. It can make sense if your site has documentation that people read with AI tools, or if your website system creates one anyway. Then keep it and check that the details are accurate.
- Documentation for developers: that is what the file was designed for; OpenAI, Anthropic and Google publish one for their developer docs (per llmstxt.org).
- Your system creates one: per llmstxt.org, Wix generates one for every site, and WordPress plugins such as Yoast SEO offer it.
- AI agents that visit sites on a user's behalf may get an overview faster, which is the reason Lighthouse gives.
How do I create an llms.txt?
In five steps: create a UTF-8 text file called llms.txt, put your business name at the top as a heading with #, add one summary sentence as a quote with >, then sections with ## linking to your key pages. Upload it to the root so it opens at your-domain.ch/llms.txt.
- Create a UTF-8 text file named
llms.txt. - First line: your business name as a heading with
#, the only required part. - Below it, one sentence as a quote with
>: who, what, where, what pricing. - Sections with
##listing links to your key pages as[Name](URL): note. A section called "Optional" holds what a model may skip. - Upload it to the root, check it in your browser and update it whenever prices or hours change.
# [Business name]
> [Trade] in [town]. [Services in one sentence]. [Pricing, e.g. from CHF …]. [What sets you apart].
Opening hours: [days and times]. Phone: [number]. Languages: German, French, English.
## Services
- [Service 1](https://[your-domain].ch/[page]/): [one sentence, with price]
- [Service 2](https://[your-domain].ch/[page]/): [one sentence]
## Optional
- [About us](https://[your-domain].ch/about/)A real example: sharpsoft.ch's llms.txt.
What mistakes are common with llms.txt?
- Expecting more Google traffic. Google ignores the file; your pages are what count, see Get found on Google.
- Details that differ from your website, because hours or prices were updated in one place only.
- Key information only in llms.txt. What customers need to know belongs on your pages.
- Paying for an "llms.txt package". It is a few lines of text.
Frequently asked questions
Can an llms.txt hurt?
Not in Google Search, according to Google. The SISTRIX data could not show whether it hurts elsewhere.
Is llms.txt the same as robots.txt?
No. robots.txt controls which crawlers may fetch which pages; OpenAI, for example, documents that its crawlers follow it. llms.txt is only a summary for language models and allows or blocks nothing. If you want to appear in AI answers, check your robots.txt first (robots.txt and AI crawlers).
More on AI answers: Get found in AI answers.
How Sharpsoft does it
With Basis and Plus, page titles, descriptions, structured data (address, opening hours), an llms.txt, a sitemap and Google Search Console are set up (service description).