The QR Code Generator creates a QR payload from text, a URL, Wi-Fi credentials, an email address, a phone number, an SMS message, or contact details. Choose an output size, error-correction level, and valid six-digit colours before downloading the generated image.
Supported payloads
- Text: Stores the entered text exactly as the payload.
- Wi-Fi: Builds a
WIFI:payload with escaped SSID and password fields. - Email: Builds a
mailto:link with optional subject and body. - Phone: Builds a
tel:link after removing whitespace. - SMS: Builds an
SMSTO:payload with the destination number and message. - vCard: Builds a version 3.0 contact payload from name, phone, email, organization, and website.
Error correction and size
Error correction is passed to the QR renderer so a code can remain readable after some damage or occlusion. Larger output sizes improve print flexibility but do not increase the payload capacity. The component supports 200, 300, 400, and 600 pixel sizes.
Questions
Does the generator send my content to a server?
The payload is assembled in the browser by the calculator module. The page does not require a remote QR-generation API.
Why must colours be six-digit hex values?
The module validates foreground and background colours against #RRGGBB format so the renderer receives predictable values.
What makes a QR code difficult to scan?
Low contrast, excessive density, tiny print size, glare, and insufficient quiet space can reduce scan reliability. Test the exported image with the devices and lighting where it will be used.
Limitations
The generator validates payload fields and formatting but does not verify that a URL resolves, an email address exists, Wi-Fi credentials work, or contact details are correct. Never encode secrets you do not want visible to anyone who scans the code.