How-to guides
How to add a QR code to a YouTube video
YouTube's cards and end screens only hold tappable links, so a QR code must be burned into the video frames in your editor. Make it at least 25% of frame height for couch-distance viewing, keep it on screen for 10 seconds or more, and avoid the areas YouTube's own UI covers.
YouTube has no native QR feature
Cards, end screens and description links are all tappable links inside the YouTube player: none of them can display a QR code, and none of them appear on every surface (end screen elements are suppressed on some connected-TV apps). So the only way to put a QR code in a YouTube video is the direct one: composite the image into the frames in your editor before upload.
That is also why it works: a burned-in code survives every player, every platform and every embed, because it is just pixels.
When a QR code in a video makes sense
A viewer on a phone can tap your description link; they gain nothing from a code. The code pays off when the video is watched on a screen the viewer cannot tap:
- TV and connected-TV viewing, where a large share of YouTube watch time now happens and following a link otherwise means typing a URL with a remote
- videos shown in presentations, waiting rooms, trade-show loops
- tutorials people play on a laptop while holding their phone
Design for the couch case and every other case is covered.
The numbers
| Parameter | Minimum | Why |
|---|---|---|
| Height | ≥ 25% of frame height (270 px at 1080p, 540 px at 4K) | A 25%-height code on a 55-inch TV is roughly 17 cm, scannable from about 1.7 m under the 10:1 rule; couch distances are often 2–3 m, so bigger is better |
| Duration | ≥ 10 s, static position | Unlock, open camera, aim, focus takes most people 5–8 s: the full case is in minimum on-screen duration |
| Payload | Short URL, low version | Fewer, larger modules survive video compression; see size and distance |
If in doubt, hold the code longer than feels natural and say so: "code's on screen for the next 20 seconds."
Placement: avoid YouTube's own overlays
The player draws over your frames, and captions, the progress bar and end-screen elements all live in predictable places:
- Bottom strip: progress bar on hover/tap, captions by default, never put a code in the bottom 20%.
- Last 5–20 seconds: end-screen elements (if you use them) overlay large regions: don't schedule the code there, or skip end screens on that video.
- Top corners: info cards' teaser appears top-right.
Upper-left or centre-left, against a plain background, is reliably clear.
Surviving compression
YouTube re-encodes everything, and compression spends bits where there is motion. Give the code a fighting chance:
- Plain black on white, no gradient, no logo: styling costs error-correction margin you will want back after re-encoding; see QR codes on video.
- Keep the code motionless over a static background region. A code over moving footage gets smeared by the encoder.
- Composite at full resolution from the SVG or PNG, never screenshot a small version and scale it up.
Always pair it with a spoken or written URL
Some viewers are on phones, some players are tiny, some people simply won't scan. Put the same short link in the description, show it as text next to the code, and say it out loud. The code is an accelerator, not the only door.
Before publishing, play the uploaded (not local) video on an actual TV and scan it from your sofa; then check the payload once more with the validator.
FAQ
Can I put a QR code in a YouTube end screen?
No. End screens only offer YouTube's own elements (video, playlist, subscribe and approved-link buttons), and cannot display an image of your choosing. A QR code has to be edited into the video frames themselves.
How big should a QR code be in a video?
At least 25% of the frame height (270 pixels tall in 1080p), and larger if you expect TV viewing from several metres. Small codes fail twice: too few pixels after compression, and too small on screen for the viewing distance.
How long should a QR code stay on screen?
Ten seconds is the floor. Viewers must notice it, get their phone ready and aim. If the segment allows, hold it for 15 to 20 seconds and announce it verbally so people know it is coming.
Will YouTube compression break my QR code?
It can, if modules are small or the code sits over motion. A short URL, plain black-on-white styling, a static position and full-resolution compositing survive re-encoding reliably.
Try it: free, no signup
Related
- How to make a QR code, Pick the type, enter your details, check the size against the scanning distance, and download SVG for print or PNG for screens. With UseQR the whole…
- Minimum on-screen duration for a QR code, A primed viewer needs 8–12 seconds to unlock, aim, focus and decode. Show codes for at least 15–20 seconds, or keep them persistent in a corner.
- Putting a QR code on video, Sizing and placing a QR code burned into video: the 10:1 rule from couch distance, the percent-of-frame maths, and why the code must not move.
- How to add a QR code to a livestream overlay, Add a PNG image source in OBS, at least 200 px on a 1080p canvas, in a corner clear of captions and webcam. Static overlays stay sharp at any bitrate.