Skip to content
RAG Repo

Web corpora

Massive web-crawled datasets used as foundation data for LLM pretraining and broad-coverage RAG knowledge bases. These range from raw crawl archives to heavily filtered and deduplicated corpora.

20sources

Web corpora are the raw material behind most large language models, and they double as broad, general-purpose knowledge bases for RAG. They range from raw crawl archives, where you get the web more or less as it was found, to heavily filtered and deduplicated corpora that have already thrown away the boilerplate, spam, and near-duplicate pages. The right choice depends far more on how much cleaning you want to do yourself than on raw size.

For a RAG system, bigger is rarely better. You almost never need petabytes of unfiltered crawl data; you need clean, relevant passages. That usually makes a filtered corpus like FineWeb or C4 a better starting point than raw Common Crawl, because someone has already done the expensive quality work. Reach for the raw archives only when you need full control over filtering, or coverage that the curated sets deliberately trimmed.

Two things deserve a close look before you commit. First, language: several of these corpora are English-first, so if you are building for a multilingual audience, check the language breakdown or start from a multilingual set. Second, licensing: the dataset’s own licence (often ODC-By) usually covers the compilation, while the underlying page content stays subject to each original site’s terms. That gap matters if you are building something commercial, so treat β€œopen dataset” and β€œopen to reuse however you like” as different questions.

The sources below span that whole spectrum, from the foundational crawl everything else is built on, through the cleaned and deduplicated corpora most teams actually reach for.

Other categories