QR Code Generator
Create custom QR codes for Links, WiFi, Emails, and more.
Examples
Encode a website URL
Type: URL
Value: https://devtools.toolshttps://devtools.toolsURL and plain-text payloads are passed directly to the QR canvas without a wrapper.
Create an email QR payload
Type: Email
Email: dev@example.com
Subject: Build ready
Message: See staging & logsmailto:dev@example.com?subject=Build%20ready&body=See%20staging%20%26%20logsThe subject and body are URI-encoded while the email address remains in the mailto payload.
Create a WPA WiFi QR payload
Type: WiFi
SSID: Studio WiFi
Encryption: WPA
Password: s3cretWIFI:S:Studio WiFi;T:WPA;P:s3cret;;The generator uses the standard compact WiFi payload shape with WPA encryption and a terminating double semicolon.
About this tool
This generator turns a URL, text, WiFi network, email address, phone number or SMS message into a scannable QR code that updates in the preview as you type. Pick the type that matches what a scanner should do — open a page, join a network, start an email or dial a number.
Composite types follow the standard QR field formats: a WiFi code stores the network name, password and encryption mode (WPA/WPA2, WEP or open), so guests join without typing credentials; email codes pre-fill recipient, subject and body; SMS codes pre-fill number and message. Every code uses high (H) error correction, so it stays readable even if part of the pattern is smudged or covered.
You control the look: foreground and background colors — keep the contrast strong, since pale modules on a busy background scan poorly — a size between 128 and 1024 pixels, and an optional label of up to 40 characters drawn into the downloaded PNG. These are static codes: the data lives in the pattern, no redirect service can switch them off, and nothing tracks who scans them.
How to use this tool
Choose a content type
Select URL, Text, Email, WiFi, Phone or SMS.
Enter the data
Type the link, message or network details for that type.
Style the code
Set colors, pick a size between 128 and 1024 pixels, and add an optional label.
Download the PNG
Save the code, label included, with the Download PNG button.
Use cases
Sharing a staging or documentation URL
Generate a URL QR code for a sign, slide, printed runbook or conference handout so a phone can open the page without typing it.
Posting guest WiFi details
Use the WiFi form to turn a network name, encryption type and password into a scanable onboarding code.
Creating a contact action
Use the email, phone or SMS tabs to place a ready-to-start communication action on a device or printed card.
Adding labeled codes to physical materials
Choose colors and add a short label such as Guest WiFi or Scan for docs, then download the composed PNG for a poster or label.
Common mistakes
Mistake:Putting secrets or long-lived credentials into a QR code without considering who can scan it.
Fix:Treat the QR image as public once it is printed or shared. Use short-lived links or a controlled onboarding flow instead of embedding sensitive material.
Mistake:Expecting punctuation in a WiFi SSID or password to be escaped.
Fix:The component writes SSID and password directly into the WIFI:S:...;T:...;P:...;; payload. Test delimiter characters with your target scanner or use values that do not contain the payload separators.
Mistake:Assuming the Size field changes the current preview dimensions.
Fix:The current component keeps QRCodeCanvas at 200px even though the form exposes a size input, so verify the downloaded image and preview behavior before relying on that control.
Mistake:Adding a label longer than the image can comfortably display.
Fix:Keep the label under the component's 40-character limit and use a short instruction or identifier; the downloaded PNG adds extra height for the label.
Frequently asked questions
Do these QR codes expire?
No. Each code is static — the URL, text or network details sit directly in the pattern. There is no redirect link that could be switched off, so a code works for as long as a scanner can read it.
How do I make a QR code for WiFi?
Open the WiFi tab, enter the network name (SSID) and password, then choose the encryption your router uses: WPA/WPA2, WEP, or no password for an open network. Scanning the generated code offers to join that network on most phones.
What size should a printed QR code be?
A common rule of thumb is at least 2 × 2 cm (about 0.8 in) for close-range scans, and roughly a tenth of the scanning distance for posters. Keep the blank margin around the pattern clear, with dark modules on a light background.
Can I scan a QR code from an image?
Yes. Most phone cameras read codes from a photo on the screen or in the gallery. To decode a saved image file on a computer, use the QR code reader tool on this site.
Related guides
References & standards
Related tools
QR Code Reader
Decode QR codes from camera or image file using BarcodeDetector when supported
Barcode Generator
Generate barcodes in 8 formats (CODE128, EAN13, UPC, and more) — configure line width, height, and text display, then download as SVG or PNG.
Hyperlink Generator
Build HTML <a> tags visually — href, target, rel, accessibility and class attributes