youtube-transcript

JSON →
library 1.3.1 ·javascript
verified Jun 7, 2026

Unofficial YouTube transcript fetcher for Node.js (v1.3.1). Extracts captions/subtitles from YouTube videos using undocumented internal APIs. Published as an ESM-only package with TypeScript types; requires Node >=18. Simple API: one function `fetchTranscript`. No dependencies. May break without notice if YouTube changes its API. Less feature-rich than youtubei.js or ytdl-core but minimal and focused on transcripts alone. Sporadic releases.