Scan a QR code from a photo, screenshot or PDF

Read a QR code that's already in a picture, a screenshot or a PDF, on an Android phone, a tablet or a Chromebook.

To scan a QR code that’s in a photo or a screenshot on Android, open the picture in Google Photos and tap Lens, or pick it from a scanner app that reads images and PDFs. You don’t need a second phone or a printout.

With Google’s own tools

Google Photos and Google Lens

Open the photo or screenshot in Google Photos and tap the Lens button. Lens finds the code and shows its content; tap it to open or copy. Google changes these screens from time to time, so the button may be labeled differently on your phone. You can also open Google Lens from the Google app and choose a picture from your gallery instead of using the camera.

On phones that have Circle to Search, you can read a code that’s on your screen right now, in an email, a chat or a web page, without saving anything. Press and hold the home button or the navigation bar, then circle the code. Circle to Search is available on select Android devices only.

A screenshot first

If a code is on your screen and nothing else works, take a screenshot (usually power and volume down together), then scan the screenshot with Lens or a scanner app. Delete the screenshot afterwards if the code holds something personal, such as a ticket or a sign-in code.

With a scanner app

Most scanner apps have a gallery or file button on the scan screen, and many also appear in Android’s share menu, so you can share a picture straight to them from Photos or a chat app.

In QR App, tap Scan from a file (the picture button) on the Scan screen and choose:

  • Photo for one picture from your gallery.
  • Several photos to scan a batch of pictures at once, with a list of every code found.
  • PDF for tickets, boarding passes and invoices. The app reads the pages one by one and shows the page each code was found on. A PDF protected with a password needs the password removed first.

You can also share a picture or a PDF to QR App from another app, or open a PDF with it. When a file holds more than one code, the app lists them and you pick one. Files are read on the phone, the app doesn’t keep a copy, and only the codes it finds go to history (unless saving to history is off).

The same rules apply to a code from a file as to one from the camera: read the address before you open it. A screenshot of a fake code is still a fake code. The guide on how to spot a fake QR code lists what to look for.

On a tablet or Chromebook

Large screens make it easier to work with codes in files. On a tablet, a Chromebook or a desktop window, QR App also lets you:

  • Drag and drop a photo, a PDF or some text onto the Scan screen, from a file manager or an app beside it.
  • Paste with Ctrl+V to scan an image or text you copied.
  • Open a file with Ctrl+O to pick a photo or a PDF.

Text you drop or paste is shown like a scanned code, with the same link check, but it isn’t saved to history. On a Chromebook or computer without a camera, scanning from a file still works.

On a computer

The QR code generator on this site makes codes; it doesn’t scan them. If the code is on a computer screen, the simplest way to read it is your phone: open the image full screen, then scan it with the camera app, Google Lens or a scanner app. Turn the screen brightness up and tilt the phone slightly if glare gets in the way.

When a code in a picture won’t read

  • Crop and zoom. If the code is a small part of a large photo, crop around it, leaving a little white space on each side, and try again.
  • Use the original file. Messaging apps often shrink and compress pictures. Ask the sender for the original image or the PDF.
  • Screenshot, don’t photograph, a screen. A photo of a monitor picks up stripes and glare; a screenshot of the same code is sharp.
  • Zoom in before the screenshot. If the code is tiny on the page, zoom in first so it fills more of the screenshot.
  • Keep the whole code in the picture. A code cut off at the edge, including its three corner squares, won’t read.
  • Watch for several codes. A page with many codes may give you the wrong one. Crop to the one you want, or pick it from the scanner’s list.

If you make codes that people will scan from screens and printouts, the guide to QR code size for printing explains contrast and the quiet zone around the code.

Questions and answers

Can I scan a QR code that's on my phone's screen?

Yes. Take a screenshot, then open it in Google Photos and tap Lens, or pick it from a scanner app that reads pictures. On phones that have Circle to Search, you can also circle the code without taking a screenshot.

Can the qrapp.app website scan a QR code?

No. The website is a generator: it makes QR codes in your browser and doesn't read them. To read a code on a computer screen, point your phone's camera at the screen.

Why won't the QR code in my photo scan?

The code may be blurry, too small in the picture, cut off at an edge, or squashed by heavy compression in a messaging app. Ask for the original image, or crop the photo around the code and try again.

Can I scan a QR code from a PDF ticket or invoice?

Yes, with a scanner app that reads PDFs, or by taking a screenshot of the page and scanning that. PDFs protected with a password usually need the password removed first.

Sources