IMAGE TOOL

QR Code Scanner

Read a QR code from an uploaded, dropped or pasted image, or with your camera. Links are checked and never opened automatically, and images stay on your device.

Drop a QR code image here, paste one with Ctrl+V (Cmd+V on a Mac), or choose a file.

Images are decoded in your browser. Nothing is uploaded.

None yet

      

About this tool

This QR code scanner reads a QR code from an image on your computer or phone: a screenshot, a photo, a downloaded PNG or an image copied to the clipboard. It can also scan live through your camera if you allow it. The decoded content is shown as plain text, web addresses get a safety check before you choose to open them, and Wi-Fi, email, phone, SMS and contact codes are split into readable fields. Decoding runs in your browser with the open-source jsQR library, so your images are never uploaded.

How to use the QR code scanner

  1. Give it an image. Drag a picture onto the drop area, click the file button and choose one, or copy an image (for example with a screenshot tool or Copy image in your browser) and press Ctrl+V or Cmd+V anywhere on the page.
  2. Or use the camera. Click Scan with camera and allow access when your browser asks. On phones the rear camera is requested. Point it at the code and hold steady; scanning stops as soon as a code is read.
  3. Read the result. Detected type tells you what kind of code it is. The preview outlines the code that was found, and the raw text box shows exactly what the code contains.
  4. Check links before opening. For a web address, the domain is shown in large type above the full address. Nothing opens automatically; the Open link button appears only for http and https addresses.
  5. Copy what you need. Copy result copies the raw text, such as a Wi-Fi password or a long URL, without retyping.

How QR codes work

QR Code is a two-dimensional barcode developed by DENSO WAVE and standardized as ISO/IEC 18004, first approved as an international standard in June 2000; the current edition was published in 2024. A code is a grid of dark and light squares called modules. The three large squares in the corners are finder patterns that let a reader locate the code and work out its angle, and a light border called the quiet zone separates the code from its surroundings.

Codes come in 40 sizes, called versions. According to DENSO WAVE, Version 1 is 21 × 21 modules and each higher version adds 4 modules per side, up to 177 × 177 for Version 40. More data needs a larger version.

QR codes also store extra error correction data using Reed-Solomon codes, so a reader can rebuild the content when part of the code is dirty, damaged or covered. The person making the code chooses one of four levels:

LevelApproximate share of codewords that can be restored
LAbout 7%
MAbout 15%
QAbout 25%
HAbout 30%

The percentages come from DENSO WAVE's standards page. Higher levels make the code denser for the same content, which is why logos placed over a code usually need level Q or H.

A QR code just stores text. Phones decide what to do with it by its prefix. The common formats this scanner recognizes are:

TypeStarts withFields shown
Web addresshttp:// or https://Domain, full address, safety notes
Wi-Fi networkWIFI:Network name, security type, password, hidden flag
Emailmailto: or MATMSG:To, cc, bcc, subject, body
Phone numbertel:Number
Text messageSMSTO: or sms:Number and message
Contact cardBEGIN:VCARD or MECARD:Name, organization, phones, emails, address, website

The Wi-Fi, SMS and contact layouts follow the conventions documented by the ZXing barcode project, which most phone scanners use. A Wi-Fi code such as WIFI:T:WPA;S:mynetwork;P:mypass;; holds the security type, network name and password, with \, ;, ,, " and : escaped by a backslash.

QR code safety: links, phishing and what this tool does

Because you cannot read a QR code by eye, it is easy to hide a harmful link in one. The FTC warned in December 2023 that scammers hide harmful links in QR codes, and advises you to inspect the URL before opening it and not to scan an unexpected code in an email or text that urges you to act fast. The FBI's January 2022 public service announcement adds that you should check physical codes for stickers placed over the original, avoid downloading apps from a QR code, and be careful about paying through a site you reached from one.

This scanner helps with that by design. It never opens anything on its own. The decoded text is displayed as plain text, so code hidden in it cannot run on the page. Only http and https addresses get an Open link button, and the link opens in a new tab without passing on where you came from. Other link types, including javascript: and data:, are shown as text only with a warning. Addresses are also flagged when they use plain http, point to a raw IP address, include a user name before an @ sign (as in https://yourbank.com@other.example, which really goes to other.example), or contain internationalized characters shown in their xn-- form, which can imitate a familiar domain. No warning means none of these checks matched; it does not mean the site is safe.

Worked example

When the page opens, and whenever you click Load sample, the tool creates a test code with the same library used by the QR Code Generator and scans it. The code contains:

WIFI:T:WPA;S:CafeGuest;P:latte-2026;;

The status line reports a version 3 QR code, which is 29 × 29 modules. Detected type is Wi-Fi network, and the fields read: Network name (SSID) CafeGuest, Security WPA, Password latte-2026, Hidden network No. Wi-Fi codes store the password as plain text, so the tool shows it in plain text too. Anyone who can see your screen can read it.

Why a QR code will not scan

Common mistakes

Use cases

Frequently asked questions

How do I scan a QR code from a screenshot on my phone?

Open this page in your phone browser, tap the file button and pick the screenshot from your photo library. The code is decoded on the phone and the result appears below. On a computer you can also copy the screenshot to the clipboard and press Ctrl+V or Cmd+V on the page.

Can a QR code contain a virus?

A QR code only contains text, so scanning it cannot run anything by itself. The risk is what the text leads to, such as a phishing page or a download link. This tool shows the content as text and never opens links automatically, so you can read the address before you decide to visit it.

Why does the camera button not work?

Browsers allow camera access only on secure pages and only after you grant permission, so check that you did not block the camera for this site. A device with no camera, or one already in use by another app, will also fail. You can always take a photo and choose it with the file button instead.

Is it safe to scan QR codes online with this tool?

Your image is read in your browser with JavaScript and is not uploaded, stored or sent anywhere. The page works with your connection switched off once it has loaded. Camera frames are processed the same way and the camera is turned off after a code is found or when you leave.

Can I scan a QR code that is on my computer screen?

Yes. Take a screenshot, then paste it here with Ctrl+V or Cmd+V, or save it and choose the file. You do not need a second device. If the code is very small on screen, zoom in before taking the screenshot so each square is several pixels wide.

Does this scanner read barcodes on products?

No. It reads QR codes only. Product barcodes such as UPC and EAN, and other 2D codes like Data Matrix or PDF417, use different formats that this decoder does not support. If nothing is found, check that the image actually contains a square QR code with three corner finder patterns.