Skip to content
youtubeapi.io
← Back to Free Tools/Interactive Subtitle Utility

YouTube Subtitle & SRT Online Downloader.

Extract timed closed captions and auto-generated transcripts from any YouTube video. Download standard millisecond-accurate .srt files for video editors, clean .txt for LLM summaries, or JSON for developer pipelines.

Try sample videos:

Automate Subtitle & SRT Extraction via API

Extract captions across tens of thousands of YouTube videos without IP blocks or browser automation.

Python (Requests)
import requests

res = requests.get(
    "https://api.youtubeapi.io/v1/youtube/transcript",
    params={"video_id": "dQw4w9WgXcQ", "include_segments": "true"},
    headers={"x-api-key": "yt_live_your_key"}
)
segments = res.json()["data"]["segments"]
for s in segments[:3]:
    print(f"[{s['startSec']}s] {s['text']}")
TypeScript / Node.js
const res = await fetch(
  "https://api.youtubeapi.io/v1/youtube/transcript?video_id=dQw4w9WgXcQ&include_segments=true",
  { headers: { "x-api-key": "yt_live_your_key" } }
);
const { data } = await res.json();
console.log(data.fullTranscriptText);

Build your AI video summarizer with YouTubeAPI.io

Get 12,000 free Credits ($1.20) on signup. $1 = 1,000 video transcripts.

Start Free (12,000 Credits)