Skip to content

Guide

llms.txt in SEO: what it is, what it does and whether you need one

By · Updated

Short answer

llms.txt is a proposed standard (llmstxt.org, 2024): a Markdown file at yoursite.com/llms.txt with your site’s name, a one-paragraph summary and a list of your most important pages with short descriptions. It gives AI tools a clean map of your site. It is cheap to add and harmless, but not every AI system reads it yet.

Key points

  • Location: the root of your domain, e.g. https://example.com/llms.txt.
  • Format: an H1 with the name, a > blockquote summary, optional notes, then H2 sections of Markdown links.
  • An optional llms-full.txt contains the full text of key pages in one file.
  • It complements robots.txt and sitemap.xml — it doesn’t replace them.

What does an llms.txt file look like?

Here is the structure, in plain text: the first line is “# Your Business Name”. Next comes a line starting with “>” that summarises what you do, for whom and where. Then a few bullet points of key facts. Then sections such as “## Services” and “## Optional”, each a list of links in the form “- [Page title](full page address): one-line description”.

You can see a live example at MyWebRank’s own llms.txt and the longer llms-full.txt.

llms.txt example 1: a local bakery

Below are three made-up businesses on made-up example domains, so you can see how the same format fits different kinds of business. Each table shows one line of the file per row, in order, with what that line is for. Copy the left column into a plain text file, leave a blank line between sections, and swap in your own details.

First, a small local shop. Keep it short: what you sell, where you are, and the five or six pages a customer actually needs.

Line in the fileWhat it is for
# Greenleaf BakeryThe name of the business (the only H1).
> Eggless cakes, breads and cookies baked fresh daily in Indiranagar, Bengaluru. Open 8am–9pm, home delivery within 5 km.The one-paragraph summary: what, where, for whom.
- Custom birthday cakes need 24 hours’ notice.A key fact AI tools should repeat correctly.
- All products are 100% eggless and vegetarian.Another key fact.
## PagesStart of the main list of pages.
- [Menu and prices](https://greenleaf-bakery.example.com/menu): all cakes, breads and cookies with prices in rupeesA link plus a one-line description.
- [Order a custom cake](https://greenleaf-bakery.example.com/custom-cakes): sizes, flavours and how to orderA link plus a one-line description.
- [Visit us](https://greenleaf-bakery.example.com/contact): address, map, phone and opening hoursA link plus a one-line description.
## OptionalPages AI tools can skip if they are short on space.
- [Our story](https://greenleaf-bakery.example.com/about): founded in 2015 by two home bakersA lower-priority page.

llms.txt example 2: a B2B service company

A business-to-business firm usually has more pages. Group them under clear headings so AI tools can tell services from case studies.

Line in the fileWhat it is for
# Northwind Payroll ServicesThe company name.
> Payroll, PF and ESI compliance outsourcing for Indian companies with 20–500 employees. Based in Pune, serving clients across India.The summary: service, customer size, location.
- We do not offer recruitment or staffing services.A fact that stops AI tools describing you wrongly.
## ServicesMain service pages.
- [Payroll processing](https://northwind-payroll.example.com/payroll): monthly payroll, payslips and Form 16Link plus description.
- [PF and ESI compliance](https://northwind-payroll.example.com/compliance): registrations, monthly filings and inspectionsLink plus description.
- [Pricing](https://northwind-payroll.example.com/pricing): per-employee monthly feesLink plus description.
## Case studiesProof pages AI tools can cite.
- [Manufacturing client, 300 staff](https://northwind-payroll.example.com/case-studies/manufacturing): how payroll moved over in one monthLink plus description.
## OptionalLower-priority pages.
- [Blog](https://northwind-payroll.example.com/blog): guides on payroll rulesA page AI tools can skip.

llms.txt example 3: an online store

An online shop should point AI tools at category pages and the policies buyers ask about — shipping, returns, payment — rather than listing every product.

When your own file is ready, the free llms.txt generator can build the same structure from a short form, so you don’t have to type the Markdown by hand.

Line in the fileWhat it is for
# Kora HandloomThe store name.
> Handwoven cotton sarees, dupattas and home linen from weavers in Andhra Pradesh. Ships across India; cash on delivery available.The summary: products, origin, delivery.
## ShopCategory pages, not every product.
- [Cotton sarees](https://kora-handloom.example.com/sarees): handwoven sarees with prices and fabric detailsLink plus description.
- [Home linen](https://kora-handloom.example.com/home): bedsheets, cushion covers and table linenLink plus description.
## PoliciesThe answers buyers ask AI about most.
- [Shipping](https://kora-handloom.example.com/shipping): delivery times and charges by cityLink plus description.
- [Returns and exchanges](https://kora-handloom.example.com/returns): 7-day return rulesLink plus description.
## OptionalLower-priority pages.
- [Our weavers](https://kora-handloom.example.com/weavers): the families who make our productsA page AI tools can skip.

Do ChatGPT and Google actually use llms.txt?

Honest answer: support is uneven. Some AI coding tools, documentation platforms and agents fetch llms.txt, and adoption is growing, but Google has said its search systems don’t rely on it and no major assistant has committed to using it for ranking. Treat it as a low-cost clarity signal, not a ranking trick.

Google’s guide to AI features and your website says you don’t need new machine-readable files to appear in AI Overviews. By contrast, robots.txt has been a formal internet standard, RFC 9309, since 2022, so get that file right before you worry about llms.txt.

What matters more for AI visibility is crawler access, indexing, clear content and third-party mentions — see how to get your business on ChatGPT and robots.txt for AI crawlers.

Is llms.txt used for SEO?

Not for Google rankings. llms.txt is still a proposal, not an agreed standard, and Google does not use it to rank pages or to pick sources for AI Overviews. Adding one will not move you up in search results.

Where it can help is with AI tools that choose to read it — some assistants, agents and coding tools fetch it to get a quick map of a site. So think of llms.txt as part of GEO (Generative Engine Optimization), not classic SEO: a small, cheap extra that sits on top of the basics. To see whether those basics are in place, run the free website check.

How to create an llms.txt file in 5 minutes

  1. Write one sentence that says what your business does, for whom and where.
  2. List your 5–15 most important pages: services, pricing, about, contact, top guides.
  3. Give each page a one-line description in plain language.
  4. Generate the file with the free llms.txt generator, or write it by hand in Markdown.
  5. Upload it to the root of your website so it opens at yoursite.com/llms.txt, and update it when key pages change.

Frequently asked questions

Is llms.txt the same as robots.txt?

No. robots.txt tells crawlers what they may or may not fetch. llms.txt is a human- and AI-readable summary of what your site is about and which pages matter. You should have both.

Does llms.txt improve SEO rankings?

There is no evidence that llms.txt affects Google rankings. Its purpose is to help AI tools understand your site quickly. Rankings still depend on crawlable, indexable, genuinely helpful pages, so fix those first and treat llms.txt as a small extra.

Where do I upload llms.txt in WordPress?

Upload it to your site’s root folder (the same folder as wp-config.php) using your host’s file manager or FTP, or use an SEO plugin that supports llms.txt.

Sources

Make your llms.txt free

See your SEO, AEO and GEO scores.

Run the free website check — no sign-up — and get your top fixes in plain words.

7-day free trial. We can't promise a Google position — we measure honestly.