A QR code generator turns a web address, text, Wi-Fi details or contact card into a square code that phone cameras can read. Choose what the code is for, fill in the details, and the code appears as you type. Download it as a PNG for screens or an SVG for print, and scan it with your phone before you share it.
How to use the QR code generator
- Choose the type. Website opens a link, Text shows a message, Wi-Fi joins a network, and Business card saves a contact.
- Fill in the details. For a website, you can leave out https:// and it is added for you.
- Adjust the look. Pick the image size, the error correction level and the colours.
- Download and test. Save the PNG or SVG, then scan it with your phone camera to make sure it works.
QR code for a business card
Choose Business card and enter your name, phone, email, company and website. The code holds a vCard, the standard contact format phones understand, so scanning it offers to save you as a new contact. Print it on the back of a business card, a name badge or an email signature, and people can save your details without typing them.
Wi-Fi QR codes
A Wi-Fi code holds the network name, password and security type in the format phones recognise, for example WIFI:T:WPA;S:mynetwork;P:mypass;;. Guests scan it and join without typing the password. Choose None for an open network. Special characters such as semicolons in a password are escaped for you, so they don't break the code.
Which error correction level should I choose?
QR codes repeat part of their data so they can still be read when part of the code is dirty, damaged or covered. There are four levels: Low, Medium, Quartile and High. A higher level makes the code more robust but also bigger, with more, smaller squares. Medium is the level most often used. Choose Low for a long web address on a clean screen, and Quartile or High if the code will be printed outdoors, on packaging, or anywhere it may get scratched.
PNG or SVG?
| Format | Best for |
|---|---|
| PNG | Websites, presentations, messages and documents. Pick 1,024 px for a sharper image. |
| SVG | Print and design software. It is a vector image, so it stays sharp at any size. |
Tips for codes that scan first time
- Keep strong contrast. A dark code on a light background works best. The generator warns you if the colours are too close.
- Leave the white border. The quiet zone around the code helps scanners find it, so don't crop it off.
- Keep the content short. Shorter text makes a simpler code with bigger squares that scans from further away.
- Test before you print. Scan the downloaded file with more than one phone if you can.
Do these QR codes expire?
No. The code contains your link or text directly, so it works for as long as the link itself works. There is no account, no tracking and nothing to renew, and nothing you type is sent to a server. To make a code for a photo or a document, upload it somewhere first and use its link; to resize the downloaded image, use the image resizer.
How much fits in one QR code
QR codes come in sizes called versions, from Version 1 to Version 40.[3] Version 1 is a grid of 21 × 21 modules and Version 40 is 177 × 177 modules, with 4 more modules per side for each version up.[3] You don’t choose the version here: the generator picks the smallest one that holds your content at the error correction level you chose.
The higher the level, the less room is left for your content. In this generator, the largest code holds:
| Error correction | Most bytes in one code |
|---|---|
| Low (L) | 2,953 |
| Medium (M) | 2,331 |
| Quartile (Q) | 1,663 |
| High (H) | 1,273 |
Content is stored as UTF-8 so accents, other scripts and emoji scan correctly. Plain English letters take one byte each, but an accented letter takes two and an emoji four, so a message in another script fills a code faster. The Text box takes up to 2,000 characters. If the content is too long for the level you picked, you see a message asking you to shorten it or choose a lower level.
Worked examples
A web address. The link https://www.toolsruby.com/qr-code-generator is 43 bytes. At Medium it makes a code of 33 × 33 modules, which the line under the preview shows with the byte count. The generator adds a white border of 4 modules on each side, so a 512 px PNG gives each module about 12 pixels.
A Wi-Fi code. For a network called CafeGuest with the password coffee;2026 and WPA security, the code holds WIFI:T:WPA;S:CafeGuest;P:coffee\;2026;; with a backslash before the semicolon in the password. That is 39 bytes: 29 × 29 modules at Medium, or 37 × 37 at High.
A business card. A vCard with a name, company, job title, phone, email and website came to 171 bytes in our test. It made a code of 49 modules per side at Low, 53 at Medium, 61 at Quartile and 69 at High. More fields mean more, smaller squares, so print contact codes a little larger.
Colors that scanners can read
The generator compares your code color with your background color and shows a warning instead of a code when the contrast is too low. It needs the code to be darker than the background. A light code on a dark background is refused, even when the contrast is high. Navy, dark green or dark red on white pass the check.
Medium (M) is the usual choice: DENSO WAVE’s QR code site notes that Level M is the one most often selected, and this generator starts on it.[1]
What next
Use this often? Add QR Code to your Home screen.
Frequently asked questions
Is this QR code generator free?
Yes. There is no sign-up and no limit. The code is made in your browser and contains your link or text directly, so it never expires.
How do I make a QR code for a business card?
Choose Business card, enter your name and contact details, and download the code. Scanning it offers to save you as a phone contact.
How do I share my Wi-Fi with a QR code?
Choose Wi-Fi, enter the network name and password, pick the security type and download the code. Guests scan it to join.
Why won't my QR code scan?
Check the colours have strong contrast, the white border is still there and the code isn't too small. Long content also makes codes harder to read.
Can I change a QR code after printing it?
No. The content is stored in the pattern itself. To change where a printed code leads, you would need to print a new code.
How much text can a QR code hold?
In this generator, up to 2,953 bytes at Low error correction and 1,273 bytes at High. Plain English letters are one byte each, while accented letters and emoji take more. Shorter content makes a simpler code that scans more easily.
Sources
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.