To extract subtitles from a YouTube video, you can use several methods:
1. Using YouTube’s built-in feature (for videos with captions available)
-
Go to the YouTube video you want to extract subtitles from.
-
Click the three dots (More options) under the video.
-
Select Open transcript.
-
A transcript of the video will appear on the right side of the screen.
-
You can copy and paste the subtitles from this transcript.
2. Using Online Tools
There are a few websites that allow you to download subtitles directly from YouTube videos. Some popular ones include:
-
DownSub (https://downsub.com/)
-
YTSUBS (https://www.ytsubtitles.com/)
-
SaveSubs (https://www.savesubs.com/)
Simply enter the video URL, and these websites will let you download subtitles in various formats (e.g., SRT, VTT).
3. Using Python (for developers)
If you’re comfortable with coding, you can use the youtube-dl Python library (now maintained as yt-dlp) to download subtitles:
-
Install yt-dlp:
-
Extract subtitles using this script:
This script will download available subtitles for a YouTube video.
4. Using Browser Extensions
There are browser extensions like “Subtitles for YouTube” or “YouTube Subtitle Downloader” that make this process even simpler. Just install the extension, and it adds a download button for subtitles on YouTube pages.
Would you like to know more about one of these methods?