How to Copy Text From a YouTube Video (Code, Slides & Links)
Published 2026-11-24 · Local browser OCR
You are watching a coding tutorial, a conference talk, or a product walkthrough on YouTube, and the speaker flashes a command, a URL, or a paragraph of notes on screen. You cannot highlight text inside a video player, and retyping a 60-character command by hand is where typos creep in.
Here is the fastest way to copy text from a YouTube video — plus the two settings that separate a clean paste from garbled letters.
The five-second route (works on Windows, Mac, and Chromebook)
- Pause the video on the frame with the text.
- Switch the video quality to 1080p or higher (click the gear icon → Quality). YouTube's auto-scaler often drops to 480p or 720p, which blurs thin letters into grey smudges.
- Move the mouse off the player for two seconds so the red progress bar and title overlay disappear.
- Capture just the text area: press Win + Shift + S on Windows, or ⌘ + Shift + 4 on macOS, and drag tightly around the words.
- Open the screenshot to text reader and press Ctrl + V (or ⌘ + V).
Because the capture goes straight from your clipboard into the browser, you never have to save a temporary file to your desktop. Everything runs locally in your browser tab, so nothing is uploaded.
When YouTube's own transcript is faster than OCR
If the words you want are spoken rather than displayed on a slide or terminal, skip screenshots altogether:
- Expand the video description below the player.
- Click Show transcript.
- Click the three-dot menu inside the transcript box and choose Toggle timestamps to hide the time markers.
- Select and copy the exact lines directly.
Transcripts are exact text (when captions are human-written) and take two seconds. Screenshots are for what is only on screen: slides, terminal commands, code editors, tables, and links never pasted into the description.
Why YouTube frames fail OCR — and how to fix them
Video compression is much harsher on text than a normal desktop screenshot. Three small adjustments fix almost every error:
- Pause for a full second after jumping. YouTube streams I-frames (sharp keyframes) every few seconds; pausing right after a scene cut sometimes freezes a smeared transition frame. Tap
,or.on your keyboard while paused to step backward or forward one frame until the letters snap sharp. - Go full-screen before screenshotting. Capturing a tiny embedded player window gives the reader 10-pixel letters that no OCR engine reads cleanly. Pressing
Ffor full-screen doubles the pixel height of every character. - Watch out for dark-mode terminals and colored syntax. Bright cyan or yellow keywords on a dark editor background lose contrast when converted to greyscale. If you are copying code, check our guide to copying code from a screenshot for the exact characters (
O/0,l/1/I, quotes) to double-check before hitting Enter.
What about browser extensions that select text on video?
Chrome extensions like Blackbox or Selectext let you drag a box directly over a paused YouTube video without leaving the tab. They are convenient if you pull text out of lectures twenty times a day.
Two trade-offs to check before installing one: most video-OCR extensions upload your cropped frame to a remote server (fine for public YouTube videos, risky if you forget it is enabled during a private Zoom call or company Loom), and several cap free captures per month. For occasional captures, clipboard paste into a local reader needs zero permissions and zero accounts.
Copying non-English text from a YouTube video
If the video shows Japanese, Chinese, Korean, Spanish, French, or German text, select the matching language from the dropdown in Shot2Text before or right after pasting. The reader supports 18 languages locally (each pack downloads once, 0.7 to 2.9 MB), and it will not auto-detect the language for you — leaving English selected on non-Latin text produces nonsense.
Need text from a saved video frame or image instead? See how to extract text from a screenshot or why OCR comes out messy and how to fix it.
Quick answers
- What is the fastest way to copy text from a paused YouTube video?
- Pause the video at 1080p or higher, go full-screen (press F), capture the text with Win + Shift + S or Cmd + Shift + 4, open Shot2Text, and press Ctrl + V / Cmd + V. The text appears locally in seconds with no upload.
- Why does OCR misread text from a YouTube screenshot?
- YouTube compresses video heavily at 480p and 720p, and dark-mode syntax highlighting lowers contrast. Switching to 1080p+, going full-screen, and stepping one frame with the period (.) key until text looks crisp fixes most errors.
- Can I copy non-English text from a YouTube video?
- Yes. Shot2Text includes 18 selectable languages locally in the browser, including Chinese, Japanese, Korean, Spanish, French, and German. Pick the language from the dropdown because the reader does not auto-detect languages.