Skip to main content

QR Code Reader

Read a QR code from an image, a screenshot or your camera.

QR Code Reader
Drop an image of a QR codeYou can also copy a screenshot and paste it on this page (Ctrl+V, or ⌘+V on a Mac). The image is processed on this device, and this tool does not send it anywhere.

URLs are shown, not opened, with a warning for common signs of a fake site. Nothing is uploaded.

Read QR codes from an image, a screenshot or the camera. A code shown on your own screen can be read by pasting a screenshot. URLs are displayed rather than opened, with a warning when they show the usual signs of a fake site. The image is processed in your browser and is not sent anywhere.

QR Code Reader: Features

How the reader finds codes in an image

Choose or drop an image under "Read an image" and the tool searches it for QR codes and decodes each one it finds. Codes that are small within a larger photo, at an angle, or inverted (light modules on a dark background) can be read too. When an image holds several codes, all of them are read and a numbered box is drawn over each one. Besides ordinary QR codes, the reader handles the smaller Micro QR and the rectangular rMQR codes. Decoding uses zxing-wasm, a WebAssembly build of the open-source ZXing-C++ library, served from this site. The image is loaded and decoded inside this page and is never uploaded. Like every page on this site, this page also loads analytics and advertising scripts; the privacy policy has the details.

Reading a QR code that is on your computer screen

A phone reads a QR code as soon as you point its camera at one, but a code that appears on your computer screen is easiest to read from a screenshot. On Windows, press Windows key + Shift + S and select an area; the capture is copied to the clipboard. On a Mac, press Command + Control + Shift + 4 and select an area, which copies it in the same way. Then press Ctrl+V on Windows or Command+V on a Mac while this page is open, and the code is read straight away. A saved image file can be dropped onto the box or chosen with "Choose an image". On a phone, take a screenshot and then pick it with "Choose an image" to read a code that is displayed on that same phone.

Check a URL before you open it

Nobody can read a QR code by eye, which makes codes a convenient way to send people to fake sites. Known tricks include stickers with a fake code placed over a genuine one, and emails with a code that leads to a fake sign-in page. This tool never opens a URL by itself. It shows the URL first and warns when it has a common sign of a fake site: an unencrypted http address, an IP address in place of a domain name, a real-looking name placed before an @ so that the link goes somewhere else, a domain containing characters other than the plain letters a to z (a Cyrillic а, a dotless ı, or a Chinese 丨 or Japanese ー mixed in with letters can make a fake name look like a famous one), a shortened link whose destination cannot be seen, or invisible characters and text-direction controls that disguise how the URL looks. Invisible characters are shown in a form such as ⟨U+202E⟩. Such a domain is shown by its real name, starting with xn--, as browsers do. A domain written only in Chinese, Japanese or Korean characters, with no Latin letters mixed in, gets a note with its real name rather than a warning. These are rules of thumb. No warning does not mean a link is safe, so do not open a URL you were not expecting, and be wary of any page that asks for a password or card number.

Wi-Fi, contacts and other content

A QR code holds text, and text written in an agreed format tells a phone to join a Wi-Fi network, save a contact or start a message. The tool recognises the common formats and lays out their fields. A Wi-Fi code (starting WIFI:) shows the network name, the password and the security type. A contact (MECARD: or vCard) shows the name, phone numbers, email addresses and postal address. Email, phone, SMS and location (geo:) codes show the recipient or the coordinates. This is handy when you need to type a Wi-Fi password into a computer. A code for setting up two-factor authentication (otpauth:) contains a secret key, so the tool warns you not to share it. To make a Wi-Fi code, use the Wi-Fi tab of the QR Code Generator.

Text encodings, including Japanese Shift_JIS

Most QR codes hold UTF-8 text, but codes made by older systems in Japan often use Shift_JIS, and the QR standard has a kanji mode based on it. A code usually does not record which encoding was used, so the reader has to work it out. This tool first checks whether the bytes are valid UTF-8 and otherwise reads them as Shift_JIS, using the same table as Windows (CP932), so that characters Windows added, such as circled numbers, are read correctly. ZXing-C++ cannot decode those characters by itself and mistakes some such text for Western European text, so the tool re-reads the bytes with the browser's own Shift_JIS decoder. For text that is already garbled, the Character Encoding Converter can often recover the original.

QR Code Reader: FAQ

What if an image contains several QR codes?

All of them are read. A numbered box is drawn over each code and the contents are listed under the same numbers, so you can tell which is which. Numbering runs from the top row down and from left to right within a row.

Why can a code not be read?

Codes that are very small, blurred, partly cut off or washed out by glare may not be readable. Crop the image so the code fills more of it, or take the photo again straight on in better light. A code that is dirty or has too much of it covered by a logo can also fail.

Is it safe to scan a two-factor authentication QR code here?

Reading it here to check what it contains is fine, but the code holds a secret key. Anyone with the image could generate your one-time codes, so do not show or send it to anyone. To set up two-factor authentication, scan the code with your authenticator app.

Can it read a QR code inside a PDF?

Not from the PDF file itself. Convert the page to an image with PDF to Image and choose that, or open the PDF on screen and paste a screenshot.

Which kinds of codes are supported?

QR codes, Micro QR codes and rMQR codes. Barcodes such as EAN and UPC, and other two-dimensional codes such as Data Matrix, are not read.

Why will the camera not start?

Check that your browser allows this page to use the camera; most browsers have a site settings button at the left of the address bar. The camera also cannot start while another app is using it, or on a device without one. In that case, take a photo and choose it under "Read an image".

How to Use QR Code Reader

  1. Get an image of the code

    Take a screenshot or photo that shows the QR code. For a code on your computer screen, press Windows key + Shift + S, or Command + Control + Shift + 4 on a Mac, and select the area to copy it.

  2. Load it

    Paste the image on this page, drop it onto the box, or press "Choose an image". To use the camera instead, open "Use the camera" and press "Start the camera".

  3. Check the contents

    The decoded contents are shown, laid out by type. For a URL, read the warnings before you press "Open".

Category Utilities