How to scan QR codes and PDFs on Android
Scan QR codes with the camera or Quick Settings and turn paper documents into PDFs on Android with Google Drive and Files by Google.
On Android you can read a QR code straight from the Camera in Photo mode, or from the Scan QR code tile in the Quick Settings panel. If what you need is digitizing invoices, contracts or study notes into a PDF, Google Drive and Files by Google both include a scanner with automatic edge detection and shadow cleanup — no extra apps required.
How to scan QR codes with the camera and Quick Settings
The Google Camera (and the native cameras on most brands) recognizes QR codes in real time as long as you are in Photo mode. Aim at the code from about 15–20 cm away, wait a second for the floating pill with the URL to appear and tap it to open the link. If you have Portrait mode or Video mode selected, QR recognition switches off: go back to Photo if the camera does not react.
When you need to scan quickly without opening the camera and hunting for focus, the system shortcut is more direct:
- Swipe down twice from the top edge to unfold all the Quick Settings.
- Look for the Scan QR code tile (on Samsung One UI it appears as Scan QR code).
- If it is not on the first page, tap the pencil (Edit) icon and drag it into your active tiles.
- Pressing it opens a dedicated viewer that includes a flashlight button for menus or labels in low light.
On Samsung One UI, if you point the regular camera and no link appears, enter Camera → Settings (gear icon) and enable Scan QR codes. On Xiaomi HyperOS, that same switch lives under Camera → Menu (three lines) → Settings → Smart suggestions → Scan QR codes. You can also discover other shortcuts like this one in our guide to hidden Android features.
How to scan paper documents to PDF with Google Drive
To digitize loose sheets, receipts or multi-page contracts, Google Drive uses the Google Play Services scanning engine with automatic edge detection:
- Open the Google Drive app on your Android phone.
- Tap the floating camera icon button in the bottom right corner (right above the + button).
- Choose between Auto capture (it shoots as soon as it detects the four stable edges of the paper) or Manual mode.
- Lay the document on a table that contrasts with the paper color and avoid casting a shadow with your own arm.
- Review the preview: use Crop & rotate to adjust the corners, apply the Color, Grayscale or Black & white filter, and use Clean if you want to erase a smudge or a finger that ended up on the edge.
- If the document has several pages, tap the + (Add page) button at the bottom left to join them all into a single file.
- Press Done, type the file name and tap Save to generate the PDF in your Drive folder.
If you are away from the office and need to send the document to your computer right away, you can share your data connection and sync the PDF instantly.
Scanning documents locally with Files by Google
When you prefer the PDF to be saved directly to your phone’s internal storage without uploading it to Drive, Files by Google offers the same scanning engine:
- Open Files by Google and stay on the main tab.
- Tap the floating Scan button (document icon with a camera) in the bottom right corner.
- Capture the pages in manual or automatic mode, apply the contrast filter and press Done.
The resulting PDF is stored directly in the local Files → Scanned folder (Documents/Scanned) on your phone, ready to attach via WhatsApp or email without spending mobile data. If your goal is organizing class notes or editable text, the comparison of the best note-taking apps for Android will help you choose what to use after scanning.
Summary table of methods and what to do when scanning fails
| Task | Native tool or route | Key detail or limitation |
|---|---|---|
| Read a printed QR code | Camera in Photo mode or the Scan QR code tile | Does not work in Portrait or Video mode |
| Read a QR code from a screenshot | Google Photos → open the image → Lens / Search button | Opens a QR received via WhatsApp or email without a second phone |
| Scan paper to the cloud | Google Drive → camera icon bottom right | Joins several pages into one PDF and cleans shadows or smudges |
| Scan paper locally | Files by Google → Scan button | Saves the PDF to internal storage without uploading it to Drive |
Fixes for common QR and document scanning problems
If the camera does not detect a code or the PDF comes out blurry, check these three points before installing another app:
- How to read a QR code already on your phone’s screen: if someone sent you a ticket or QR via WhatsApp or email, you do not need another phone to point at the screen. Take a screenshot, open it in Google Photos and tap Search (Google Lens) at the bottom (or long-press the bottom bar to use Circle to Search): the system will detect the QR in the image and show the link.
- Glare on laminated paper or screens: scanning a QR on a laminated letter or glossy document under a lamp makes the white glare break the pattern of the code’s three corner squares. Tilt the phone about 15 degrees instead of holding it perfectly parallel, and step back slightly using
1.5xor2xzoom. - Safety before opening a QR code in the street: always check the URL shown in the floating pill before tapping it, especially on parking meters or posters where someone could have stuck a sticker over the original code.