QR codes explained — how to create, customize, and use them
QR codes are everywhere — on restaurant menus, product packaging, business cards, and event tickets. This guide explains how they work, what you can encode in them, and how to create one that actually scans reliably.
What is a QR code?
A QR code (Quick Response code) is a two-dimensional barcode that stores data as a pattern of black and white squares. Unlike a traditional barcode that encodes only ~20 digits, a QR code can hold up to 4,296 alphanumeric characters or 7,089 numeric digits.
QR codes were invented in 1994 by Denso Wave in Japan, originally for tracking automotive parts. Today, every modern smartphone camera can scan them natively — no app required.
What can you store in a QR code?
- Website URLs — The most common use. Scanning opens a webpage directly in the browser.
- Plain text — Notes, product descriptions, instructions.
- Email addresses — Prefills a compose window with the recipient address.
- Phone numbers — Initiates a call or SMS when scanned.
- Wi-Fi credentials — Lets guests connect to your network by scanning (WIFI:T:WPA;S:NetworkName;P:Password;;).
- VCard contacts — Adds a contact to the phone's address book.
- Geographic coordinates — Opens a map location.
Important: Keep encoded content short. The more data you store, the denser and smaller the modules (dots) become, making the code harder to scan — especially when printed small.
Error correction levels explained
QR codes include built-in error correction so they can still be scanned even when partially damaged or obscured. There are four levels:
- L (Low) — Recovers up to 7% of data. Produces the simplest, smallest code. Best for digital-only use where the image will not be damaged.
- M (Medium) — Recovers up to 15%. Good all-purpose choice for most uses.
- Q (Quartile) — Recovers up to 25%. Good for printed materials in environments with moderate wear.
- H (High) — Recovers up to 30%. Best for print when you want to overlay a logo on the QR code, as the logo covers part of the data area.
Use H level if you plan to add a logo or brand icon in the centre of the QR code. Use M or L for digital use to keep the code clean and easy to scan.
Best practices for reliable QR codes
- Minimum print size: 2 cm × 2 cm (about 0.8 in). Smaller codes may fail on older cameras.
- Quiet zone: Leave a white border of at least 4 modules (dots) around the code — this is part of the spec and required for reliable scanning.
- Contrast: Dark modules on a light background. Avoid placing QR codes on dark or busy backgrounds.
- Test before printing: Always scan the code with multiple devices (iPhone + Android) before sending to print.
- Use a short URL: If your target URL is long, use a URL shortener first. Shorter data = less dense code = easier scan.
- Dynamic vs static: Consider dynamic QR codes (via a service) if you want to update the destination URL without reprinting the physical code.
How to generate a QR code for free
- Open ToolBite's QR code generator — no account needed.
- Type or paste your URL, text, or phone number into the input box.
- Choose your size (300px for digital, 500px+ for print) and error correction level.
- Click Generate QR Code to preview instantly.
- Click Download PNG to save the file to your device.
The QR code is generated entirely in your browser — your content is never sent to ToolBite's servers.
Quick checklist before deploying
- Scanned successfully on both iPhone and Android camera apps.
- Minimum 2 cm × 2 cm when printed.
- White quiet zone border is visible around the code.
- High contrast — dark on light background.
- URL is short and correct — test the destination link.
- Error correction set to H if logo overlay is used.
