Go to example tasks

YouTube Transcript to RAG JSON Extractor

Extract clean, timestamped YouTube subtitles split into semantic time windows with citation links, formatted directly for LangChain, LlamaIndex, and RAG vector databases.

Try for free
YouTube Transcript to RAG JSON Extractor
YouTube Transcript to RAG JSON Extractoralmarjim1417/youtube-transcript-to-rag-json-extractor
Video title
Video id
Status
Language
+1 field
Text
Number
Boolean
List
Object

Input

YouTube Video URLs or IDs(required):https://www.youtube.com/watch?v=dQw4w9WgXcQ
Preferred Languages (ISO codes):es+1
Chunk Window (Seconds):45
Chunk Overlap (Seconds):10
Proxy configuration:{1 field}

Output fields

Video title
Video id
Status
Language
Stats

How it works

Sign up on Apify or log in

The YouTube Transcript to RAG JSON Extractor Actor is ready to run with the inputs already set for "YouTube Transcript to RAG JSON Extractor". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "YouTube Transcript to RAG JSON Extractor" task

The YouTube Transcript to RAG JSON Extractor Actor will start running based on the input automatically. You can also change all the input fields, like youtube video urls or ids, preferred languages (iso codes), and more, to match your specific use case.

Receive the "YouTube Transcript to RAG JSON Extractor" 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 title, video id, status, 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 Transcript to RAG JSON Extractor" task via API.

Image

Integrate "YouTube Transcript to RAG JSON Extractor" into your workflow

Connect "YouTube Transcript to RAG JSON Extractor" 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

Frequently asked questions

The YouTube Transcript to RAG JSON Extractor returns videoId, status, language, and stats, including total duration, total words, and total chunks.

The task extracts subtitles and groups them into customizable time windows defined by the targetChunkSeconds parameter.

Each semantic chunk contains the start and end time, duration, citation URL, and the corresponding text for easy referencing.

This task can be scheduled to run automatically in the Apify Console.

The task can fetch subtitles in specified languages, with the option to set a priority order and an automatic fallback.

The citation URLs allow users to verify the source of each chunk by linking directly to the timestamp in the YouTube video.