How to scan a QR code online
- Press Scan with camera and allow the camera. On a phone the back camera is used; on a laptop, the webcam.
- Hold the QR code in front of the camera, inside the frame, about 10 to 30 centimeters (4 to 12 inches) away. The code is read as soon as it is in focus.
- Check what the code contains. Links show the website name, Wi-Fi codes show the network name and password, and contact, email, phone and text message codes show their details.
- Press Open to visit a link or start an email, call or text, or Copy to use the contents somewhere else.
To read a QR code that is already on your screen, take a screenshot and choose it under Scan an image, drag it onto the page, or paste it. Your last ten scans are listed under the scanner on this device so you can find them again.
Scan safely
A QR code is just a link or a piece of text you can’t read by eye, which makes it a favorite trick of scammers. Fake codes are stuck over real ones on parking meters and restaurant tables, and sent in emails and text messages that claim a parcel is waiting or an account needs checking. The US Federal Trade Commission warns that a code can take you to a look-alike website that asks for your password or card details, or that downloads harmful software.
- Read the website name before you open a link. This scanner shows it for every link and never opens one by itself.
- Be wary of codes on stickers, especially in public places where someone could cover the original.
- Don’t scan codes from unexpected messages. If a message says there is a problem with an account, go to the company’s website or app yourself.
- Never enter passwords or payment details on a page you reached from a code unless you are sure it is the real website.
What a QR code can contain
- Website links, the most common use: menus, tickets, product pages and sign-up forms.
- Wi-Fi details: the network name, password and security type, so guests can join without typing.
- Contact cards (vCard or MeCard) with a name, phone numbers, email and address.
- Email, phone and text message codes that start a message or call with the details filled in.
- Locations as map coordinates, and plain text such as a serial number, a code for a game or a short note.
Payment apps also use QR codes, but those codes are meant for the app that made them. Open your payment app and use its own scanner for those.
How QR codes work
QR stands for “quick response”. The code was invented in 1994 by Denso Wave, a Japanese company, to track car parts, and its specification is free to use. The three large squares in the corners tell a scanner where the code is and which way up it is, so it can be read from any angle. The smallest code is 21 by 21 squares, called modules, and the largest is 177 by 177; bigger codes hold more data, up to about 4,000 letters and digits.
QR codes include error correction, so a code can still be read when part of it is dirty, scratched or covered by a logo. There are four levels, which can restore roughly 7%, 15%, 25% or 30% of the code. To make your own code, use the QR code generator.
Scanning QR codes on a computer
Laptops and desktop computers don’t come with an obvious QR scanner, which is where this page helps. If someone shows you a code on their phone, hold it up to your webcam. If the code is on your own screen, for example in an email, a PDF, a sign-up page or a video call, a screenshot works best: press Windows logo key + Shift + S on Windows or Cmd + Ctrl + Shift + 4 on a Mac, select the code, and paste it here with Ctrl+V or Cmd+V. Both shortcuts copy the selection straight to the clipboard.
Many websites show a QR code to sign in to an app on your phone or to set up two-step verification. Those codes are meant to be scanned by that specific app, so use the app’s own scanner for them rather than a general scanner.
Making your own codes easy to scan
- Make it big enough. A common rule of thumb is that a code can be scanned from about ten times its width, so a code 3 centimeters (just over an inch) wide works from about 30 centimeters away, and a poster seen from 3 meters needs a code about 30 centimeters wide.
- Leave a margin. Keep a blank border around the code, ideally four modules wide, with no text or images touching it.
- Use strong contrast, such as black on white. Light colors on light backgrounds are hard for cameras to read.
- Test before printing: scan the final file with a few different phones and with this page.
If a code won’t scan
- Move closer or further away so the code fills about half of the frame, and hold still for a moment so the camera can focus.
- Add light and avoid glare. Tilt the code or the screen slightly if there is a reflection on it. On phones whose camera has a flashlight the browser can use (Chrome on Android), a Light on button appears while scanning.
- Try an image instead. Take a sharp photo, crop it around the code and scan the photo.
- Check the camera. If the picture is black or blurry, the camera test helps find the problem.
- Damaged or low-contrast codes, such as light gray on white, can be impossible to read; ask for the link instead.
Phones can usually scan QR codes with the built-in camera app too: on an iPhone, open Camera and point it at the code, and on Android, use the camera app or Google Lens. This page is most useful on a computer, for screenshots, or when you want to see a code’s contents before opening it. Scanning on browsers without a built-in reader uses jsQR, an open-source library under the Apache License 2.0.
Frequently asked questions
Can I scan a QR code from a screenshot or a photo?
Yes. Choose the image, drag it onto the page, or copy it and press Ctrl+V (Cmd+V on a Mac). This is the easiest way to read a QR code that is on your own screen, such as in an email or a PDF.
Does this scanner open links automatically?
No. It shows you the full link and the website name first, and only opens it when you press the button. That gives you a chance to spot a fake or unexpected website before you visit it.
Are my camera pictures or images uploaded?
No. The camera picture and any image you choose are read in your browser on this device. Nothing is sent to this website, and the camera turns off when you press Stop or leave the page.
How do I connect to Wi-Fi from a QR code?
Scan the code and the page shows the network name and password. On a computer, choose that network in your Wi-Fi settings and type or paste the password. Most phones can also join directly by scanning the code with the built-in camera app.
Can it read barcodes on products?
This scanner reads QR codes only. Product barcodes (UPC and EAN), and other 2D codes such as Data Matrix and Aztec, use different formats.