QR Code Generator
A QR code is a two-dimensional barcode that encodes text, most commonly a URL, but also Wi-Fi credentials, contact cards, calendar events, or arbitrary strings. The ToolzPedia QR Code Generator produces QR codes entirely inside your browser. The string you encode is never sent to the server; the QR PNG you download is rendered locally from the JavaScript library qrcode.
QR codes were invented by Denso Wave in 1994 for tracking car parts in Toyota factories. They became globally common during the 2020 pandemic, when restaurants and shops adopted them as a contactless way to share menus, payment links, and Wi-Fi access. The format is forgiving, Reed-Solomon error correction means that a QR code can still scan reliably even when up to 30% of its surface is dirty, scratched, or covered by a small logo placed in the centre.
The tool below supports four common QR types: URL (the most common, opens a webpage when scanned), Wi-Fi (auto-joins a network using the SSID, security type, and password), vCard (adds a contact to the phone's address book), and plain text (displays the string in the scanner app). Output is a PNG suitable for printing, embedding in slides, or sharing online.
Use the tool edit
How to use QR Code Generator edit
Follow these steps to use the tool:
-
Pick the type
URL, plain text, email, phone, SMS, Wi-Fi, vCard contact, or geo-location.
-
Fill in the details
Enter the data the QR code should encode. Forms switch automatically based on type.
-
Style it
Optionally change colours, size, error correction level, and quiet-zone margin.
-
Generate and download
Hit Generate, then save as a crisp SVG (any size) or a high-resolution PNG.
Details edit
Your input never leaves the browser. The QR pattern is computed in JavaScript and rendered to an SVG/canvas before download.
No watermark. No login. The downloaded QR is yours to use commercially.
Frequently asked questions edit
Use cases edit
Encode your menu URL as a QR code, print on table tents. Diners scan to see allergen info, photos, and live pricing, no app needed.
Wi-Fi QR codes let guests connect with one tap instead of typing a 20-character WPA2 password. Print and frame in the entryway.
A vCard QR code on the back of a paper business card adds the contact to the recipient's phone in one scan. Particularly useful at conferences.
For print campaigns where you cannot embed a clickable link, a QR code closes the loop between physical and digital.
Reading a 60-character URL aloud is painful. A QR code on your phone screen lets the other person scan it in two seconds.
Print the RSVP URL as a QR code on save-the-date cards. Far higher response rates than asking guests to type a URL.
How it works edit
A QR code is a square grid of black and white modules. The three large square "finder patterns" at three corners let scanner software detect rotation and skew. The data itself is encoded in the remaining modules using a binary representation of the input, wrapped in Reed-Solomon error correction codes.
The amount of data a QR code can hold depends on the version (1 = 21×21 modules, 40 = 177×177 modules), the error-correction level (L = 7% recovery, M = 15%, Q = 25%, H = 30%), and the encoding mode (numeric, alphanumeric, byte, or kanji). For a typical URL of 50 characters with error-correction level M, a version 3 (29×29) QR code is sufficient.
Wi-Fi QR codes use the format WIFI:T:WPA;S:NetworkName;P:Password;;. The scanner app recognises the WIFI: prefix and triggers the OS's network-join dialogue rather than opening a browser. vCard QR codes wrap a standard vCard 3.0 record, which iOS and Android both recognise natively.
Tips and best practices edit
- When printing, never scale the QR code below 2cm × 2cm at typical reading distance. Below that, phone cameras struggle to focus.
- Use a high error-correction level (Q or H) only if you plan to overlay a logo in the centre. For plain QR codes, level M is the right balance of capacity and robustness.
- Test your QR code with at least two scanner apps and two phone models before printing thousands. Sometimes a code that scans on a flagship iPhone fails on a budget Android.
- Avoid encoding very long URLs directly, the resulting QR code has many small modules and becomes harder to scan. Use a short URL or your own redirect domain.
- Print QR codes in solid black on solid white with at least 4 modules of "quiet zone" (margin) around them. Coloured or low-contrast codes scan badly under poor lighting.
- If the QR code links to a webpage you may want to change later, point it at a URL on a domain you control and use a server-side redirect, this lets you change the destination without reprinting.
Common mistakes edit
A QR code printed at 1cm × 1cm on a poster designed to be read from 3 metres away will not scan. The rule of thumb is that the code's side length should be at least 1/10th of the expected scanning distance.
Dark grey on light grey, navy on black, or red on green all reduce scan success rate. Always use black-on-white unless you have tested extensively.
A URL like <code>example.com/page?utm_source=qr&campaign=spring&fbclid=xyz</code> generates a dense QR code that scans poorly and triggers some security software. Use a clean short URL.
Many designers crop the QR code right up to the modules. Scanners need at least 4 modules of white space around the code to lock on. Leave a margin.
Different scanner apps handle vCards and Wi-Fi codes slightly differently. Always test on real devices before printing.
Related tools edit
Other free utilities available on ToolzPedia:
Password Generator
Generate cryptographically-secure random passwords, passphrases or PINs. Bulk download as .txt.
Palworld Breeding Calculator
Predict offspring from any two Pals or find every parent pair that produces a target Pal.
See also edit
- All utilities on ToolzPedia
- All tools, every utility in the encyclopedia
- Tutorials and guides related to utilities
- Report a bug or request a feature