# Generate llms.txt and llms-full.txt for any website

**Use case:** 

Paste a homepage and the Actor finds the sitemap, picks the 50 most important pages, and writes a spec compliant llms.txt index plus an llms-full.txt with the complete Markdown content of every page, ready to upload to your site root so ChatGPT, Claude and Perplexity read what you want them to.

## Input

```json
{
  "websiteUrl": "https://books.toscrape.com",
  "maxPages": 50,
  "includeFullText": true,
  "concurrency": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "url": {
    "label": "Page URL",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "description": {
    "label": "Description",
    "format": "string"
  },
  "section": {
    "label": "Section",
    "format": "string"
  },
  "wordCount": {
    "label": "Word count",
    "format": "integer"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "error": {
    "label": "Error",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [llms.txt Generator: llms-full.txt for Any Website (AI SEO)](https://apify.com/fayoussef/llms-txt-generator.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/fayoussef/llms-txt-generator.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/fayoussef/llms-txt-generator.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
