Skip to content

llms.txt Generator

Try for free

Generate a spec-compliant llms.txt and llms-full.txt for any website: finds pages through the sitemap and navigation, extracts titles, descriptions and clean Markdown, groups them into sections and saves ready-to-upload files with download links.

🤖 llms.txt Generator

Create a spec-compliant llms.txt and llms-full.txt for any website in one run. The generator finds your key pages through the sitemap and navigation, writes a clean title and note for each one, groups them into sections and saves ready-to-upload files with download links. No login, no API keys, no code.

✨ Why use llms.txt Generator?

  • 📄 Follows the llms.txt format: H1 site name, a blockquote summary, then ## Sections with - [Title](url): note link lists, plus an ## Optional section for secondary pages.
  • 🧭 Smart page selection: pages are picked round-robin across your sections (docs, product, blog, help...), shallow pages first, so even a 30-page limit covers the whole site instead of 30 blog posts. Old doc versions, tag and author archives and pagination are left out.
  • ✂️ Clean titles and notes: site-name suffixes such as "| Acme" are stripped from titles, generic site-wide descriptions are replaced by the page's own first sentences.
  • 📚 llms-full.txt included: the main content of every page as clean Markdown (menus, footers and cookie banners removed), ideal for AI assistants, RAG and agents.
  • 🔗 Download links: both files are saved to storage with direct download URLs, and the llms.txt text is also in the dataset row.

🎯 Use cases

  • 🌐 Website owners and marketers: publish /llms.txt so ChatGPT, Perplexity, Gemini and other AI assistants understand your site and cite the right pages.
  • 🧑‍💼 SEO and GEO agencies: generate llms.txt files for every client in bulk and keep them fresh with a weekly schedule.
  • 🛠️ Developer docs teams: build an llms.txt and llms-full.txt for documentation (use "Only URLs matching" /docs/).
  • 🧠 AI builders: get a site's key content as one Markdown file for prompts, RAG or agents.

