QR Code Scanner
Scan QR codes using your camera or upload an image. Fast & private.
Click to browse or drag & drop QR image
Supports PNG, JPG, WEBP, SVG • Or paste with Ctrl+V
Click "Start Camera" and point at any QR code
⚠️ Camera access error. Please grant camera permission in your browser settings.
No QR code scanned yet.
Upload an image or start camera to decode.
How Online QR Code Scanning Works Client-Side
Quick Response (QR) codes are two-dimensional matrix barcodes containing encoded binary data arranged in dark modules across a contrasting grid. When you scan a QR code using Toolblaze, the entire recognition, perspective de-skewing, and Reed-Solomon algebraic decoding pipeline executes 100% locally in your browser's JavaScript engine. No image bytes, payment tokens, or URL parameters are ever transmitted to any remote server.
The Four Mathematical Phases of QR Code Detection
- Finder Pattern Localization: The scanner inspects horizontal and vertical scan lines across pixel rows to identify the characteristic
1:1:3:1:1ratio of nested concentric squares in three corners of the matrix. - Perspective Correction & Alignment: Using homography transformation matrices, the algorithm corrects for lens tilt, keystoning, and geometric distortion to normalize the image onto an orthogonal sampling grid.
- Format and Version Extraction: The software reads format timing strips and error correction flags to determine whether the payload uses Reed-Solomon Level L (7%), Level M (15%), Level Q (25%), or Level H (30%).
- Payload Deserialization: Bit streams are de-masked, error-checked, and parsed into strings, Wi-Fi credentials (WPA/WPA2), or UPI payments.
Troubleshooting Unreadable or Damaged QR Codes
- Sufficient Resolution: QR codes require at least 4 pixels per module (block). Images below 200x200 pixels may produce finder pattern detection failures.
- Preserve the Quiet Zone: Cropping off the outer white border margin prevents detection algorithms from isolating the corner markers from background clutter.
- Ensure High Contrast: A dark foreground module over a pure white or light grey canvas provides maximum scannability. Avoid inverted color schemes.
- Lighting & Glare: When scanning laminated badges or glossy phone screens with your camera, tilt slightly to eliminate direct specular reflections.