Developer GUIDE

QR Generation and Safe Scanning Guide

Create QR payloads, export PNG or SVG, and inspect image or camera scans before opening destinations.

Updated About 2 min read
Open QR Code Generator & Scanner

Generate and inspect QR codes locally

The QR Code Generator & Scanner creates QR images and reads codes from local raster images or an explicitly started camera. Use it for sharing a web link, preparing network credentials, or checking the contents of an unfamiliar code. Content stays in your browser; no backend receives your QR payload or camera frames.

Choose the payload

Select URL, plain text, Wi-Fi credentials, email, phone number, SMS, or contact/vCard. URL generation accepts absolute HTTP and HTTPS destinations without embedded credentials. Text mode encodes literal text, including Unicode, without trying to execute it. Email and SMS modes encode their message fields for compatible receiving applications. Contact mode produces a basic vCard 3.0 name, phone, and email record.

Wi-Fi mode requires an SSID, security type, and password for secured networks, with a hidden-network option. Special characters are escaped for the Wi-Fi payload format. An open network omits the password. WPA-family compatibility varies across receiving devices, especially enterprise and WPA3-only configurations. The QR image and copied payload contain credentials, even when the encoded text is concealed on screen. Share them only with intended recipients.

Export a readable code

Choose a size from 128 through 2,048 pixels, an error-correction level, and a margin from four through sixteen modules. The black foreground and white background maintain contrast. Higher correction can tolerate damage but creates denser codes; it does not guarantee that a photograph or damaged print will scan. Shorten long content or increase image size when needed.

For example, encode https://cyberclutch.tech, generate the preview, and download PNG for a document or SVG for scalable artwork. The SVG contains module geometry generated by the encoder; user text is never inserted as HTML. Payloads are capped at 2,000 UTF-8 bytes. Check the exported code at its intended display or print size before distribution.

Scan before opening

Switch to Scan and choose a JPEG, PNG, or WebP within 20 MB, 24 megapixels, and 12,000 pixels per side. SVG uploads are rejected. The browser's native QR detector is preferred when available; a local worker provides a fallback. Image clarity, cropping, quiet margins, and module size affect detection. Fallback processing uses frames up to 1,600 pixels per side.

Camera permission is requested only after Start camera scan. The stream stops after detection, cancellation, mode changes, page hiding, timeout, or leaving the tool. Camera scanning requires HTTPS and a compatible device. Image scanning remains available without a camera. No recording is made.

Decoded content appears as untrusted text. No destination opens automatically, and the explicit open control accepts only HTTP or HTTPS URLs. JavaScript, data, file, and custom schemes cannot be launched here. Wi-Fi results require reveal before displaying or copying credentials. Use Encoder & Decoder, Media Compressor, or Media Metadata Inspector for related local workflows.

Ready to try it?

QR Code Generator & Scanner

Create QR payloads, export PNG or SVG, and inspect image or camera scans before opening destinations.

Open QR Code Generator & Scanner

Related tools

Related resources