What is llms.txt?
llms.txt is a Markdown file at the root of a website, at /llms.txt. It gives language models a short map of the site: the name, a one-line summary and links to the pages that matter, with a sentence on each. Jeremy Howard proposed the format at llmstxt.org in 2024 because full web pages, with menus, scripts and ads, are hard for a model to read inside a small context window.
A minimal file looks like this:
# Your Company > One sentence on what you do and who it is for. ## Main pages - [Pricing](https://yourcompany.com/pricing): Plans and what each includes - [Docs](https://yourcompany.com/docs): How to set up and use the product ## Optional - [Privacy policy](https://yourcompany.com/privacy)
How this generator works
- We open your home page and take the site name and summary from its title, Open Graph tags and meta description.
- We read
robots.txtto find your sitemap, or try/sitemap.xml, and collect the links on your home page. - We pick up to 24 pages, putting pages linked from the home page and pages like pricing, product, docs and FAQ first, and skip tags, archives, logins and files.
- For each page we take its title and meta description and group the pages into sections by URL path. Legal and other secondary pages go to
## Optional, which the format lets a model skip.
The result is a first draft. Read it, rewrite the summary in your own words, and cut pages a model does not need.
How to add llms.txt to your site
- Any site with file access: save the file as
llms.txtand upload it to the web root, next torobots.txt. Openyourdomain.com/llms.txtto check it shows as plain text. - Static hosts (Netlify, Vercel, Cloudflare Pages, GitHub Pages): put the file in the public or output folder and deploy.
- WordPress, Shopify, Webflow and other builders: most cannot serve a file at the root by default. Use an SEO plugin or app that supports llms.txt, or a redirect from
/llms.txtto a hosted copy.
Then check that AI crawlers can actually reach your pages with our AI crawler checker. A map does not help if robots.txt or a firewall keeps the bots out.
Questions people ask
Do ChatGPT, Claude and Gemini read llms.txt?
Support is still limited. Some AI tools and coding assistants read llms.txt, but the big assistants have not said they use it to pick sources for answers. It takes minutes to add, so many sites publish one anyway.
Is llms.txt the same as robots.txt?
No. robots.txt tells crawlers what they may fetch. llms.txt tells a model which pages matter and what each one is about. It does not allow or block anything.
What is llms-full.txt?
Some sites also publish llms-full.txt with the full text of their docs in one file. This tool builds the short llms.txt map only.
Why are some of my pages missing?
We read at most 24 pages and skip pages that time out, redirect to another domain or are marked noindex. Add the missing ones by hand in the same format.
More on getting found by assistants: how to rank in ChatGPT and LLM optimization.