Copy code from a YouTube video
Following a coding tutorial and tired of retyping every line? Pause the video, press one shortcut, and the code is on your clipboard, ready to paste. No browser extension, no uploading a screenshot, no converting anything. A local AI fixes what OCR gets wrong, all on your Mac.
Requires macOS 13+ on an Apple Silicon Mac · no account needed
From paused video to runnable code
No new windows, no uploads, no file conversions. As easy as copy and paste.
Pause the video
On YouTube, Udemy, Coursera, or anywhere else the code is on screen.
Press ⌘⇧7 and drag
Draw a box over the code. It works system-wide, not just in the browser.
Paste and run
Clean code lands on your clipboard, indentation and quotes intact.
See it in action
Pause the tutorial, grab the code, paste it straight into your editor.
Screenshot text from any video
Pause any video and press ⌘⇧7 to highlight the code you want to copy.
Instantly paste into your editor
Now it's on your clipboard. Press ⌘V to paste into your editor.
Plain OCR mangles code. This fixes it.
A frame of a video is low-resolution and ambiguous. The on-device AI repairs the result.
Runs entirely on your Mac. Nothing is uploaded.
Copying code from videos
Everything you need to know.
Yes. Screenshot Text reads whatever is on your screen, so it works on any video site or player, plus anything else: a PDF, a Stack Overflow image, or a screen-share. It is not tied to one site.
No. It is a native Mac app, so it captures code from any app, not just the browser. There is nothing to install in Chrome, and it keeps working when the video is in a desktop player.
That is the whole point. After OCR reads the frame, a local code-aware AI restores indentation, straightens curly quotes, and puts dropped brackets back, so the code pastes in ready to run.
No. OCR runs on-device with Apple's Vision framework and the AI cleanup runs a local model on your Mac. No upload, no account, works offline.
Free for 5 captures a day with AI cleanup included. A one-time $49 Lifetime makes it unlimited. No subscription.
Still have a question?
Reach out on X and I'll get back to you personally.
Stop retyping what's already on your screen.
Grab any text in one keystroke. Free to try, $49 to own for life, and it all runs on your Mac.
macOS 13+ on Apple Silicon · no account needed