A minimal, futuristic QR code tool — scan, read, and create QR codes entirely in the browser. No backend, no installs, no tracking.
Last updated: 15 Apr 2025 · v1.2
Author: @arookiecoder-ip
- Live camera feed using
getUserMedia(works on mobile and desktop) - Auto-detects the rear camera on mobile devices
- Frame-by-frame decode loop via
requestAnimationFrame— low latency, no polling - Decoded URLs are auto-linked and openable in one tap
- Drag-and-drop or tap-to-browse image upload
- Decodes QR codes from PNG, JPG, GIF, WebP
- Multi-scale decode (tries 1×, 2×, 0.5×) — handles screenshots, tiny QR codes, and large photos
- Shows a preview of the uploaded image alongside the result
- Content types: plain text, URL, email address, phone number, Wi-Fi credentials
- Size: 128 – 512 px (slider)
- Error correction: L / M / Q / H
- Custom colors: separate foreground and background color pickers
- Export: PNG download, SVG download, or copy image to clipboard
Just open index.html in any modern browser. No build step, no dependencies to install.
open index.html
For camera scanning, the browser will ask for camera permission. On mobile, it defaults to the rear (environment-facing) camera.
Note: Camera access requires a secure context (
https://orlocalhost). If you're serving over plainhttp://on a remote host, the camera tab will show a permission error — use HTTPS or serve locally.
| Purpose | Library |
|---|---|
| QR scanning / reading | @zxing/library 0.18.6 |
| QR code generation | qrcodejs 1.0.0 |
| Styling | Vanilla CSS (no framework) |
| Logic | Vanilla JS (no framework) |
Everything runs client-side. No data leaves your device.
| Browser | Scanner | Reader | Creator |
|---|---|---|---|
| Chrome / Edge 90+ | ✓ | ✓ | ✓ |
| Firefox 90+ | ✓ | ✓ | ✓ |
| Safari 15+ (iOS/macOS) | ✓ | ✓ | ✓ |
| Samsung Internet | ✓ | ✓ | ✓ |
- Fixed camera scanner: replaced broken
listVideoInputDeviceswith directgetUserMedia+ RAF decode loop - Fixed image reader: decode now uses canvas pixel data instead of
decodeFromImageUrl(resolves blob URL failures on mobile) - Multi-scale decode for reader (handles screenshots and unusual image sizes)
- Mobile-optimized layout (responsive padding, full-width scanner, tighter tabs)
- Switched from blue/cyan theme to warm amber/charcoal
- Added Wi-Fi QR code generation
- SVG export for created QR codes
- Copy image to clipboard
- Initial release: scanner, reader, creator
MIT — do whatever you want with it.