DEV Community

Ali zaib
Ali zaib

Posted on

How to Extract the Transcript from Any YouTube Video

Need the text of a YouTube video? Maybe you want notes from a lecture, a quote from a podcast, captions for your own video, or a transcript to paste into ChatGPT for a summary.

The good news: most YouTube videos already have a transcript hidden behind their captions. In this guide you'll learn how to extract the transcript from any YouTube video in a few seconds, on desktop and mobile.

Where YouTube Transcripts Come From

Every YouTube transcript comes from a video's captions. These come in two types:

  • Creator-uploaded captions: written or edited by the creator. These are usually the most accurate.
  • Auto-generated captions: created by YouTube's speech recognition. They're good for clear speech but can miss names, technical terms, and punctuation.

If a video has either type of caption, you can extract its transcript.

Method 1: Use a Free YouTube Transcript Generator (Fastest)

The quickest way to extract a full transcript, and the only easy way to copy or download it, is a free online tool like YouTube Video Transcript Generator.

Steps:

  1. Open the YouTube video and copy its link from the address bar or the Share button.
  2. Go to yt-video-transcript.online and paste the link into the box.
  3. The full transcript appears with timestamps in a few seconds.
  4. Copy the text, or download it as a file.

What you can do with it:

  • Copy the whole transcript in one click
  • Turn timestamps on or off
  • Switch between line view and clean paragraph view
  • Search for any word inside the video
  • Read along as the video plays, with the current line highlighted
  • Switch between caption languages
  • Download as TXT, SRT or VTT

It works with every common link format:

https://www.youtube.com/watch?v=VIDEO_ID
https://youtu.be/VIDEO_ID
https://www.youtube.com/shorts/VIDEO_ID
https://www.youtube.com/live/VIDEO_ID
Enter fullscreen mode Exit fullscreen mode

It's free, needs no sign-up, and works in any browser, including on your phone.

Method 2: Use YouTube's Built-In Transcript (Desktop)

YouTube has its own transcript panel on desktop:

  1. Open the video on YouTube in your browser.
  2. Below the video, click ...more to expand the description.
  3. Scroll down and click Show transcript.
  4. The transcript opens on the right side of the video.

Limitations:

  • There's no "copy all" or download button. You have to select the text by hand.
  • Copied text often includes timestamps mixed into the lines.
  • You can't search the text with highlighted matches.

This method is fine for a quick look, but not if you want to use the text.

Method 3: Get a Transcript on iPhone or Android

In the YouTube app, you can view a transcript but you can't copy it:

  1. Open the video in the YouTube app.
  2. Tap the description, then scroll down and tap Show transcript.

To copy or download the transcript on your phone instead:

  1. In the YouTube app, tap Share, then Copy link.
  2. Open yt-video-transcript.online in Chrome or Safari.
  3. Paste the link and tap Copy or Download.

How to Extract a Transcript from YouTube Shorts

The Shorts player hides the transcript button. To get the text of a Short anyway, copy its youtube.com/shorts/... link and paste it into a transcript generator. This works as long as the Short has captions.

Which Download Format Should You Choose?

Format What you get Best for
Copy The text exactly as shown Notes, emails, ChatGPT
TXT Plain text file Word, Google Docs, archiving
SRT Captions with start and end times Premiere Pro, DaVinci Resolve, CapCut, VLC
VTT Web caption file HTML5 video players and websites

Developers can drop a VTT file straight into a web player:

<video controls src="video.mp4">
  <track kind="captions" src="captions.vtt" srclang="en" label="English" default>
</video>
Enter fullscreen mode Exit fullscreen mode

Bonus: Summarize a YouTube Video with AI

Once you've extracted the transcript:

  1. Turn timestamps off and switch to paragraph view.
  2. Copy the text.
  3. Paste it into ChatGPT, Claude, or Gemini with a prompt like:
Using only the transcript below, give me a 5-point summary
and list the key takeaways.

Transcript:
[paste here]
Enter fullscreen mode Exit fullscreen mode

Asking the AI to use only the transcript keeps it from making up details.

Why Does a Video Say "No Transcript Available"?

You won't be able to extract a transcript if:

  • The creator has turned captions off
  • The video is brand new, and YouTube hasn't generated auto-captions yet
  • The video is private, unlisted with restrictions, or age-restricted
  • The video has no speech, such as music-only content

If it's your own video, you can add captions in YouTube Studio → Subtitles.

Tips for an Accurate Transcript

  • Pick creator captions over auto-generated ones when both are available.
  • Double-check names and numbers by clicking the line and listening.
  • Remove timestamps before pasting into articles or AI tools.
  • Credit the creator if you quote or republish their words.

Conclusion

Extracting the transcript from a YouTube video takes only a few seconds:

  1. Copy the video link.
  2. Paste it into a free tool like YouTube Video Transcript Generator.
  3. Copy the text or download it as TXT, SRT or VTT.

Whether you're a student, developer, creator, or researcher, turning videos into text saves hours of pausing and rewinding.

Have another method you use? Share it in the comments! 👇

Top comments (0)