What Are QR Codes?

Quick Response (QR) codes are two-dimensional barcodes that store data readable by smartphones and dedicated scanners. Invented in 1994 by Denso Wave, a Toyota subsidiary, they were originally designed to track automotive parts at high speed. Unlike traditional barcodes — which store information in a single horizontal line — QR codes use a grid of black and white squares that encodes data both horizontally and vertically, allowing them to hold significantly more information.

QR codes can store up to 7,089 numeric characters or 4,296 alphanumeric characters in a single symbol. This capacity, combined with fast readability (hence "Quick Response"), made them the natural bridge between physical and digital spaces. Their usage exploded during the COVID-19 pandemic for contactless menus, check-ins, and payments, and they've remained a staple of modern marketing ever since.

How QR Codes Work

A QR code encodes data across a grid of modules (the black and white squares). When you scan a QR code, your device's camera captures the image, decodes the pattern, and extracts the stored information — which might be a URL, text, contact details, or WiFi credentials.

QR codes use Reed-Solomon error correction, which means even if part of the code is damaged, dirty, or obscured, it can still be read. This is why you can put a logo in the center of a QR code without breaking it.

Error Correction Levels

There are four error correction levels, each allowing a different percentage of the code to be damaged while remaining scannable:

For most marketing use cases, level M or Q is ideal. The extra error correction is worth the slight increase in module count because it allows a custom logo overlay — a proven way to boost scan rates through brand recognition.

Static vs Dynamic QR Codes

This is one of the most important distinctions to understand:

Static QR codes encode data directly into the pattern. The URL or text is hard-coded and cannot be changed once generated. They have no expiry and don't require scanning analytics. Use static QR codes for simple permanent needs — a restaurant menu URL printed on a window decal, for example.

Dynamic QR codes store a short redirect URL. When scanned, the user is redirected to the actual destination, which can be changed anytime without reprinting the code. Dynamic codes also let you track scan counts, locations, devices, and times. They are ideal for marketing campaigns where you might change the landing page, A/B test offers, or need analytics.

Our free QR code generator supports both static and dynamic QR codes, making it easy to choose the right approach for your needs.

QR Code Version Sizes

QR codes come in 40 versions, from Version 1 (21×21 modules) to Version 40 (177×177 modules). Each version adds 4 modules per side. Higher versions hold more data but require higher resolution printing. A typical URL short enough for Version 4 (33×33) — but if you add error correction level H and a large logo, you might need Version 6 or 7. Our QR code generator automatically selects the optimal version for your data.

Top Use Cases for QR Codes

URLs and Landing Pages

The most common use. Generate a QR code for a product page, promotional offer, or blog post. Add UTM parameters to track campaign performance in Google Analytics. Pro tip: use a QR code generator that lets you preview the encoded URL to avoid typos.

Contact Details (vCard)

Encode your business card as a vCard QR code. When scanned, the phone offers to save the contact with name, phone, email, company, and address pre-filled. Perfect for networking events, conference badges, and email signatures.

WiFi Credentials

Generate a QR code that connects guests to your WiFi automatically. When scanned, the phone prompts to join the network — no need to type a long, case-sensitive password. Restaurants, coffee shops, hotels, and offices use this extensively. The format encodes SSID, password, and encryption type (WPA/WPA2/WEP).

Event Details

Encode calendar event information (iCal format) so scanning adds the event directly to the user's calendar with date, time, location, and description. Great for posters, invitations, and conference schedules.

Plain Text

Sometimes you just need to display a message, coupon code, or instruction. Plain text QR codes are the simplest form and work on any device without network connectivity.

Best Practices for QR Code Design

Size Matters

The printed QR code should be at least 2×2 cm (0.8×0.8 inches) for reliable scanning. For outdoor signage, go larger — 5×5 cm or more. The rule of thumb: the scanning distance should be roughly 10 times the code's width. If someone will scan from 1 meter away, the code should be at least 10 cm wide.

High Contrast

Dark modules on a light background scan best. Avoid colored backgrounds that reduce contrast. If you must use brand colors, ensure the contrast ratio between modules and background is at least 4:1. Never use light modules on a white background.

The Quiet Zone

The empty margin around the QR code — the "quiet zone" — must be at least 4 modules wide on all sides. No text, logos, or design elements should intrude into this area. A common mistake is printing the code flush against the edge of a business card or flyer, which can make it unscannable.

Adding a Logo

Placing a centered logo in the QR code is a proven way to increase scan rates by 50–80% because people instantly recognize the brand. Use a high error correction level (Q or H) and keep the logo to no more than 20–25% of the total code area. Remove the central modules in a way that preserves the code's structure — our QR code generator handles this automatically.

Practical Example 1: A Restaurant Digital Menu

A restaurant prints a QR code on each table tent card. The code encodes the URL to the digital menu on their website. Using a dynamic QR code at level Q, the restaurant adds their logo in the center. When the menu changes seasonally, they update the destination URL — the printed table tents never need replacing. Scanning analytics tell them which tables scan most and at what times, helping optimize server placement.

Practical Example 2: A Conference Badge

Each attendee receives a badge with a QR code containing their vCard contact info. Scanned at level M, the code includes name, title, company, email, and LinkedIn URL. Attendees scan each other's badges to instantly save contacts instead of exchanging business cards. The event organizer adds a second QR code for the conference schedule (iCal event), so scanning the program poster adds all sessions to the attendee's phone calendar.

Common Mistakes to Avoid

Get Started

Ready to create your first QR code? Use the free QR code generator on Wang Toolbox. It works entirely in your browser, supports all data types (URL, text, vCard, WiFi, email, SMS, and calendar events), and lets you customize error correction levels, colors, and logo overlays. No sign-up, no limits, and your data never leaves your machine.