Back to list
Utility5 min readUpdated 11/2/2026

Complete QR Code Guide: From Creation to Usage

Learn how QR codes work and various ways to use them in business and daily life.

By webgyver

What Is a QR Code?

QR (Quick Response) codes are 2D barcodes developed by Denso Wave of Japan in 1994. They can store much more information than traditional 1D barcodes and can be scanned quickly from any direction.

QR codes can store up to 7,089 numbers or 4,296 characters. They can encode various types of data including URLs, text, contact information, Wi-Fi settings, and location coordinates.

With smartphone camera advances enabling QR code scanning without separate apps, QR code usage has exploded since COVID-19.

QR Code Structure and Error Correction

QR codes consist of position detection patterns, alignment patterns, timing patterns, and data areas. The large squares in three corners are position detection patterns used by scanners to recognize code orientation and size.

One of QR codes' biggest advantages is error correction. Four levels exist - L(7%), M(15%), Q(25%), H(30%) - allowing data recovery even if the code is partially damaged or obscured.

Selecting a high error correction level allows adding logos in the center while maintaining scannability. However, higher error correction levels also increase QR code size.

Business Applications of QR Codes

Marketing: Add QR codes to print ads, posters, and business cards to link to websites, app download pages, and promotion pages. You can drive offline-to-online conversion.

Payments: Mobile payment services like PayPal and Venmo utilize QR codes. A single QR code at a store can support multiple payment methods.

Inventory Management: Attach QR codes to products for inventory tracking, production history, and authenticity verification. Consumers can also easily check product information.

Tips for Creating Effective QR Codes

Keep URLs short. Long URLs make QR codes complex, lowering scan success rates. Use URL shortening services or short redirect URLs.

For printing, minimum 2cm x 2cm size is recommended. Larger sizes are needed for greater scanning distances. For outdoor ads or posters, at least 10cm is appropriate.

Maintain sufficient contrast with the background. Dark modules on light backgrounds are most reliable. When changing colors, always test scanning.

Static vs. Dynamic QR Codes: Same Look, Different Structure

A QR code is data converted into a pattern by fixed rules, so a pattern you have printed cannot be changed. A static QR code puts the destination address or text directly into that pattern. When scanned, the device goes straight to that address, so no server sits in the middle, and the QR code itself has no expiry date. If the linked page is deleted or the domain lapses, however, the code stays the same but the page it points to will no longer open.

A dynamic QR code encodes a short URL or an identifier that leads to a redirect service. According to Wikipedia, the printed code stays fixed while the final destination can be changed at any time in a management platform, so a typo does not force you to reprint. Because every scan passes through the intermediary, it can log scan counts, timing, approximate location via IP address, and device type. That is the biggest practical difference from a static code.

The trade-offs come as conditions. The same source notes that redirection relies on a server, so the user needs an internet connection; that the code's reliability depends on the provider continuing to operate; and that dynamic codes typically require a subscription. In other words, a dynamic code's expiry is a property of the service contract, not of the code. Check the plan and terms of the service before you put its code on printed material.

In short, choose a static code when the address will not change and you want no tracking, and a dynamic code when you need to change the destination after printing or measure response in a campaign. TheWebGyver's QR code generator creates static codes that hold exactly what you enter, so they work without expiry or scan logging.

Three Misconceptions About Error Correction

The first misconception is that the highest level, H, is always the safe choice. Denso Wave explains that raising the level improves correction capability but increases the amount of data, which makes the QR code larger. The same page says Level M (15%) is the one most frequently selected, that Q or H may suit factory environments where codes get dirty, and that L may suit clean environments with large amounts of data. The deciding factors are the environment and the size you can print.

The second misconception is that the percentage refers to the amount of your data. Denso Wave states that it is a ratio of total codewords, not of the data codewords. For example, if 50 of 200 total codewords can be corrected, that is Level Q (25%). The feature works by adding a Reed-Solomon code to the original data, and because it corrects at the byte level, the page describes it as suited to errors concentrated in one place.

The third misconception is that laying a logo or picture over the code costs nothing. The area a logo covers is effectively damaged area, so it uses up part of the correction margin in advance. The Denso Wave FAQ advises care when overlaying a picture deforms the code, and its page on reading problems explains that text or pictures laid over the code blur the contrast between light and dark areas and can make it hard or impossible to read. If you add a logo, raise the error correction level, keep the logo small, and scan the result with several devices.

Five Steps to Work Out the Print Size

Step one is to fix the length of the content. In Denso Wave's sizing example, 50 alphanumeric characters at error correction level M require Version 3 (29 modules per side), while Version 2 holds only 38 characters under the same conditions. More characters raise the version and the module count, and if you print in the same area, each module gets smaller. That is why a shorter address is usually the better choice.

Steps two and three are about the module, the single square unit of the code. Denso Wave says a larger module is more stable and easier to read, recommends printing as large as the available area allows, and recommends building each module from four or more printer dots for stable operation. In its example, a 400 dpi printer with 4 dots per module gives 25.4 / 400 x 4 = 0.254 mm. A common laser printer can print modules down to about 0.17 mm, but the scanner's resolution must be finer than the module, so what you can print and what can be read are different things.

Step four is calculating the total area including the margin. A QR code needs a margin four modules wide on every side (the quiet zone), so in each direction you add 8 modules to the symbol's module count. In the example above, the symbol is 29 x 0.254 = 7.366 mm and the margin is 8 x 0.254 = 2.032 mm, so a 9.398 mm square is needed including the margin. If space is short, the page lists three options: lower the version, make the modules smaller, or split the QR code.

Step five is designing around the margin. Denso Wave's examples of reading problems say that text or pictures placed beside the code can leave too little margin and make it hard or impossible to read, and that enlarging or shrinking the code in an image tool distorts every module, so it may look normal yet be difficult to read. If you must change the size, export a fresh code at the size you want rather than stretching an image. TheWebGyver's generator offers PNG and SVG downloads and a margin setting, so SVG is an option for print.

Choosing in Practice: A Business Card and an Event Poster

Take a business card that carries a portfolio address. If the address is around 50 alphanumeric characters, the example above needs about 9.4 mm including the margin, which leaves almost no slack if you give the card corner roughly 1 cm. Shortening the address to 38 characters or fewer allows a lower version, and the same area can then hold larger modules. Shortening the address is often the easiest fix for a print-size problem.

An event poster is a different case. If the sign-up address might change after printing, a dynamic code is a candidate, but you need to confirm that the service stays up after the event. Another approach is to print a static code that points to a path on your own site that will not change, and have that page link to the real sign-up address. When something changes, you only edit the page.

The same principle applies to colour. The Denso Wave FAQ says to print basically in black on a white background and gives a white background with a red code as an example that cannot be read. If you want brand colours, keep strong contrast between dark modules and the light background, and test the actual printout with several devices before a large print run.

References

Try It Yourself

Experience what you learned in this article with QR Code Generator.

QR Code Generator