llms.txt generator
Get a ready-to-publish llms.txt for any website. Free, no sign-up.
Exampleprefetch.ioTry your own site above
Your llms.txt
- links
- 41
- sections
- 6
- tokens, about
- 887
Picked from 154 URLs on prefetch.io in 6.1 s.
Edit anything above, then publish it at https://prefetch.io/llms.txt
Use the API
This file came from two calls, /map and /scrape. Make them in your own build to keep it current, or crawl the site for an llms-full.txt with every page as markdown.
curl -G https://api.prefetch.io/map \ -d url=prefetch.io \ -H "X-API-Key: $PREFETCH_API_KEY"
1,000 free credits a month. No card needed.
More free tools
All free tools- AI crawler checkerSee what ChatGPT, Claude and other AI crawlers can read on a page, and what blocks them.
- Website to knowledge baseTurn a website into clean files a chatbot can answer from: markdown, or JSONL chunks for RAG.
- Website brand extractorDownload any website's logo, favicon and app icons, with its brand colors and fonts.
- Company lookupFind the company behind any domain: its industry, size, social profiles and parent company.
- URL extractorOne click extracts every URL from any website, from its sitemaps and links, as a list, CSV or JSON.
More free tools
All free tools- AI crawler checkerSee what ChatGPT, Claude and other AI crawlers can read on a page, and what blocks them.
- Website to knowledge baseTurn a website into clean files a chatbot can answer from: markdown, or JSONL chunks for RAG.
- Website brand extractorDownload any website's logo, favicon and app icons, with its brand colors and fonts.
- Company lookupFind the company behind any domain: its industry, size, social profiles and parent company.
- URL extractorOne click extracts every URL from any website, from its sitemaps and links, as a list, CSV or JSON.
What is llms.txt?
A plain markdown file at the root of a site that tells language models what the site is and which of its pages are worth reading.
Proposed by Jeremy Howard in 2024, llms.txt hands a model what an HTML page buries under navigation, scripts and banners: a line on what the site is, and a short, sectioned list of links to its most useful pages. An agent that looks for it can answer from your best pages instead of whatever it happened to crawl.
# Acme > Acme makes invoicing software for small agencies. ## Docs - [Quickstart](https://acme.com/docs/quickstart): Send your first invoice in five minutes - [API reference](https://acme.com/docs/api) ## Pages - [Pricing](https://acme.com/pricing) ## Optional - [Terms](https://acme.com/terms)
An llms.txt, in full
A # heading names the site, a > line sums it up, and each ## section lists links, each with an optional note. Links under ## Optional are the ones a model short on context can skip.
How it works
Two Prefetch API calls, made side by side, then a pass that keeps only what a model needs.
Map the site GET /map
Reads its sitemaps and links, up to 1,000 URLs, with whatever titles and descriptions the sitemaps carry.
Read the homepage GET /scrape
Reads the site's name and summary, and the links in its own navigation and footer: the pages its owners chose to feature.
Write the file
Translations, sign-in and checkout pages, tag archives and files are dropped. The rest is grouped into sections with the site's own navigation first, each capped so the file stays short.
Questions about llms.txt
About llms.txt, and about this generator.
A markdown file served at /llms.txt that gives language models a short summary of a site and a curated list of links to its most useful pages, so an agent can find what it needs without parsing HTML. The format was proposed by Jeremy Howard in 2024 and is documented at llmstxt.org.
At the root of your domain, so it loads at https://yourdomain.com/llms.txt, served as plain text. A docs site on its own subdomain can have one at its own root. Most frameworks serve anything in their public or static folder from the root.
No. robots.txt tells crawlers what they may fetch; llms.txt tells a model what is worth reading. It allows and blocks nothing, and the two files sit side by side.
Support is still early and uneven. Some AI assistants, coding agents and documentation tools read it when they are pointed at a site, and none of the major search engines has said it uses the file for ranking. It takes minutes to publish and helps every agent that does look for it.
llms.txt is an index: a summary and links. llms-full.txt inlines the content of those pages as markdown, so a model can read a whole site in one file. This tool writes llms.txt. For llms-full.txt, crawl the site with the Prefetch /crawl endpoint, which returns every page as markdown.
The links in the site's own navigation and footer come first, under the names the site gives them, and the rest of what the map finds is ranked under them. Pages in other languages, sign-in and checkout pages, tag archives and files are left out, legal pages go under Optional, and each section is capped so the file stays readable. Edit anything before you publish it.
Yes. After a run the page's address names the site, like /tools/llms-txt-generator?url=stripe.com, and Copy link puts it on your clipboard. Whoever opens it gets a fresh llms.txt for that site, after the same quick check that they are a person.
Yes. You can write 10 files a day without an account, and each one makes two real Prefetch API calls. To build it into your own pipeline, a free account gets 1,000 API credits a month, no card needed.