QR Code Generator
Create QR codes for text, URLs, WiFi, vCard, and more
Your data never leaves your browser
Input
Preview
QR code will appear here
Create QR codes for text, URLs, WiFi, vCard, and more
Your data never leaves your browser
QR code will appear here
The QR Code Generator turns a link, a message, WiFi credentials, or a contact card into a scannable square in seconds, with control over size, color, and error correction. Everything is rendered locally in the browser — no account, no watermark, and no dependency on a third-party shortener that could break later. It suits anyone who needs a code for print or screen: marketers shipping campaign links, cafés sharing guest WiFi, event organizers printing badges, and developers encoding a payload for test devices.
https://. For WiFi, fill in the network name, password, and security type.Example 1 — guest WiFi for a café. The owner enters the SSID CafeGuest and the network password, chooses encryption type WPA, and sets error correction to Q. Guests scan the printed code and their phone offers to join the network — no spelling out a password at the counter. The higher error level keeps the code readable after a few months of fingerprints and steam.
Example 2 — a business card vCard. A freelancer fills the contact form with name, company, email, phone, and website. The generator emits a vCard QR code; scanning it offers to add the contact directly, avoiding the usual manual typing of an email address. Because the vCard format itself is a text standard, the code stays compatible with iOS and Android contact apps.
Example 3 — a campaign link. A marketer pastes https://example.com/spring-sale?utm_source=poster&utm_medium=print, sets size to 800 px and error correction to H for a poster, and downloads the SVG. Before printing, they test-scan the on-screen version with two phones to confirm the longer URL still resolves quickly.
A QR code stores data in a two-dimensional grid of black and white modules. The three large squares in the corners are finder patterns that let a camera lock on and orient the code even when the phone is tilted; a smaller alignment pattern near the bottom-right helps with higher-density codes.
The data itself is placed in a version-dependent grid, and the size of that grid grows with the amount of content: a short URL might need a 21×21 grid (version 1), while a long vCard needs a much larger one. Encoding applies a mask pattern chosen to avoid large same-color blocks that confuse scanners. Finally, Reed–Solomon error correction adds redundant codewords, which is why a code still decodes after being printed over, torn, or partially obscured.
The generator handles all of this automatically; the practical choices you make are content, size, contrast, and error level.
Level M (about 15% recovery) is the right default for almost everything. Raise it to Q or H when the code will be printed on something that can get scuffed, folded, or partially covered — a menu, a package label, or a poster where a logo sits in the middle. Lower levels produce less dense codes that scan faster from a screen.
The three usual causes are insufficient contrast, a code that is too small for the distance, and inverted colors (light modules on a dark background). Keep dark modules on a light background, print at least 2 cm across for close scanning, and test with two different phones before committing to a print run.
A version-40 code holds up to 7,089 numeric characters, 4,296 alphanumeric characters, or 2,953 bytes of binary data. In practice, shorter content scans faster and survives more damage. If you need to encode a long URL, shorten it first or split the content across multiple codes.
It contains the network name and password in plain text, so anyone who photographs it can join that network. Share it with guests, attendees, or office visitors, and never post a guest-network code next to a code for an internal network. Rotate the guest password periodically if the code is displayed in public.
No. The code encodes the content directly, so it works forever and needs no server or subscription. That also means the destination cannot be changed later — if the link may move, point the code at a short URL you control and redirect that instead.
Choose SVG for anything printed or scaled: it is a vector format that stays sharp at any size, from a business card to a billboard. Choose PNG when you need a fixed-size image for a screen, a slide, or a website where bitmap output is easier to place.
Reviewed by the HandyTools Hub team · Last updated