How to use
- Drop a screenshot or photo onto the box, paste one with Ctrl+V, or choose a file. To use a camera, press Scan with camera and allow access.
- The content appears at once, with its type: web link, Wi-Fi, email, phone number, text message, location, contact card or plain text.
- Copy the text. For a web link, read the address first and then press Open link. For a Wi-Fi code, the network name and password are shown.
Examples
A QR code for https://multikit.pages.dev/
→ Web link: https://multikit.pages.dev/
A QR code for WIFI:T:WPA;S:Cafe;P:pass word;;
→ Wi-Fi network: name Cafe, password "pass word", security WPAThis is the format phones use to join a Wi-Fi network by scanning.
A QR code for Hello, world
→ Text: Hello, world
How it works
The picture is drawn onto a canvas to get its pixels, and the open-source jsQR library finds the three square markers of a QR code, straightens the code, reads its modules and decodes the text, including its error correction. Large pictures are first reduced to a readable size, and read again at full size if that fails. Light codes on a dark background are tried as well.
What the text is gets worked out from its start: https:// for a link, WIFI: for a network (with the backslash escapes the format uses), mailto:, tel:, sms:, geo: and BEGIN:VCARD for the others.
The tool is tested by making codes with the qrcode library, including long text, Korean text, several sizes, every error-correction level and inverted colors, and reading them back. Reading a real photo depends on its sharpness, so results with photos vary.
Sources
- jsQR, the open-source library that reads the code
- ISO/IEC 18004: QR Code (Denso Wave)
- MDN: MediaDevices.getUserMedia()
Frequently asked questions
- Is my picture uploaded?
- No. The picture is read in your browser. The camera image is also processed in your browser and is not recorded or sent anywhere.
- Why show the content before opening a link?
- A QR code can hold any address, including a fake page that imitates a bank or a delivery service. Reading the address first lets you check the domain before you visit it. Only http and https addresses get an Open link button.
- The code is not found. What can I do?
- Use a sharper picture where the whole code is visible with a little empty space around it, and avoid glare and strong angles. Both dark-on-light and light-on-dark codes are supported. Very damaged codes may not be readable.
- Can it read barcodes?
- No. This tool reads QR codes only, not the barcodes on products.
- Why does the camera not start?
- The page needs permission to use the camera, and browsers only allow it on secure (https) pages. If you denied it, allow the camera in the site settings of your browser and try again.
- How do I make a QR code instead?
- Use the QR generator, which makes codes for links, text and Wi-Fi.
Related tools
Version history
- 1.0.1 — Makes the search title and description state the supported task, key formats and privacy benefit more clearly.
- 1.0.0 — First release.