• Open Online Tools - 100% Free Web Utilities
  • Client-side Private & Secure
Home Tools Utility Tools QR Code Reader

QR Code Reader

Scan and decode QR codes online from image files.

Advertisement
Upload QR Code Image
Decoded QR Code Content

Online QR Code Reader

Easily decode QR codes from pictures, screenshots, and downloaded images. Works 100% on your device with no data sent to any remote server.

function readQR(e){const file=e.target.files[0];if(!file)return;const img=new Image();img.onload=()=>{const canvas=document.getElementById('qrCanvas');canvas.width=img.width;canvas.height=img.height;canvas.style.display='block';const ctx=canvas.getContext('2d');ctx.drawImage(img,0,0);const imgData=ctx.getImageData(0,0,img.width,img.height);if(typeof jsQR!=='undefined'){const code=jsQR(imgData.data,imgData.width,imgData.height);if(code){document.getElementById('outputText').value=code.data;return;}}document.getElementById('outputText').value='Could not detect QR code in this image. Please ensure the QR code is clear and well-lit.';};img.src=URL.createObjectURL(file);}function copyResult(){const t=document.getElementById('outputText').value;if(!t)return;navigator.clipboard.writeText(t).then(()=>{document.getElementById('copyBtnText').textContent='Copied!';setTimeout(()=>document.getElementById('copyBtnText').textContent='Copy',2000);});}