Skip to content
ajqureshi.com logo

What Is llms.txt and How to Create One for Your Website

What is llms.txt file for AI search

AJ Qureshi 4 min read Updated 22 Nov 2026

AI tools like ChatGPT, Claude, Perplexity and Google’s AI features are now a real source of traffic. A new file called llms.txt is one way site owners try to help these tools understand their content. In this guide I explain what llms.txt is, what it can and cannot do, the correct format, and how to add one to your site in a few minutes.

What is llms.txt?

llms.txt is a plain text file written in Markdown that you place at the root of your site, like https://example.com/llms.txt. It gives large language models (LLMs) a short, clean summary of your site and a list of your most important pages.

The idea was proposed in September 2024 by Jeremy Howard of Answer.AI, and the format is documented at llmstxt.org. The thinking is simple: web pages are full of menus, ads and scripts, and AI tools have limited space to read. A clean Markdown file points them straight to what matters.

llms.txt vs robots.txt vs sitemap.xml

  • robots.txt tells crawlers what they may or may not crawl. It is about permission.
  • sitemap.xml lists all your URLs for search engines. It is about discovery.
  • llms.txt is a curated, human readable guide to your best content for AI tools. It is about understanding.

llms.txt does not block or allow anything. If you want to control AI crawlers like GPTBot or ClaudeBot, use robots.txt. You can build one with my Robots.txt Generator.

Does llms.txt help rankings?

Let me be honest. llms.txt is a proposed standard, not an official rule from Google or OpenAI. Google has said it does not use llms.txt for Search rankings, and no major AI company has confirmed that its crawler reads it in a special way. Some AI coding tools and documentation platforms do use it.

So think of it as a low cost, low risk extra. It takes ten minutes, it cannot hurt, and it may help as AI tools mature. But it will not replace good content, clear structure and backlinks.

The llms.txt format

The file follows a simple structure:

  1. An H1 with your site or project name (required).
  2. A short blockquote summary of what the site is.
  3. Optional paragraphs with more details.
  4. H2 sections with lists of links, each with a short note.
  5. An optional section called Optional for less important links that can be skipped.

Example llms.txt

# AJ Qureshi

> Free domain, SEO and website tools, WordPress themes and plugins, and honest hosting guides by AJ Qureshi, a web developer from Gilgit, Pakistan.

## Tools
- [Domain Availability Checker](https://ajqureshi.com/tools/domain-availability-checker/): check if a domain is free to register
- [WHOIS Lookup](https://ajqureshi.com/tools/whois-lookup/): see domain owner and expiry data
- [Schema Markup Generator](https://ajqureshi.com/tools/schema-markup-generator/): create JSON-LD schema

## Guides
- [Hostinger Guide](https://ajqureshi.com/hostinger-guide/): plans, setup and review
- [Dynadot Guide](https://ajqureshi.com/dynadot-guide/): buying and managing domains

## Optional
- [About](https://ajqureshi.com/about/)
- [Contact](https://ajqureshi.com/contact/)

How to create your llms.txt

Option 1: Use my free generator

Open my llms.txt Generator, enter your site name, summary and key links, and copy the result.

Option 2: Write it by hand

  1. Open any text editor and follow the format above.
  2. Save the file as llms.txt (all lowercase).
  3. Upload it to your site root (public_html) with cPanel File Manager or FTP.
  4. Open https://yoursite.com/llms.txt in your browser to confirm it loads.

Option 3: WordPress plugin

Several SEO plugins and dedicated plugins can now create llms.txt automatically from your pages and posts. This is the easiest choice if you publish often, because the file stays updated.

Best practices

  • Keep it short. List your 10 to 30 most useful pages, not every URL.
  • Write clear notes after each link, in plain language.
  • Put your most valuable content first: tools, main guides, product pages.
  • Update it when you add important pages.
  • Some sites also offer llms-full.txt with full content of key pages, mostly for documentation sites.

llms.txt is only one small piece of what people call GEO (generative engine optimization). These matter more:

  • Clear, factual content that answers questions directly.
  • Good headings and FAQ sections.
  • Schema markup. Create it with my Schema Markup Generator.
  • Being mentioned and linked on trusted sites.
  • Letting AI crawlers access your site in robots.txt if you want AI traffic.

FAQ

Is llms.txt required?

No. It is optional and still a proposal.

Does Google use llms.txt?

Google has said it does not use it for Search. Its value is mainly for AI tools that choose to read it.

Where should I put llms.txt?

At the root of your domain, like example.com/llms.txt.

Can llms.txt block AI bots?

No. Use robots.txt to allow or block AI crawlers.

Written by AJ Qureshi

Web developer and blogger from Ghizer, Gilgit-Baltistan. I build WordPress themes, plugins, Chrome extensions and free tools, and I write plain guides on hosting, domains and running a website.