Clean, zero-dependency client-side circular barcode decoding in pure JavaScript.
Browser Security Notice: Camera Disabled on Insecure HTTP
You are accessing this page over unencrypted HTTP (http://...). Modern browsers (Chrome, Safari, iOS, Android) strictly block camera access (navigator.mediaDevices) unless loaded over HTTPS or localhost. To test the camera on your phone: run npx localtunnel --port 5500 in terminal to get a free HTTPS link, or test on http://localhost:5500 on your computer.
Looking for Production Mobile Camera Scanning?
Try the Rust WebAssembly scanner and compare decode times on this device.
Point camera directly at a circular barcode or upload an image
Scanning Tips:
• Hold camera 15–30 cm from code, aligned with the reticle.
• In low light, toggle Torch for enhanced contrast.
• For smaller or distant codes, tap Zoom 2x.
• Supports arbitrary 360° camera orientation and mirrored front cameras.
Aggressive 2–3 bit correction
(recovers worse images, slightly less certain)