🚀 How to use

  1. Paste one or more home pages under Websites (for example https://example.com).
  2. Set Max pages per site (30 is a good start; large docs sites may want 200+).
  3. Optionally set the Site name and Summary, or limit pages with Only URLs matching.
  4. Click Start.
  5. Download llms.txt and llms-full.txt from the links in the Generated files view (or the Output tab) and upload them to your site root, e.g. https://example.com/llms.txt.

📥 Input

FieldDefaultWhat it does
startUrls(required)Websites to generate files for, one per line.
maxPagesPerSite30Pages read per site.
includeFullTexttrueAlso write llms-full.txt with the Markdown content of every page.
siteName / siteSummary / siteDetailsautoOverride the H1, the blockquote summary, or add a details paragraph.
useSitemap / crawlLinkstrueFind pages through the XML sitemap and internal links.
includeUrlPatterns / excludeUrlPatternsemptyText or regex filters, e.g. /docs/ or /legal/.
respectRobotsTxttrueSkip pages that robots.txt disallows.
includeNoindexPagesfalsePages marked noindex are left out by default.
{
  "startUrls": ["https://developer.mozilla.org/en-US/"],
  "maxPagesPerSite": 30,
  "includeFullText": true
}

📤 Output

Files (key-value store): llms-<domain>.txt and llms-full-<domain>.txt for every site, plus llms.txt and llms-full.txt when you generate a single site.

Example llms.txt (trimmed):

# MDN Web Docs

> The MDN Web Docs site provides information about Open Web technologies including HTML, CSS, and APIs for both Web sites and progressive web apps.

## Docs

- [HTML: HyperText Markup Language](https://developer.mozilla.org/en-US/docs/Web/HTML): HTML (HyperText Markup Language) is the most basic building block of the Web. It defines the meaning and structure of web content. Other technologies besides HTML are generally used to describe a web page's…
- [HTML elements reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements): This page lists all the HTML elements, which are created using tags.
- [CSS: Cascading Style Sheets](https://developer.mozilla.org/en-US/docs/Web/CSS): Cascading Style Sheets (CSS) is a stylesheet language used to describe the presentation of a document written in HTML or XML (including XML dialects such as SVG, MathML or XHTML). CSS describes how elements should be…
- [CSS selectors](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors): CSS selectors are patterns used in CSS rules to target and select specific elements for styling.
- [JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript): JavaScript (JS) is a lightweight interpreted (or just-in-time compiled) programming language with first-class functions. While it is most well-known as the scripting language for Web pages, many non-browser environments…

Dataset: one site row per website and one page row per page.

FieldMeaning
typesite or page
siteName, summaryH1 and blockquote used in llms.txt
llmsTxtUrl, llmsFullTxtUrlDirect download links to the files
llmsTxtThe full llms.txt text
sectionsSection names with page counts
existingLlmsTxtLink to the site's current /llms.txt, if it already has one
url, title, description, sectionEach page as listed in llms.txt
wordCountWords of main content (what goes into llms-full.txt)

Example site row (trimmed):

{
  "type": "site",
  "site": "developer.mozilla.org",
  "status": "ok",
  "siteName": "MDN Web Docs",
  "summary": "The MDN Web Docs site provides information about Open Web technologies including HTML, CSS, and APIs for both Web sites and progressive web apps.",
  "pageCount": 30,
  "sectionCount": 1,
  "sections": [
    {
      "name": "Docs",
      "pageCount": 29,
      "optional": false
    }
  ],
  "llmsTxtUrl": "https://api.scrape.ly/v2/key-value-stores/<store>/records/llms-developer.mozilla.org.txt?signature=...",
  "llmsFullTxtUrl": "https://api.scrape.ly/v2/key-value-stores/<store>/records/llms-full-developer.mozilla.org.txt?signature=...",
  "llmsTxtBytes": 7935,
  "llmsFullTxtBytes": 431923,
  "existingLlmsTxt": null
}

Example page row:

{
  "type": "page",
  "site": "developer.mozilla.org",
  "url": "https://developer.mozilla.org/en-US/",
  "title": "MDN Web Docs",
  "description": "The MDN Web Docs site provides information about Open Web technologies including HTML, CSS, and APIs for both Web sites and progressive web apps.",
  "descriptionSource": "meta",
  "section": "Home",
  "optional": false,
  "wordCount": 41,
  "lang": "en-US",
  "foundVia": "start",
  "depth": 0
}

❓ FAQ

What is llms.txt? A proposed standard (llmstxt.org): a Markdown file at /llms.txt that tells AI assistants what a site is about and links its most useful pages. llms-full.txt contains the full text of those pages.

Is it legal? The generator reads public pages like a search engine does and respects robots.txt by default. Use it for sites you own or manage.

Do I need a login or proxy? No. Datacenter proxies are used by default and blocked pages are retried once over a residential proxy.

How are sections chosen? From the URL structure (/docs/, /blog/...), named after your navigation labels when they match, with big sections split one level deeper. Legal, careers, contact and similar pages go to ## Optional.

Can I edit the result? Yes. The files are plain Markdown: tweak them before uploading, or set the site name, summary and details in the input.

Can I schedule it or use the API? Yes. Run it weekly so your llms.txt follows new pages, or start runs and download the files through the Scrape.ly API, CLI, or from AI agents through the Scrape.ly MCP server.

⚠️ Limits

  • Pages that only render with JavaScript may have little content in llms-full.txt.
  • No cap on pages per site: a run reads up to Max pages per site, the end of the site or its time limit (1 hour by default), and stops in time to build the files. On very large sites the page texts may fill about a third of the run's memory; later pages are then still listed in llms.txt but add no text to llms-full.txt (the row says it was cut). Give the run more memory for more text.
  • llms-full.txt is capped at 8 MB per site; the row says when it was cut.
  • Sites behind a login or a strong anti-bot wall cannot be read.
  • Download links are signed and valid for 30 days; the files stay in the run's storage for as long as your storage retention keeps them.

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.