jdepoix/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!
This tool helps you quickly get the text transcript or subtitles from any YouTube video. You simply provide the video ID, and it returns the spoken text along with timestamps. This is useful for researchers, content creators, or anyone needing to analyze or repurpose video content.
7,078 stars. Used by 28 other packages. Actively maintained with 3 commits in the last 30 days. Available on PyPI.
Use this if you need to extract the exact text from YouTube video subtitles, including automatically generated ones, without needing a YouTube API key or a web browser.
Not ideal if you primarily need to download the video itself or interact with other YouTube features beyond transcripts.
Stars
7,078
Forks
734
Language
Python
License
MIT
Category
Last pushed
Mar 09, 2026
Commits (30d)
3
Dependencies
2
Reverse dependents
28
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/voice-ai/jdepoix/youtube-transcript-api"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Compare
Related tools
MatteoFasulo/Whisper-TikTok
From AI tools to TikTok video creation using FFMPEG, Microsoft Edge read aloud and OpenAI Whisper model
pszemraj/vid2cleantxt
Python API & command-line tool to easily transcribe speech-based video files into clean text
antor44/livestream_video
playlist4whisper manages media streams playlists for livestream_video.sh, plays media, and...
ArthurFDLR/whisper-youtube
🔉 Youtube Videos Transcription with OpenAI's Whisper
JJWRoeloffs/transcribe_align_textgrid
A small wrapper package around whisper-timestamped. Create force-aligned transcription TextGrids...