QR codes have made a massive comeback. From restaurant menus and contactless payments to event check-ins and WiFi sharing, these little squares of data are everywhere. The best part? You can generate them yourself, instantly, without any app install or server upload.
In this guide, you will learn how to create QR codes for WiFi credentials, URLs, contact cards, and plain text — all generated client-side in your browser using the ToolBox QR Code Generator.
QR code basics
A QR code is a two-dimensional barcode that encodes text, URLs, or other data into a grid of black and white squares (called modules). When scanned by a smartphone camera, the pattern is decoded back into the original data. QR codes can store up to 4,296 alphanumeric characters or 7,089 numeric digits.
Every QR code contains error correction — redundant data that allows the code to be read even if partially damaged or obscured. The more error correction you add, the more resilient the code, but the physically larger it becomes for the same amount of data.
Create a QR code for a URL
This is the simplest use case. To create a QR code that opens a website when scanned:
- Open the QR Code Generator.
- Type or paste a full URL (e.g.,
https://example.com) into the text field. - Choose a size — 256px is a good default for web use; go larger (512px or 1024px) for print.
- Select an error correction level. For URLs on screens, Low (L) or Medium (M) is fine. For print, choose High (H).
- Click Generate to see a preview, then Download PNG to save the image.
Create a QR code for WiFi
A WiFi QR code lets guests connect to your network just by scanning — no need to type out a long password. The format is:
WIFI:S:<NetworkName>;T:<EncryptionType>;P:<Password>;;
For example, if your WiFi network is named "HomeWifi" with WPA2 encryption and password "mypassword123":
WIFI:S:HomeWifi;T:WPA;P:mypassword123;;
The encryption type can be WPA, WEP, or nopass (for open networks). Paste this string into the QR Code Generator, generate the code, and print it out for guests or display it at your office entrance.
Privacy note: The WiFi string is processed entirely in your browser. Your network password never leaves your device. This is especially important for QR codes containing credentials.
Other QR code use cases
Beyond URLs and WiFi, QR codes can encode many types of data:
- Contact cards (vCard). Generate a QR code containing your name, phone, email, and company. When scanned, the contact is added directly to the phone's address book.
- Email. Use
mailto:email@example.com?subject=Helloto create a QR code that opens the default email client with a pre-filled subject. - Plain text. Encode any message — great for scavenger hunts, event clues, or sharing a short note.
- Geolocation. Use
geo:latitude,longitudeto open the device's map app at a specific location. - Calendar events. Encode an iCalendar string to let users add an event to their calendar with one scan.
Understanding error correction levels
The ToolBox QR Code Generator offers four error correction levels:
- Low (L) — Recovers up to 7% of data loss. Good for on-screen QR codes where damage is unlikely.
- Medium (M) — Recovers up to 15%. A balanced default for most uses.
- High (Q) — Recovers up to 25%. Use for printed codes that might get slightly worn.
- Highest (H) — Recovers up to 30%. Best for outdoor signage, packaging, or anything that might get dirty or scratched.
For a typical WiFi QR code printed and kept indoors, Medium is a good choice. For a sticker on a restaurant table, choose High.
Ready to make your own? Open the QR Code Generator — free, instant, and completely private.