Content
Appearance
Good balance for most uses
Preview
Enter content to generate your QR code
How it works
- 1
Choose a content type
Pick URL, text, email, phone, or WiFi and fill in the details — the QR code updates live as you type.
- 2
Customise the style
Set foreground and background colours, choose an output size, adjust error correction, and set the quiet zone margin.
- 3
Download or copy
Download your QR code as a PNG or scalable SVG, or copy it directly to the clipboard — no sign-up, no watermark.
Why use this QR code generator?
100% private
All QR codes are generated locally in your browser using the open-source qrcode library. Nothing is sent to any server.
Instant, no sign-up
Start generating immediately — no account, no email, no subscription. The QR code appears as you type.
Fully customisable
Set any foreground and background colour, choose from four output sizes, and configure error correction and quiet zone.
PNG and SVG export
Download a high-resolution PNG for screen use or a vector SVG for perfect quality at any print size.
Five content types
URL, plain text, email (with subject), phone number, and WiFi credentials — each with a dedicated input form.
Static, no-expiry codes
Codes encode data directly — no redirect URL, no tracking, no expiry. They work forever, even offline.
When would you use a QR code?
QR codes bridge print and digital — here are the most common scenarios where they save time.
Link documents from print
Put a QR code on a contract, brochure, or business card that points to a live URL — letting recipients jump straight to the digital version from printed material.
Share WiFi without typing
Generate a WiFi QR code for your home or office. Guests scan it to connect instantly — no password to read out or mistype.
Pre-fill a contact email
Create a QR code with your email address and a pre-filled subject line. Put it on a flyer and one scan opens a ready-to-send email.
Product labels and packaging
Add a QR code to product packaging that links to setup guides, warranty registration pages, or video tutorials.
Event signage and tickets
Link event posters to registration pages or schedules. QR codes on digital or printed tickets speed up venue check-in.
Digital business cards
Encode your vCard URL or LinkedIn profile in a QR code so new contacts can save your details with a single scan.
How QR codes work under the hood
No servers, no uploads — here is exactly what happens when you generate a QR code in your browser.
- 01
Your input is encoded as data
The qrcode library converts your text, URL, or structured data (WiFi, mailto) into a binary string according to the QR Code specification (ISO/IEC 18004). The encoding mode — numeric, alphanumeric, byte, or kanji — is chosen automatically to minimise code size.
- 02
Error correction codewords are added
Reed-Solomon error correction codewords are appended to the data. At level H, up to 30% of the code can be damaged or obscured and a scanner can still recover the original data — useful for codes with logos.
- 03
The QR matrix is built
The data is arranged into a square grid of dark and light modules. Finder patterns (the three corner squares), timing patterns, and alignment patterns are added so any scanner can detect orientation and distortion.
- 04
The image is rendered
The qrcode library draws the matrix onto an HTML canvas element at your chosen size and with your chosen colours. The canvas is serialised to a PNG data URL entirely in memory — no network request is made.
- 05
You download the file
For PNG, the data URL is used directly as a download link. For SVG, the library emits an XML string which is wrapped in a Blob — both downloaded using a temporary anchor element, the same technique used by every tool on this site.
Best practices for your QR code
A few simple choices make the difference between a QR code that always scans and one that frustrates users.
- 01
Keep the encoded URL as short as possible
Longer content requires more modules, making the code denser and harder to scan at small print sizes. Use a short domain or path where possible. If the URL is unavoidably long, increase the print size and use a higher error-correction level.
- 02
Ensure sufficient colour contrast
Scanners read QR codes by detecting the contrast between dark and light modules. A dark foreground on a light background is always the safest choice. Avoid low-contrast combinations like dark blue on black — even if it looks fine on screen, it can fail under poor lighting.
- 03
Leave a quiet zone around the code
The quiet zone is the white border surrounding the QR code. Most scanners need at least four module widths of clear space on all sides to reliably locate the code. Keep the margin at 2 or higher and never crop the code right to its edge.
- 04
Test before printing
Always scan the QR code with at least two different devices and apps before printing at scale. What works in a browser preview should also work in bright sunlight, on a glossy surface, or at an angle.
- 05
Use SVG for print, PNG for digital
SVG is a vector format that scales to any size without blurring — ideal for business cards, posters, and packaging. PNG is fine for web pages, emails, and screen use where the display size is fixed and known.