Go to example tasks

YouTube transcripts as LLM-ready chunks for RAG

Turn two YouTube videos into timestamped transcript chunks of about 300 words each, ready for a vector database or an AI pipeline.

Try for free
YouTube Transcript, Subtitles & Comments Scraper
YouTube Transcript, Subtitles & Comments Scraperaaronoptimus/youtube-transcripts-scraper
Video ID
Title
Chunk #
Start (s)
+5 fields
Text
Number
Boolean
List
Object

Input

YouTube URLs or video IDs:https://www.youtube.com/watch?v=dQw4w9WgXcQ+1
Chunk size (words):300

Output fields

Video ID
Title
Chunk #
Start (s)
End (s)
Chapter
Text
Words
Open at this moment

How it works

Sign up on Apify or log in

The YouTube Transcript, Subtitles & Comments Scraper Actor is ready to run with the inputs already set for "YouTube transcripts as LLM-ready chunks for RAG". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "YouTube transcripts as LLM-ready chunks for RAG" task

The YouTube Transcript, Subtitles & Comments Scraper Actor will start running based on the input automatically. You can also change all the input fields, like youtube urls or video ids and chunk size (words), to match your specific use case.

Receive the "YouTube transcripts as LLM-ready chunks for RAG" 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 video id, title, chunk #, 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 "YouTube transcripts as LLM-ready chunks for RAG" task via API.

Image

Integrate "YouTube transcripts as LLM-ready chunks for RAG" into your workflow

Connect "YouTube transcripts as LLM-ready chunks for RAG" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay