How do you decode a QR code from an image?
A QR code is a grid of black and white squares: three large corner patterns delimit the data area, and the remaining modules encode the information bit by bit, backed by an error correction level that allows a damaged part to be rebuilt. The tool first locates those three patterns, then derives the orientation and size of the grid, corrects the perspective if the image was taken at an angle, and finally reads the modules one by one.
Decoding happens entirely in JavaScript, in your browser: the image is resized if needed, the pixels are analysed and the result is displayed before anything can leave the page. The table delivers the exact string, the recognized content type, its length, the symbol version, the image dimensions and the measured time, while the green outline marks the four detected corners.
What content types can a QR code hold?
The most common is still the web address, which the phone opens directly. Next comes the Wi-Fi network — the prefix WIFI: stores the name, the password and the encryption —, the contact card (BEGIN:VCARD or the compact format MECARD), the email, the phone number, the SMS, the calendar event and the geographic location. If no format is recognized, the tool displays the plain text: a QR is only a compact way of storing characters, it is not encrypted.
Why does decoding fail on some images?
The causes are almost always visual. The motion blur erases the outlines of the modules; a glare or uneven lighting hides an entire area; a low contrast — a grey QR on cream paper — makes it impossible to tell black from white; the quiet zone cut off deprives the reader of its four-module margin; finally, an image that is too small or enlarged afterwards no longer leaves enough pixels per module. On the content side, a very dense code generated at a low version can also exceed the intended capacity.
What should I do with a code I don't recognise?
First read the displayed string: if it starts with http, WIFI:, BEGIN:, tel: or geo:, the type tells you the nature of the data before anything is opened. An unknown or shortened link deserves checking elsewhere; here, nothing is executed: the tool simply returns the text stored in the code.
What the scanner does not do
It does not generate codes: to create one, head to the QR code generator. It does not read 1D barcodes — that is the job of the barcode generator to produce them, 1D formats having nothing to do with a QR grid. It creates no account, syncs nothing across your devices and uploads no image: the history lives in the browser's local storage and disappears with it.
Recommended for
Merchants and event organisers checking a poster or a ticket, marketing teams verifying the printed link of a campaign, people joining a hotel or café Wi-Fi network, online shops scanning a parcel or a label, curious passers-by decoding a code spotted in the street — and anyone who wants read a QR code quickly and without a trace, along with the QR code generator, the OCR text extractor, the character counter, the Base64 encoder decoder and the color picker.