Wikipedia full text as plain text for LLM and RAG datasets
Justaduck
The whole plain text of selected Wikipedia articles (section headings kept), with license and attribution, ready to chunk for a RAG index or LLM fine-tuning set.
Input
Output fields
Sign up on Apify or log in
The Wikipedia Scraper – Articles, Wikidata & Pageviews Actor is ready to run with the inputs already set for "Wikipedia full text as plain text for LLM and RAG datasets". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Wikipedia full text as plain text for LLM and RAG datasets" task
The Wikipedia Scraper – Articles, Wikidata & Pageviews Actor will start running based on the input automatically. You can also change all the input fields, like article titles, language, and more, to match your specific use case.
Receive the "Wikipedia full text as plain text for LLM and RAG datasets" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as title, lang, description, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Wikipedia full text as plain text for LLM and RAG datasets" task via API.

Integrate "Wikipedia full text as plain text for LLM and RAG datasets" into your workflow
Connect "Wikipedia full text as plain text for LLM and RAG datasets" with 100+ integrations, or run it via API or MCP.
Webhook
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay
The Wikipedia full text for LLM example returns 5 English articles, each with the whole article as plain text (headings kept as == Heading ==), license and attribution.
The Wikipedia full text for LLM example reads the official Wikimedia APIs (Wikipedia, Wikidata and the Pageviews API); no HTML pages are scraped.
The Wikipedia full text for LLM example stops at 50 articles. At US$1.00 per 1,000 articles plus US$0.00005 per run start, one run costs at most about US$0.050. Apify's free plan includes US$5 of usage a month.
Text returned by the Wikipedia full text for LLM example is from Wikipedia and is licensed CC BY-SA 4.0; each row carries the license, license URL and attribution fields to keep with the text.