ToolHub

QR Code Reader

Scan a QR code from an image

QR code reader

The image is drawn onto a canvas and decoded in your browser. Nothing is uploaded to any server, and links are never opened for you.

Overview

Read and decode any QR code from an image

A QR code is a square grid of black and white modules that stores text: a website link, a Wi-Fi password, contact details, a payment string, or any short message. Phone cameras can scan them live, but sometimes you only have a screenshot, a saved photo, or a QR code embedded in a PDF or poster image. That is where a QR code reader for images helps.

ToolHub QR Code Reader takes an image you upload, finds the QR code inside it, and shows you the exact text it contains. It runs completely in your browser, so the image never leaves your device.

Step-by-step

How to read a QR code from an image

  1. 1

    Upload your image

    Drop a PNG, JPG, or WebP that contains a QR code onto the upload box, or click to pick one from your device.
  2. 2

    Let it decode automatically

    The tool draws the image onto a canvas, reads the pixels, and scans for a QR code. The decoded text appears as soon as it is found.
  3. 3

    Copy the result

    Click copy to grab the decoded text. If the code holds a link, you will see a note so you can review the address before visiting it.

Background

How decoding works in your browser

The image is loaded into an Image object and drawn onto an HTML canvas at its natural size. The raw pixel data is read with getImageData and passed to a QR decoding library that locates the finder patterns (the three big squares in the corners), reads the grid, and runs error correction to recover the original text.

What QR codes can store

Most QR codes hold a URL, but they can also encode plain text, an email address, a phone number, an SMS, Wi-Fi network credentials, a vCard contact, or a calendar event. This reader shows the raw decoded string, so you see exactly what the code carries.

Why links are not opened automatically

A QR code can point anywhere, including a malicious or misleading site. For your safety this tool never opens a link for you. It shows the text and flags when it looks like a URL, so you can read the full address and decide for yourself before visiting it.

Use cases

When to use a QR code reader

Scanning a screenshot

Decode a QR code from a screenshot or saved photo when you cannot point a camera at the original.

Checking a link before you visit

Read the destination of a QR code on a flyer or sticker without trusting it blindly on your phone.

Reading codes from documents

Extract the text from a QR code embedded in a PDF, ticket, invoice, or boarding pass image.

Recovering Wi-Fi credentials

Decode a Wi-Fi QR code to read the network name and password as plain text.

Debugging QR generators

Confirm that a QR code you generated actually encodes the text you intended.

Saving contact details

Read a vCard QR code to copy a name, phone, and email without scanning with a phone.

Tips for a clean scan

  • Use a sharp, well-lit image. Heavy blur, glare, or low resolution can stop a code from decoding.
  • Make sure the whole QR code is visible, including a little white margin around all four edges.
  • Crop tight photos so the code fills most of the frame, which gives the decoder more pixels to work with.
  • If a code fails, try a higher-resolution version of the same image.
  • Always read the full link text before opening it, especially from codes you did not create.

Common questions

Can it read a QR code from a screenshot?

Yes. Any image that contains a QR code works, including screenshots, camera photos, and exported graphics, as long as the code is reasonably clear and complete.

Does the link open automatically?

No. The tool only shows the decoded text. If it looks like a URL, you get a note, but you have to copy and open it yourself. This protects you from being sent to an unexpected site.

Why does my image fail to decode?

The most common reasons are blur, low resolution, glare, or a code that is cut off at the edges. Try a sharper image where the full QR code is visible with a small white border around it.

Is my image uploaded anywhere?

No. The image is decoded entirely in your browser using a canvas. It is never sent to a server, so even private screenshots stay on your device.

100% private

Privacy and security

Your image is loaded and decoded entirely inside your browser. Nothing is uploaded, stored, or transmitted, and links are never opened for you. When you close the tab, every trace is gone.

Related tools

Frequently asked questions

What can it read?

Any standard QR code in an image, including URLs, plain text, Wi-Fi details, and contact cards.

Does it open links automatically?

No. For your safety it shows the decoded link as text so you can check it before visiting.

Is my image uploaded anywhere?

No. The QR code is decoded locally in your browser.