QR Code Scanner

Scan QR codes with your camera or from an image, right in your browser

Runs in your browser

How does a QR code scanner work?

A QR code stores text in a grid of black and white squares, with error correction so it still reads when part of it is dirty or covered. This scanner looks for the three square finder patterns in the corners, works out the grid and decodes the text, using the open-source jsQR library in your browser. With the camera it checks several frames per second and stops as soon as it finds a code. With an image it tries a few sizes, so both large photos and tiny screenshots work. The result is shown as plain text, and common formats get a shortcut: a button to open a link, the name and password of a Wi-Fi network, or a phone number to call. Links never open by themselves.

Use cases

  • Read a QR code on your PC from a screenshot, PDF page or photo, with no phone needed
  • See the Wi-Fi password stored in a QR code so you can type it on a laptop
  • Check where a QR code link goes before you open it
  • Scan a QR code with a webcam or phone camera without installing an app

When to use it?

Use it when a QR code is on your screen rather than on paper, when your phone's camera app won't scan it, or when you want to see the full content before acting on it. Codes on posters, packages and receipts can be scanned with the camera; codes in emails, chats and documents are easier to scan from a screenshot. Be careful with QR codes in public places: a sticker can point to a fake payment or login page, so always read the address first.

Examples

  1. Wi-Fi QR code

    Input

    WIFI:S:CafeGuest;T:WPA;P:coffee2024;;

    Output

    Network CafeGuest, password coffee2024

  2. Link on a poster

    Input

    https://example.com/menu

    Output

    Link to example.com with an Open link button

  3. Screenshot on PC

    Input

    screenshot.png with a QR code

    Output

    The decoded text, ready to copy

Questions and answers

How do I scan a QR code on my PC?

Take a screenshot of the code, then drop the image here or press Ctrl+V. You can also use your laptop's webcam with Scan with camera.

Can I scan a QR code from an image or screenshot?

Yes. Choose or drop a PNG, JPG, WebP or HEIC image. The scanner tries several sizes, so it reads both large photos and small screenshots.

Is it safe? Is my image uploaded?

Nothing is uploaded: the camera video and your images are processed in your browser. Links are shown in full and never opened automatically, so you can check them first.

Why can't it find my QR code?

The code may be blurry, too small, cut off or very low contrast. Hold the camera steady about 15 to 30 cm away, use better light, or crop the image closer to the code.

Sources and standards

All Tools