In short

llms.txt is a Markdown text file in the root of your website that gives large language models (LLMs) a short summary of who you are, what you do and which pages matter most. It is a proposed convention, not an official standard, and no major AI provider has confirmed that it uses the file for ranking. It takes an hour or two to create, so it is a cheap addition, but on its own it will not make AI recommend you.

If you have read anything about AI visibility or AI SEO in recent months, you have probably come across the llms.txt file. Some say every website must have one, others call it a pointless trend. The truth is somewhere in between.

In this guide we look at what llms.txt is, where it comes from, what it can and cannot do, and we show step by step how to create one. As an example, we use the live llms.txt file of closeforge.hu.

What is llms.txt?

llms.txt is a plain text file that you place in the root of your website (for example https://yourdomain.com/llms.txt) and that briefly describes, in Markdown, what the site is about and where its most important content can be found.

The idea is that a large language model, for example an AI assistant looking up information on your website, gets a short, clean summary instead of having to dig the essentials out of HTML pages full of menus, cookie banners and scripts. So the file is not written for your visitors, it is written for machines.

Where does llms.txt come from, and is it an official standard?

llms.txt is not an official standard but a proposed convention. It was published by Jeremy Howard in 2024, and the proposal can be read at llmstxt.org.

This means there is no standards body behind it, and no AI provider is obliged to take it into account. The proposal has mainly been adopted by software documentation sites, but you will also find it on company websites.

To be honest: at the time of writing, to our knowledge, no major AI provider (OpenAI, Google, Anthropic, Perplexity) has publicly confirmed that it uses llms.txt for ranking or recommendations. In 2025, Google representatives stated publicly that Google Search does not use it. Anyone who promises that an llms.txt file will make ChatGPT recommend you is promising more than anyone can know.

Does your company need an llms.txt file?

It is not mandatory, but it is worth creating once the foundations of your website are in order, because it takes little work and does no harm. The order of priorities matters, though.

Before you spend time on llms.txt, check these first, because their effect is much more certain:

  • Access for AI crawlers: your robots.txt should not block the crawlers of AI search engines (for example OAI-SearchBot, ClaudeBot, PerplexityBot) if you want to appear in their answers.
  • Indexability: your important pages should be in the Google and Bing indexes, with an up-to-date sitemap.
  • Quotable content: question-style headings, each followed by a short answer that makes sense on its own.
  • Consistent company details and external sources: AI works largely from what the web says about you, not only from what you say about yourself.

Once these are in place, llms.txt is a cheap addition of an hour or two. We use one on closeforge.hu too, but we do not expect it to make AI recommend us, we expect that from the foundations above. We explain how these pieces fit together in our article on GEO vs AEO vs AI SEO.

What is the structure of an llms.txt file?

According to the proposal, the file uses Markdown and consists of these parts, in this order:

  • An H1 heading (#) with the name of the company or website. This is the only required element.
  • A blockquote (>) with a one- or two-sentence summary: who you are, what you do, and for whom.
  • Free-text sections without headings, if you want to pass on other important information.
  • Link lists separated by H2 headings (##). Each line is a Markdown link, followed by a colon and a short description.
  • An H2 section called "Optional", if you have one: the links listed there can be skipped when a shorter summary is needed.

The proposal also suggests that important pages should have a clean Markdown version (for example the page URL with an .md ending). That is a bigger development job, and for a company website it is usually not the place to start.

A real llms.txt example: the closeforge.hu file

This is a shortened version of our own live file, translated into English for this article (the live file is written mainly in Hungarian, with a separate English section). You can view the full file here: closeforge.hu/llms.txt.

# CloseForge

> CloseForge is a Hungarian B2B sales partner based in Székesfehérvár:
> acting as an outsourced sales department, it builds, runs and develops
> the complete new-client acquisition system of B2B companies. [...] It
> also provides an AI visibility (GEO) service.

## Contact
- Name: CloseForge
- Address: Késmárki utca 1/b, 8000 Székesfehérvár
- E-mail: hello@closeforge.hu
- Service area: Hungary

## Services
- [Outsourced B2B sales](https://closeforge.hu/kiszervezett-ertekesites): a complete new-client acquisition process from one partner [...]
- [AI visibility (GEO) for B2B companies](https://closeforge.hu/ai-lathatosag): measurement on 5 AI platforms [...] No guaranteed AI ranking is promised.

## Main pages
- [Blog](https://closeforge.hu/blog)
- [Imprint](https://closeforge.hu/impresszum)

A few things worth noticing:

  • Facts, not adjectives: name, address, activity, service area, pricing model. No "market leader" or "the best".
  • The limits are included too: for example, that we do not promise a guaranteed AI ranking. If the file describes exactly what you do and what you don't, AI is less likely to pass on a false claim about you.
  • The same as on the website: the name, address and service descriptions match the rest of the website and the structured data.

In one respect our file also departs from the strict form of the proposal: the "Contact" section contains plain data, not a link list. If you followed the proposal strictly, you would put these details in the free-text part after the summary, without a heading.

Curious who AI recommends in your industry right now?

llms.txt is only one small piece. After a short conversation, we build your industry's AI ranking free of charge: who AI recommends for typical buyer questions, and where you rank against your competitors.

Get my industry's AI ranking  →

How do you create an llms.txt file, step by step?

For a typical company website, llms.txt takes an hour or two. Follow these six steps:

1. Write down what AI needs to know about you

Company name, what you do in one sentence, who you work for, where, and how to reach you. If a buyer read only this one paragraph about you, would they get an accurate picture?

2. Choose your most important pages

Service pages, pricing or fee model, about us, contact, your most important guides. You do not need every page, that is what the sitemap is for. For a smaller company website, 10-30 links are usually enough.

3. Write it in Markdown, following the structure above

An H1 with the name, a blockquote with the summary, then H2 sections with link lists. Next to each link, write a short, factual description of what is on that page.

4. Save it and upload it to the root directory

The file name must be exactly llms.txt, saved with UTF-8 encoding, and it must go in the root of your website, the same place as robots.txt. Some WordPress SEO plugins can already generate it automatically, but even then, review the generated text.

5. Check it in a browser

Open yourdomain.com/llms.txt. Does it load? Do accented and special characters display correctly? Do the links work? On closeforge.hu we set the server to serve .txt files with UTF-8 encoding, because without that, browsers and crawlers may display accented letters incorrectly.

6. Keep it up to date

When a service, a price, an address or the URL of an important page changes, update llms.txt too. An outdated file is worse than none at all, because it contradicts your website.

Common llms.txt mistakes

  • Thinking it controls access: llms.txt neither blocks nor allows anything. That is what robots.txt is for.
  • Expecting miracles: an llms.txt file does not replace content, indexing and external sources.
  • Marketing copy instead of facts: from sentences like "a leading, innovative solutions provider", AI learns nothing concrete about you.
  • Contradicting your website: a different name, an old address or an old price compared to the website. That confuses machines more than it helps.
  • Pasting in your sitemap: hundreds of links with no selection. The whole point of llms.txt is the selection.
  • Wrong location or wrong encoding: uploaded to a subdirectory, under a different file name, or with unreadable special characters.

What should you do now?

If you do not have an llms.txt file yet, you can create one in an hour or two based on the example above. Before that, though, check whether AI crawlers can access your site, and what AI currently says about you. In our article on AI search for B2B we also explain how search is changing and what it means for a B2B company.

If you want to know who ChatGPT, Google's AI answers, Gemini, Perplexity and Claude currently recommend in your industry, request the free AI visibility assessment. In our AI visibility service, llms.txt is just one item among the technical foundations: measurement, content and external sources matter at least as much.

Frequently asked questions

What is llms.txt?

llms.txt is a Markdown text file in the root of a website (for example https://closeforge.hu/llms.txt) that gives large language models a short summary of who owns the site, what it is about, and which pages matter most.

Is llms.txt an official standard?

No. llms.txt is a proposed convention, published by Jeremy Howard in 2024 on llmstxt.org. It has not been adopted by a standards body, and at the time of writing, to our knowledge, no major AI provider has publicly confirmed that it uses it for ranking or recommendations.

Does llms.txt improve my ranking in ChatGPT or Google?

There is no evidence that it does. llms.txt is a cheap, harmless addition, but who AI recommends depends far more on your website content, indexability and external sources.

What is the difference between llms.txt and robots.txt?

robots.txt controls which crawlers may crawl which pages. llms.txt neither blocks nor allows anything, it only informs: it is a short, machine-readable summary of the site. If robots.txt blocks an AI crawler, llms.txt will not help.

Where do you upload the llms.txt file?

To the root directory of your website, the same place as robots.txt, so the file is available at yourdomain.com/llms.txt. Save it with UTF-8 encoding, otherwise accented and other special characters may break.