Image & Video QR Code Generator

Link a QR code to a hosted photo or video so a scan opens it instantly in the scanner's browser.

A QR code cannot hold an actual photo or video — the file is far too large. Instead it stores a link to where your media is hosted. Scanning opens that link in the browser.

Paste the full https:// address of your hosted image or video. For videos, a streaming page (YouTube, Vimeo) or a direct MP4 link both work.

Paste a media URL to generate QR code

What this tool does

A QR code cannot hold an actual image or video file — the data is far too large for the pattern. Instead, an image or video QR code stores a link to where your media is hosted. Scanning opens that link in the browser, which displays the photo or plays the video.

The generator runs entirely in your browser as client-side JavaScript. The text, links, and credentials you enter are encoded directly into the QR matrix on your device — the payload is never transmitted to or stored on a server. The encoder selects the densest QR encoding mode that can represent your data (numeric, alphanumeric, or byte mode), applies the error-correction level you choose, and writes the resulting module grid into the canvas preview above. Because the data lives inside the image itself, the finished code is static: it never expires and never depends on a redirect service.

How a media-link code works, where to use it, and how to test it

How a hosted media URL is opened

An image or video QR code stores the address of a file that is already on the web. It does not store the pixels or the frames. A phone scans the URL, opens it in the browser, and the browser downloads the image or starts the video from that host. A file:// path, a photo that exists only in your camera roll, or a video that is private on a drive will encode without complaint and then fail for everyone else, because their phone cannot see your disk. The URL must be public, served over https, and stable. Hotlink protection, an expiring signed link, or a gallery page that requires a login will decode correctly and still show nothing useful. Large video files should be a normal streaming page or a sensibly compressed file, not an original camera upload, or the scan “works” and the playback never starts on mobile data.

Packaging, exhibits, and instructions

Use this format when the thing you want to show cannot live inside a QR symbol: a product demo, an assembly clip, a lookbook, a floor-plan image, or a short film linked from a poster. Host it on a domain you control, at a path you can keep. A social-network media URL often expires or sits behind a login, which makes it a bad print target. Put a caption next to the code that says what will open — “60-second setup video” — so people know why they are scanning. If the asset will be replaced, keep the same URL and swap the file, the same way you would with a menu.

How to test playback, not only the decode

Before you generate the code, open the media URL in a private browser window on mobile data. If it asks you to sign in, or the link redirects to a homepage, fix the hosting first. Then generate the code and scan it on iPhone and Android. Confirm an image displays at a readable size and a video starts with sound off by default, then with sound on, because autoplay rules differ. Try a phone that is low on storage and on a slow connection. Download the QR image, print a proof, and scan that, not only the screen. Leave the file in place for a day and scan again — expiring links pass a same-minute test and fail in the wild. If playback fails while the URL still pastes correctly into a browser, the matrix is fine and the host is the problem.

A URL code, not a file inside the pattern

A QR code can hold about 3 KB of data at most — a single phone photo is thousands of times that — so no image or video can fit inside the pattern. Every image QR code is really a URL code pointed at hosted media: the pattern stores the address, and the media stays wherever you host it. What you link to decides the experience — a direct MP4 plays in most mobile browsers but some download it, a YouTube URL opens the app if installed, and a gallery page you build gives one URL for many images.

Rich media from a printed surface

The conversion advantage is turning a static print into a rich media moment: a property photo tour from a for-sale sign, a how-to video from product packaging, a highlight reel from an event poster. The scanner taps once and the media plays, where a typed URL would rarely be attempted. Because the pattern only stores the address, the code's lifespan is entirely about hosting — move the file, rename it, or let the hosting lapse and the code dies while the media sits untouched on your hard drive.

Hosting stability and mobile optimisation

Keep media at a stable URL on a domain you control so the same printed code outlives several redesigns of the page around it, and never link a file:// path on your computer — no phone can reach it. Compress and resize media before hosting: an unoptimised multi-megabyte photo loads slowly on mobile data and may be abandoned before it renders. A media URL is short, so Level M and a 2.5 cm minimum print are enough indoors; on curved or glossy product packaging, go to 3 cm and keep the code on a matte, reflection-free area so the camera can read it.

Download your QR code

PNG for screens, SVG for large-format printing, PDF for print shops.

Optimal settings

