Make a QR code for a link, Wi-Fi, contact, email or SMS
Type what the code should hold, choose error correction, size and colours, and download it as PNG or SVG.
Error correction (share of the code that can be damaged and still read)
Waiting for input. The code is made on this device as you type.
Runs in your browser. The file is not uploaded, there is no account, and closing the tab discards it.
What this QR code generator does
A QR code is a square pattern that a phone camera reads in a moment. This tool turns what you type into such a code: a web address, any text, the details for joining a Wi-Fi network, a contact card, a prepared email or a prepared text message. You see the code update as you type, and you download it as a PNG image or an SVG vector file.
The codes are static: everything is inside the pattern itself. There is no short link in between that could stop working, no counter of who scanned it, and no account.
How to make a QR code, step by step
- Pick the type. Link, Text, Wi-Fi, Contact, Email or SMS.
- Fill in the fields. The code appears on the right (below on a phone) and changes with every letter.
- Choose error correction. M is a good default; see below for when to change it.
- Choose size and colours. The PNG size sets the pixel width of the image; the SVG scales freely.
- Test it. Point your phone camera at the code on screen before you print or send it.
- Download. Press Download PNG or Download SVG. On iPhone and iPad, Save or share PNG opens the share sheet, where Save Image puts the code in Photos.
To check what exactly went into the code, open Text inside the code under the buttons. It shows the raw text a scanner reads.
The six types and what a phone does with them
Link
A web address opens in the browser after scanning. If you type example.com without https://, the tool adds it, so that the scanning phone treats the text as a web link.
Text
Plain text is shown on screen; the reader can copy it. Good for a short note, a code word or a serial number.
Wi-Fi
Guests scan the code and their phone offers to join the network, without anyone reading out a long password. The tool writes the common WIFI: format described in the ZXing project's barcode contents guide, for example WIFI:T:WPA;S:Home Net;P:secret;;. T is the security type (WPA, WEP or nopass for an open network), S the network name, P the password and H:true marks a hidden network. Backslash, semicolon, comma, colon and double quote in the name or password must be escaped with a backslash, otherwise a scanner would cut the password at the first semicolon. The tool does that for you, so a password such as a;b:c is written as a\;b\:c inside the code and arrives as typed.
Contact
A contact code holds a vCard, the address-book format that phones import with one tap: name, phone, email, company, job title and website. The tool writes vCard version 3.0 as defined in RFC 2426, with commas, semicolons and backslashes in the text escaped as that standard requires, so a company name such as "Smith, Jones & Co" stays in one piece. Leave out fields you do not need; every field makes the code denser.
An email code is a mailto: link (the format of RFC 6068) with the address and, if you like, a subject and a message. Scanning opens a new email in the mail app with those filled in; the person still presses send. Spaces and line breaks are encoded the way the standard asks, so they arrive intact.
SMS
An SMS code opens a new text message to the number with your message filled in. The tool uses the widely read SMSTO:number:message form. Type the number in international format with + and the country code when people from other countries will scan it; spaces and dashes are removed from the number automatically.
Error correction: L, M, Q or H
QR codes contain spare data that lets a scanner read them even when part of the code is damaged or hidden. The level sets how much: about 7% of the code can be restored at L, 15% at M, 25% at Q and 30% at H. Denso Wave, the inventor of the QR code, notes that M is the level most often chosen, that Q or H suits dirty environments such as factories, and that L suits clean conditions with a lot of data. A higher level makes the code larger: more modules for the same content, which means smaller squares at the same printed size. The status line under the code shows the version (1 is the smallest, 40 the largest) and the number of modules, so you can see the effect of each choice.
Size, colours and printing
- PNG size: 256, 512, 1,024 or 2,048 pixels. The tool keeps every module a whole number of pixels so the edges stay sharp, so the final image can be a few pixels smaller than the choice; the exact size is shown.
- SVG: a vector file that stays sharp at any size; best for print shops and large signs.
- Quiet zone: a light border four modules wide is part of both files. Do not crop it; scanners need it to find the code.
- Colours: dark on light, with strong contrast. A light code on a dark background is not read by many scanners, and the tool says so.
- Printed size: give the code room. A code with many modules needs to be printed larger than a short link, and anything read from a distance needs to be larger still. Test the printed copy with more than one phone.
Static codes versus "dynamic" codes
Many QR services make "dynamic" codes: the pattern holds a short link to their server, which forwards to your address and counts scans. That lets them change the target later, but the code stops working if the service closes or the subscription ends, and every scan passes through their server. The codes made here hold the content directly. They cannot be edited after printing, but they also cannot expire, and nobody in between learns who scanned them.
Private: runs in your browser, nothing is uploaded
The code is calculated in your browser tab with the same open-source QR library this site uses for its own codes. What you type, including a Wi-Fi password, a phone number or an email address, is not sent to a server, not stored and not logged, and there is no account or third-party script. The files are made in the tab's memory and released when you change the code or close the page.
Share a Wi-Fi code with care: anyone who can photograph it can join the network. For visitors, a separate guest network is the better thing to put on the wall.
Keeping private photos in Stash
QR codes are for sharing things openly; some photos and files are better kept to yourself. Stash is a vault for photos, videos, files and notes on iPhone and iPad that opens as a working calculator; typing your PIN and pressing = opens the vault. Every item is encrypted on the device with AES-256, there is no account, and the files sit inside the app rather than in the Photos library, so iCloud Photos does not upload them. Stash runs on iOS 15 or later and is free to download. For photos you do share, the photo metadata remover and the face blur tool on this site help keep locations and faces out of them.
FAQ
Do these QR codes expire?
No. The link, text or Wi-Fi details are stored in the code itself, not on a server, so the code works as long as the printed or saved image exists. There is no tracking link in between, and nothing to renew.
Is what I type sent anywhere?
No. The code is calculated in the open browser tab as you type, and the PNG and SVG files are made in memory. That matters for a Wi-Fi password or a phone number: neither leaves your device.
How do I make a QR code for my Wi-Fi?
Choose Wi-Fi, type the network name exactly as it appears in the Wi-Fi list (capital letters count), pick the security type, type the password and tick Hidden network if the name is not broadcast. Phones that understand the format offer to join when they scan it.
Which error-correction level should I choose?
M (15%) suits most uses and is the most common choice. Choose Q or H for codes that may get scratched, dirty or partly covered, such as stickers outdoors; choose L for long text on a clean screen or page, because higher levels make the code denser.
PNG or SVG?
PNG for messages, documents and websites; pick 1,024 or 2,048 pixels for print. SVG is a vector file that stays sharp at any size, which suits posters, signs and print shops.
Can I use colours?
Yes, but keep a dark code on a light background with strong contrast. The tool warns when the contrast is below 4:1 or when the code is lighter than its background, because many scanners only read dark-on-light codes.
How much text fits in one QR code?
Up to about 2,900 plain characters at level L, fewer at higher levels and with accented letters or emoji. Long codes have tiny modules and are hard to scan, so shorter is better.
Can I add a logo in the middle?
Not in this tool. A logo covers modules and relies on error correction to make up for them. If you add one afterwards, use level H, keep the logo small and test the code with several phones.