llms.txt Generator (Website to llms.txt & llms-full.txt) avatar

llms.txt Generator (Website to llms.txt & llms-full.txt)

Pricing

from $0.24 / 1,000 pages

Go to Apify Store
llms.txt Generator (Website to llms.txt & llms-full.txt)

llms.txt Generator (Website to llms.txt & llms-full.txt)

Turn any website or docs site into an llms.txt (sectioned links with one-line descriptions) and llms-full.txt (every page as clean Markdown) for AI assistants, RAG and AI search. Plain HTTP, sitemap-aware, robots.txt-friendly.

Pricing

from $0.24 / 1,000 pages

Rating

0.0

(0)

Developer

Murat Uzun

Murat Uzun

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Features

Limited permissions

Share

From $0.24 per 1,000 pages (pay per page row; FREE plan $0.40 per 1,000). Turns any website or docs site into llms.txt and llms-full.txt, one dataset row per page.

What is llms.txt Generator?

llms.txt Generator turns any website or documentation site into the two files AI assistants and AI search engines read: llms.txt (the site's name, a one-line summary and a sectioned list of its pages with one-line descriptions, in the llmstxt.org format) and llms-full.txt (every page as clean Markdown in one file). Give it a start URL, and it reads the site's sitemap and links with plain HTTP, strips navigation and boilerplate, and writes both files plus one dataset row per page with its title, description, section and token count. From $0.24 per 1,000 pages ($0.40 on the FREE plan).

Use it to publish an llms.txt for your own site or product docs, to feed a competitor's or a library's documentation into ChatGPT, Claude or Cursor, to build a RAG knowledge base from a docs site, or to check how an AI will see your content.

What does llms.txt Generator produce?

Files (in the run's key-value store, linked from the Output tab):

FileContent
llms.txt# Site name, > summary, then ## Section headings with - [Page title](url): description lines; blog, changelog, legal and similar sections go under ## Optional
llms-full.txtThe same header, then each page's full Markdown under its title and source URL
llms-full-1.txt, llms-full-2.txt, …Only with Split llms-full.txt (maxTokensPerFile): the same content cut into parts of at most that many tokens, each with the site header and (part i of n). Pages stay whole unless one page alone is bigger than a part
SUMMARYPer site: pages, sections, token counts of both files, download links, the parts with their token counts (llmsFullTxtParts), and whether the site already publishes its own /llms.txt

With several websites in one run, each file is prefixed with its domain (docs.example.com-llms.txt).

Dataset (one row per page, the billed unit):

FieldDescription
site, urlWebsite and page
title, descriptionClean page title (site-name suffix removed) and one-line description
sectionllms.txt section the page is listed under
wordCount, tokensSize of the page content (tokens ≈ characters / 4)
markdownThe page as Markdown (turn off Markdown in the dataset to leave it out)

How to use llms.txt Generator

  1. Enter one or more Start URLs, e.g. https://crawlee.dev/js/docs/quick-start or your home page.
  2. Set Max pages per website (default 100).
  3. Run, then open Output and download llms.txt and llms-full.txt.
  4. To publish it on your site, upload llms.txt to your web root so it is served at https://yoursite.com/llms.txt.

A start URL inside a folder keeps the crawl in that folder: https://example.com/docs/intro reads only /docs pages, a home-page start URL reads the whole site. Set Include path prefixes to choose the folders yourself.

Example input

{
"startUrls": [{ "url": "https://crawlee.dev/js/docs/quick-start" }],
"maxPages": 200
}

Example output (llms.txt)

# Crawlee for JavaScript
> With this short tutorial you can start scraping with Crawlee in a minute or two. To learn more, read the Introduction.
## Docs
- [Quick Start](https://crawlee.dev/js/docs/quick-start): With this short tutorial you can start scraping with Crawlee in a minute or two. To learn more, read the Introduction.
- [Deployment guides](https://crawlee.dev/js/docs/3.10/deployment): Here you can find guides on how to deploy your crawlers to various cloud providers.
- [Add data to dataset](https://crawlee.dev/js/docs/3.10/examples/add-data-to-dataset): This example saves data to the default dataset. If the dataset doesn't exist, it will be created.

Example output (SUMMARY with split parts)

From a live run on 28 Nov 2026 (docs.apify.com/platform, 40 pages, "maxTokensPerFile": 20000); store links shortened:

[
{
"site": "docs.apify.com",
"siteName": "Apify Documentation",
"pages": 40,
"sections": ["Main", "Academy"],
"llmsTxtTokens": 2298,
"llmsFullTxtTokens": 60310,
"llmsTxtUrl": "https://api.apify.com/v2/key-value-stores/<storeId>/records/llms.txt",
"llmsFullTxtUrl": "https://api.apify.com/v2/key-value-stores/<storeId>/records/llms-full.txt",
"llmsFullTxtParts": [
{ "key": "llms-full-1.txt", "tokens": 15998, "url": "https://api.apify.com/v2/key-value-stores/<storeId>/records/llms-full-1.txt" },
{ "key": "llms-full-2.txt", "tokens": 19617, "url": "https://api.apify.com/v2/key-value-stores/<storeId>/records/llms-full-2.txt" },
{ "key": "llms-full-3.txt", "tokens": 19456, "url": "https://api.apify.com/v2/key-value-stores/<storeId>/records/llms-full-3.txt" },
{ "key": "llms-full-4.txt", "tokens": 5367, "url": "https://api.apify.com/v2/key-value-stores/<storeId>/records/llms-full-4.txt" }
],
"siteAlreadyHasLlmsTxt": true
}
]

llms.txt Generator pricing: cost per 1,000 pages

Pay per result: one dataset row per page read, billed as pay-per-event.

Apify plan tierPrice per 1,000 pages
FREE$0.40
BRONZE$0.32
SILVER$0.28
GOLD, PLATINUM, DIAMOND$0.24

Pages that fail to load are listed in the ERRORS record and cost nothing; the llms.txt files themselves are free. A run start costs a fraction of a cent. Set Maximum cost per run to cap spend. Price source: the Actor's pricingInfos record (read 29 Nov 2026).

Limitations

Stated plainly, so you can plan around them:

  • Plain HTTP only: pages that render their text with JavaScript after loading come out short. Sites that serve their text in the HTML work (tested on the Docusaurus-based Crawlee and Apify docs).
  • Descriptions come from each page's meta description, or its first paragraph when the meta description is missing or the same site-wide text.
  • Tag, author, archive, search, login and cart pages are skipped because they add noise to llms.txt.
  • It respects robots.txt by default.

Input parameters

ParameterDefaultWhat it does
startUrlscrawlee quick-start pageWebsite(s) to read. Each domain gets its own llms.txt and llms-full.txt.
maxPages100Maximum pages read per website. This is the billed unit.
maxDepth3Links deep to follow from a start URL; 0 reads only the start URL.
includePathPrefixes[]Read only pages whose path starts with these prefixes, e.g. /docs.
excludePathPatternsbinary files, login, signupRegular expressions; a match is skipped.
useSitemaptrueAlso read each domain's /sitemap.xml.
includeMarkdowntrueKeep each page's Markdown in the dataset; off keeps title, description and tokens only.
maxTokensPerFile0 (off)Also write llms-full.txt as parts of at most this many tokens (minimum 1000), e.g. 400000.
removeSelectors[]Extra CSS selectors removed before extraction.
maxConcurrency10Pages fetched in parallel.
respectRobotstrueSkip URLs disallowed by robots.txt.
proxyConfigurationno proxyOptional proxy if the site blocks shared IPs.
inputDatasetId / inputField-Take URLs from another run's dataset.

llms.txt Generator vs. other llms.txt generators

Compared on 29 Nov 2026 from each Actor's public Store README and pricing record. Rival facts are "documented" (from their README), not measured runs.

llms.txt Generator (this Actor)fayoussef/llms-txt-generatorf0rty7even/llms-txt-generatorexalted_mud_vjz/llms-txt-generatorkantolabs/website-content-crawler-ai
Price unitpage rowresult (documented as page processed)page crawledplatform usage onlypage (plain HTTP); browser page $0.90 on FREE
FREE tier per 1,000$0.40$4.00$5.00not a per-event price$0.15
Full-tier range per 1,000$0.24 to $0.40$3.80 to $4.00$5.00n/a$0.13 to $0.15
Sitemap + internal linksyessitemap or internal linkscrawl only (described)fetches homepage and sitemapyes
llms-full.txtyesyesoptionalnot documentedyes
Per-page dataset rows with tokensyespage fields incl. wordCountnot documentednot documentedyes (Markdown + token-counted chunks)
robots.txt respected by defaultyesnot documentednot documentednot documentedyes
llms-full.txt split into parts under a token limityes (maxTokensPerFile)no (not in input schema, 28 Nov 2026)no (not in input schema, 28 Nov 2026)no (not in input schema, 28 Nov 2026)no (chunks are per page; not in input schema, 29 Nov 2026)
JavaScript-rendered pagesno (plain HTTP)not documentedno (server-rendered HTML only, documented)not documentedyes (auto/browser mode, billed as browser page)

Where a rival is cheaper or documents a feature we do not have, we say so here rather than hide it: kantolabs/website-content-crawler-ai charges less per plain-HTTP page ($0.13 to $0.15 per 1,000) and renders JavaScript pages; the free Actor above is cheaper for a user who only pays platform usage, and it is not measured here.

Run llms-txt-generator from Python and the command line

JavaScript (npm install apify-client):

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });
const run = await client.actor('webdatatools/llms-txt-generator').call({
"startUrls": [
{
"url": "https://docs.apify.com"
}
],
"maxPages": 50
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Python (pip install apify-client):

from apify_client import ApifyClient
client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("webdatatools/llms-txt-generator").call(run_input={"startUrls":[{"url":"https://docs.apify.com"}],"maxPages":50})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

Command line (Apify CLI, npm install -g apify-cli, then apify login):

$apify call webdatatools/llms-txt-generator --input='{"startUrls":[{"url":"https://docs.apify.com"}],"maxPages":50}'

Using llms.txt Generator with AI agents

The Actor is pay-per-event with limited permissions, so AI agents can call it through Apify's MCP server (mcp.apify.com), for example with {"startUrls": [{"url": "https://docs.example.com"}], "maxPages": 50}, then read llms-full.txt from the run's key-value store. It also accepts url, urls, website, websites, and inputDatasetId + inputField to take URLs from another run.

FAQ

Does it work with n8n, Make or Zapier? Yes. Call the Actor from the Apify node (n8n), the Apify module (Make) or the Apify app (Zapier) with the input above, then read llms-full.txt or llms.txt from the run's key-value store. Errors appear in the run log and in the ERRORS record.

Why did a page not appear? Check robots.txt, excludePathPatterns, includePathPrefixes and whether the page needs JavaScript. Failed pages are listed under ERRORS and are not billed.

Can I use the files commercially? The Actor only outputs text generated from pages you are allowed to read. You are responsible for the rights to the sites you read and for complying with their terms.

What is llms.txt? A proposed standard (llmstxt.org) for a Markdown file at /llms.txt that tells language models what a site contains and where its key pages are, the way robots.txt and sitemap.xml do for crawlers.

llms-full.txt is too big to upload. Can it be split? Yes. Set Split llms-full.txt (maxTokensPerFile) to the limit of the tool you upload to, e.g. {"startUrls": [{"url": "https://docs.apify.com"}], "maxPages": 500, "maxTokensPerFile": 400000}. You get llms-full-1.txt, llms-full-2.txt, … next to the full file, each at most that many tokens. Tokens are estimated as characters / 4, so leave some headroom below a hard limit. The parts are free; you still pay per page read.

The site already has an llms.txt. Why generate one? SUMMARY tells you when it does. A generated one is still useful to compare coverage, or when you need llms-full.txt and the site does not publish it.

Support

Questions or bug reports: open an issue on the Actor's Issues tab in Apify Console. Include the run ID and the input you used.

If the files saved you time, a short review on the Actor's Store page helps other users find it.

Part of the webdatatools web-intelligence suite — every Actor is pay-per-event, reads public data without a login, and returns one clean row per entity:

Browse the whole suite at webdatatools, or call ten of these Actors straight from Claude, Cursor or Cline with the webdatatools MCP server.

Website & domain intelligence

Content for AI, LLMs and RAG

Search, video and social

Leads, jobs and company data

Developer, app and research data