# Encoders

QR Code Generator & Scanner

Generate QR codes from any text or URL, and scan QR codes from images or your webcam.

Generate QR Scan image / webcam Error correction Private

How the QR Code Generator & Scanner Works

The ByteKiln QR Code tool uses qrcode.js for generation and jsQR for decoding — both libraries run entirely in your browser with no server involvement.

QR code generation

Encodes your text using the QR code standard (ISO/IEC 18004), applies the selected error correction level, and renders the result to a PNG data URL displayed as an image. Download the PNG for use anywhere.

Image scanning

Upload any image containing a QR code. The tool draws it to an off-screen canvas, reads the pixel data, and passes it to jsQR, which locates the finder patterns and decodes the payload.

Camera scanning

Requests webcam access via the browser MediaDevices API, draws each frame to a canvas, and runs jsQR on the frame data. When a QR code is detected, the camera stops and the decoded text is displayed.

FAQ

Short answers for the things developers usually ask before trusting a tool.

What can a QR code store?

QR codes can store URLs, plain text, email addresses, phone numbers, Wi-Fi credentials (SSID/password), vCards (contact info), geo coordinates, SMS messages, and calendar events. The maximum capacity depends on the error correction level and content type — a URL of up to ~4000 characters fits comfortably at medium error correction.

What is error correction in QR codes?

Error correction allows a QR code to be read even if part of it is damaged, obscured, or dirty. Level L recovers from 7% damage, M from 15%, Q from 25%, and H from 30%. Higher correction produces a denser, more complex QR code — use H for QR codes that will be printed on physical objects, and L or M for digital screens.

Is my QR code data uploaded anywhere?

No. QR code generation uses the qrcode.js library running entirely in your browser. The scanning uses jsQR, also browser-side. No image or text data is transmitted to any server.

Why can't the scanner read my QR code?

Common issues: the image is blurry or low resolution, the QR code is partially obscured, the lighting is uneven, or the code was generated with a custom design that the scanner can't parse. Try uploading a clearer image, or crop the QR code tightly before uploading.

How do I scan a QR code from my screen?

Take a screenshot of the QR code and save it as an image file, then upload it in the Scan tab. Alternatively, on mobile you can use the camera to scan a QR code displayed on another screen.

Related tools

Useful follow-ups when one conversion usually turns into three more.