youtube-transcript-api
This is a python API which allows you to get the transcript/subtitles for a given YouTube video. It also works for automatically generated subtitles and it does not require an API key nor a headless browser, like other selenium based solutions do!
Category
Speech-to-text
Type
Open source
Platform
Python project
Pricing
Free / open source
License
MIT
GitHub stars
8,038
Last updated
2026-05-19
Need the recording as text?
Whatever you record or edit with youtube-transcript-api, Whipscribe turns it into an accurate, speaker-labeled transcript — 100+ languages, SRT/VTT/DOCX export, private self-hosted Whisper. About $2 per audio hour, 30 minutes free daily.
Transcribe a file →