Website to RAG Chunks: LLM-Ready Text for Vector Databases avatar

Website to RAG Chunks: LLM-Ready Text for Vector Databases

Pricing

$1.50 / 1,000 page crawled and chunkeds

Go to Apify Store
Website to RAG Chunks: LLM-Ready Text for Vector Databases

Website to RAG Chunks: LLM-Ready Text for Vector Databases

Crawl a website or docs site (sitemap + internal links) and get clean, heading-aware Markdown chunks ready for embeddings. No login. Export JSON/CSV/Excel. Pay only per result.

Pricing

$1.50 / 1,000 page crawled and chunkeds

Rating

0.0

(0)

Developer

Jeremy Yarbrough

Jeremy Yarbrough

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

25 days ago

Last modified

Features

Limited permissions

Share

Crawl a website or docs site (sitemap + internal links) and get clean, heading-aware Markdown chunks ready for embeddings, with no login, no browser and no code. Export to JSON, CSV or Excel, or use the API.

Crawl a website or docs site (sitemap + internal links) and get clean, heading-aware Markdown chunks ready for embeddings: each chunk keeps its heading path, URL, title, token estimate, stable chunk ID and content hash, with configurable size and overlap. Drop straight into Pinecone, Qdrant, Weaviate, pgvector or LangChain. Respects robots.txt.

Use cases

  • Build a RAG chatbot over your docs or help center
  • Load a website into a vector database without writing a chunker
  • Refresh embeddings when pages change (stable chunk IDs + content hashes)

Input

FieldTypeNotes
startUrlsarraySite homepages, docs roots or single pages.
crawlbooleanFollow the sitemap and internal links.
maxPagesPerSiteinteger
useSitemapboolean
chunkSizeinteger~4 characters per token.
chunkOverlapinteger
minChunkTokensintegerSmaller pieces are merged into the previous chunk.
mainContentOnlybooleanStrip menus, footers and sidebars.
includeLinksboolean
respectRobotsboolean
maxConcurrencyinteger

Example input

{
"startUrls": [
"https://docs.apify.com/academy",
"https://therealtour360.com",
"not a url ::"
],
"maxPagesPerSite": 6,
"chunkSize": 400
}

Output

One dataset item per result. Main columns: url, title, headingPath, chunkIndex, totalChunks, tokenEstimate, text, chunkId, error. A RUN_SUMMARY record is saved to the default key-value store. See the sample output in the Output tab.

Example output

{
"chunkId": "6ccb6c366c25a517e75b",
"url": "https://docs.apify.com/academy",
"title": "Apify Academy | Academy | Apify Documentation",
"language": "en",
"headingPath": [],
"chunkIndex": 0,
"totalChunks": 1,
"text": "Copy for LLM\n\nLearn everything about web scraping and automation with our free courses that will turn you i...",
"tokenEstimate": 300,
"charCount": 1200,
"contentHash": "a9e5b1509ae7255d",
"crawledAt": "2026-10-12T04:44:03.470Z"
}

Pricing

Pay per result, with no monthly rental or subscription:

  • Page crawled and chunked: $0.0015

Example: 1,000 results cost about $1.50 in fees. Apify's free plan includes $5 of monthly credit, which is enough to test this Actor.

FAQ

Do I need an account, cookies or a login for the source site? No. Website to RAG Chunks uses public data sources only, so there is nothing to connect and no account to risk.

How much will a run cost? You pay only for results delivered (see Pricing above), plus Apify platform usage, which the free plan's monthly credit easily covers for test runs. Start with a small limit to see the exact cost per run.

Can I export to CSV, Excel or Google Sheets? Yes. Every run's dataset can be downloaded as JSON, CSV, Excel, XML or HTML, or pushed to Google Sheets, Make, Zapier, n8n, Slack or a webhook through Apify integrations.

Can I run it on a schedule or from my own code? Yes. Add an Apify Schedule (hourly, daily, weekly) or call it through the Apify API / Python & JavaScript clients. It also works with AI agents through the Apify MCP server.

What happens if an input is invalid or a source is down? The run keeps going. The bad input gets a row with an error field so you can see what failed, and you are not charged for results that were not delivered.

Is this legal to use? It collects publicly available data. You are responsible for using the output in line with the source's terms and privacy laws such as GDPR/CCPA; don't use it for spam.

Something missing or broken? Open an issue on the Issues tab. Feature requests are usually added within a few days.

Scheduling / monitoring

Create a Schedule (daily/weekly) and connect a webhook or Slack/email integration.

Fair use

Official public APIs only, no login. Do not use output for spam or harassment. Respect the data sources' rate limits and terms.

REST API

GET https://api.mediaprotools.com/v1/website-rag-chunks?items=... (header X-API-Key). Up to 3 items per call, separated by ,. Or POST {"items":[...],"options":{...}}.

ParameterTypeNotes
itemstokenSite homepages, docs roots or single pages.
crawlbooleanFollow the sitemap and internal links.
maxPagesPerSiteinteger 1-100Max pages per site
useSitemapbooleanUse sitemap.xml
chunkSizeinteger 50-4000~4 characters per token.
chunkOverlapinteger 0-500Chunk overlap (tokens)
minChunkTokensinteger 0-500Smaller pieces are merged into the previous chunk.
mainContentOnlybooleanStrip menus, footers and sidebars.
includeLinksbooleanKeep links
respectRobotsbooleanRespect robots.txt

Output fields: charCount, chunkId, chunkIndex, contentHash, crawledAt, error, headingPath, language, text, title, tokenEstimate, totalChunks, url.