Videos are full of text you cannot copy: code in a programming tutorial, formulas on a lecture slide, a recipe card in a cooking reel, a quote in a news clip, a product name in a review. Typing it out by pausing and rewinding is slow and error-prone. The faster way is to take a screenshot of the frame and run it through OCR. This guide shows how to extract text from a YouTube video or any video screenshot on a computer or phone, and how to get clean results from blurry, compressed frames.
First, check whether you need OCR at all
If the text you want is spoken rather than shown on screen, OCR is the wrong tool. On YouTube, open the video description and click Show transcript to get the auto-generated captions with timestamps, which you can select and copy. Also check the description and pinned comment: many creators paste code, links and slide notes there. OCR is for text that only appears in the picture, such as slides, code editors, whiteboards, subtitles burned into the video and on-screen captions.
Step by step on a computer
- Play the video at the highest quality available. Click the gear icon and choose 1080p or higher; at 360p small text turns into mush.
- Pause on the frame you want. Use the full-screen button so the text is as large as possible. On YouTube, the comma and full-stop keys step back and forward one frame at a time while paused.
- Hide the player controls by moving your mouse away, so the progress bar does not cover the bottom of the frame.
- Take a screenshot. On Windows press Win+Shift+S and drag around the text; on a Mac press Cmd+Shift+4.
- Open Screenshot to Text on Ocr4you and upload or paste the image.
- Choose the language, click Convert, and copy the result.
Step by step on Android and iPhone
- Set the video to the best quality and rotate the phone to landscape for a larger frame.
- Pause and wait a second for the frame to sharpen; streaming video often shows a blurry frame right after pausing.
- Take a screenshot (Power + Volume Down on most phones, Side + Volume Up on iPhone) and crop it to the text.
- Open ocr4you.com in Chrome or Safari, go to Screenshot to Text and upload the screenshot from your gallery.
- Copy the text into Notes, WhatsApp, a document or your code editor.
Our guide on extracting text from an image on your phone covers built-in options like Google Lens and Live Text too.
Copying code from programming videos
Code is the most common reason people screenshot tutorials, and also the easiest to get subtly wrong. After converting:
- Check indentation. OCR keeps line breaks but may not keep exact spaces. In Python and YAML, re-indent before running.
- Watch look-alike characters: 0 and O, 1, l and I, backticks and quotes, and curly quotes that should be straight quotes.
- Brackets and symbols: make sure { }, [ ], | and ; survived. Run a linter or the code itself to catch mistakes quickly.
- Dark themes are fine. Light text on a dark editor background usually converts well as long as the frame is sharp.
- Look for the source first. Many tutorials link a GitHub repository in the description, which is always more reliable than OCR.
Lecture slides and online classes
Students recording lectures on YouTube, Zoom or a learning portal can turn slides into revision notes in minutes. Screenshot each slide as it appears, put them in one folder, and convert them one by one. If a slide contains a table, use JPG to Excel to get rows you can paste into a spreadsheet. For handwritten whiteboard text, try Handwriting to Text, and expect to proofread more. Lectures in Hindi or other Indian languages work too; pick the right language, or use Hindi Image to Text for Devanagari slides.
Burned-in subtitles and captions
Many short videos, reels and foreign films have subtitles drawn into the picture rather than provided as a caption file. OCR can read them one frame at a time, which is handy for saving a quote or translating a line. Subtitles with a dark outline or a semi-transparent box behind them convert best. Crop tightly to the subtitle line so the busy background does not confuse the OCR.
Tips for sharper results from video frames
- Quality is everything. Always switch to the highest resolution before pausing. Video compression blurs fine text more than anything else.
- Avoid motion. Pick a frame where the camera and text are still; scrolling text or zooming slides blur badly.
- Crop to the text. Remove faces, logos and backgrounds around the area you need.
- Do not photograph your screen with another phone. A screenshot is far sharper and has no glare or moirรฉ pattern.
- Zoom before you capture. On a computer, use browser zoom or theatre mode; on a phone, pinch-zoom the paused video where supported.
Respect copyright
Extracting text for personal notes, study, accessibility or a short quotation with credit is generally fine. Copying an entire course, book or paid content and republishing it is not. When you quote a video, link to it and credit the creator.
For other screen captures such as chats, error messages and social posts, see how to copy text from an image or screenshot.
Frequently asked questions
How do I copy text from a YouTube video?
Pause on the frame, take a screenshot and upload it to Ocr4you Screenshot to Text. For spoken words, use the Show transcript option in the video description instead.
Can I extract code from a programming video?
Yes. Screenshot the code at the highest video quality, convert it with Screenshot to Text, then check indentation, brackets and look-alike characters before running it.
Why is the text from my video screenshot inaccurate?
Low video quality and motion blur are the usual causes. Switch to 1080p, pause on a still frame and crop tightly to the text.
Does this work on a phone?
Yes. Take a screenshot of the paused video, open ocr4you.com in your mobile browser and upload it to Screenshot to Text.
Can I extract subtitles from a video?
Burned-in subtitles can be read from screenshots one frame at a time. Crop to the subtitle line for the best accuracy.
Try it now: Screenshot to Text is free to start and works on mobile and desktop.
Open Screenshot to Text