Paste a YouTube link and get the full transcript as Markdown in a new VS Code tab, with [m:ss] timestamps. Or insert it right where your cursor is, inside your notes, docs or a prompt for an AI model. Uses your own Apify API token.
Quick start
Copy a YouTube video link (watch, Shorts or youtu.be).
Open the Command Palette (Cmd/Ctrl+Shift+P) and run YouTube: Get Transcript. The link from your clipboard is filled in.
The first time, paste your own Apify token. Find it in Apify Console > Settings > API & Integrations. A free Apify plan is enough to start.
Commands
Command
What it does
YouTube: Get Transcript
Opens the transcript in a new Markdown tab
YouTube: Insert Transcript at Cursor
Inserts the transcript into the open file
YouTube: Set Apify Token / Remove Apify Token
Manage your token
Example output
# YouTube transcript
https://www.youtube.com/watch?v=... (en, auto-generated)
[0:00] Hi everyone, welcome back to the channel.
[0:04] Today we look at three ways to...
Settings
Setting
Default
What it does
youtubeTranscript.language
en
Preferred caption language, for example en or es,en. If missing, any available language is used
youtubeTranscript.timestamps
true
Add [m:ss] to each line. Turn off for plain text
youtubeTranscript.maxChargeUsd
1
Spending cap per run, in USD. 0 means no cap
Privacy and cost
Your token stays in VS Code Secret Storage on your computer. It is never written to settings or files.
The extension talks only to api.apify.com and runs the YouTube Transcript Scraper on your Apify account.
The extension is free. Apify bills the run to your account (about $0.06 per video, see the Actor page). The default cap is $1 per run.
FAQ
"No captions we can read"? The video has no captions at all (not even auto-generated ones). Try another video.
Need many videos or channels? Run the Actor in Apify Console, or try Run Apify Actors: 190+ ready-made scrapers in VS Code, including YouTube comments and channel data.