Error correction: M (Medium)Min. print size: 1 inch (2.5 cm)

A media URL is short, so Level M error correction is sufficient and keeps the pattern compact. Print at least 1 inch (2.5 cm) square for indoor signage; on product packaging where scanners vary and the surface may be curved or glossy, go to 1.25 inches and use a matte spot-varnish-free area so the camera can read the code without reflection.

Printing this code on packaging or signage?

Read our QR printing guide

How it works

  1. 1You host your image or video online — on your own website, a media host, or a platform like YouTube or Vimeo.
  2. 2You paste the full https:// URL of that media into the generator.
  3. 3The generator encodes the link into the QR pattern.
  4. 4Scanning opens the URL in the browser, which loads and displays the image or plays the video.

When to use it

  • Real-estate signage linking to a property photo gallery or video tour
  • Product packaging linking to a how-to or unboxing video
  • Event posters linking to a highlight reel or photo album
  • Museum or gallery labels linking to extra imagery or a curator video

Examples of what to encode

Product demo video

https://your-site.com/videos/demo.mp4

Photo gallery

https://your-site.com/gallery/spring-launch

YouTube video

https://youtube.com/watch?v=yourvideo

Why the media lives at a URL

A QR code can hold about 3 KB of data at most — a single phone photo is thousands of times that. No image or video can fit inside the pattern, so every "image QR code" is really a URL code pointed at hosted media. The pattern stores the address; the media stays wherever you put it.

What you link to decides the experience. A direct file URL (your-site.com/demo.mp4) plays in most mobile browsers with one tap — but some browsers download it instead. A YouTube URL opens the app if installed, with the browser as fallback. A gallery page you build yourself gives you full control and one URL for many images.

Because the pattern only stores the address, the code's lifespan is entirely about hosting. Move the file, rename it, or let the hosting lapse, and the code dies — while the media itself is untouched. Keep media at stable URLs and the same printed code outlives several redesigns of the page around it.

Media hosting, formats, and mobile performance

An image or video QR code stores only a URL — the media itself lives wherever you host it. The lifespan of the code is entirely about hosting: move the file, rename it, or let the hosting lapse, and the code dies while the media is untouched on your hard drive.

What you link to decides the experience. A direct MP4 plays in most mobile browsers with one tap, but some download it instead. A YouTube URL opens the app if installed. A gallery page you build gives full control and one URL for many images, which is usually the most resilient choice for a printed code.

Keep media mobile-optimized. An unoptimized multi-megabyte photo loads slowly on mobile data and may be abandoned before it renders. Compress and resize before hosting, and use a stable URL on your own domain so the code survives a platform shutdown that would otherwise break every print.

Common mistakes to avoid

  • Linking to a file on your computer (a file:// path) — no phone can reach it.
  • Renaming or moving the hosted file after printing, which breaks every code that points at it.
  • Linking a raw MP4 that some browsers download instead of playing.
  • Hosting unoptimised multi-megabyte photos that load slowly on mobile data.

Practical tip

Link to a page that loads fast and is mobile-friendly. A direct MP4 link plays in most mobile browsers; a YouTube link opens the app if installed. Use a stable URL you control so the code keeps working if you ever move the file.

Frequently asked questions

Can I put the actual image or video file inside the QR code?

No. A QR code holds about 3 KB of data at most — a single phone photo is thousands of times that. Every image or video QR code is really a URL code pointed at hosted media; the pattern stores the address and the media stays wherever you host it.

What happens if I move or rename the hosted file?

The code breaks. Because the pattern only stores the URL, the code's lifespan is entirely about hosting. Move, rename, or let the hosting lapse and the code dies while the media sits untouched on your hard drive. Keep media at a stable URL on a domain you control.

Should I link a direct MP4 or a YouTube URL?

It depends. A direct MP4 plays in most mobile browsers with one tap, but some download it instead. A YouTube URL opens the app if installed, with the browser as fallback. A gallery page you build yourself gives full control and one URL for many images, which is usually the most resilient choice for a printed code.

How this tool handles your data

Everything here runs in your browser. The text, links, passwords, and contact details you enter are encoded into the QR image on your device — they are never uploaded to or stored on a server. Nothing is retained after you leave the page.

Test and check your code

Before you print or publish, use these free tools to make sure your code scans reliably.