QR code error correction and version selection
QR codes have four error correction levels: L (7% recovery), M (15%), Q (25%), and H (30%). Higher levels allow the code to be scanned even when partially damaged or obscured, but they increase the QR version (size). For printed materials like business cards or product labels, use level H or Q — the code can survive scratches, folds, or partial遮挡. For digital use (screens), level M is usually sufficient and produces a denser code.
The QR version (1-40) determines the grid size, from 21x21 to 177x177 modules. Higher versions can encode more data but require higher print resolution. Our tool automatically selects the minimum version needed for your input, balancing scannability against data capacity. If you are encoding a URL longer than ~400 characters (e.g., UTM-tagged links), the version jumps significantly.
QR code design and branding
QR codes do not have to be black-and-white squares. You can customize the foreground color, background color, and even embed a logo in the center (our tool supports center image placement). The key constraint: maintain sufficient contrast — the dark modules must be noticeably darker than the light modules. A contrast ratio of at least 3:1 is recommended. Avoid using the logo area for critical encoding; error correction level H reserves 30% for recovery, which the logo occupies.
For marketing materials, consider using a "QR code with frame" — surrounding the code with a call-to-action label (e.g., "Scan to visit our menu"). Our tool can add a configurable caption frame. The frame should be outside the quiet zone and should not overlap the code itself.
How to use the QR Code Generator
Step 1: Enter the content you want to encode — a URL, plain text, email address, phone number, or WiFi network details. The QR code updates as you type.
Step 2: Choose the error correction level. Level M (15% recovery) is sufficient for digital use. Level H (30% recovery) is recommended for printed materials that may be damaged or partially obscured.
Step 3: Customize the QR code appearance if desired — adjust foreground and background colors, add a center logo, or add a caption frame with a call-to-action label.
Step 4: Preview the generated QR code to ensure it scans correctly. Test by scanning with your phone camera before printing or sharing.
Step 5: Download the QR code in your preferred format. PNG is best for general use and social media. SVG is ideal for print materials that need to scale without losing quality.
Step 6: Print or share the QR code. Ensure a quiet zone (white space) of at least 4 modules surrounds the code for reliable scanning.
Common mistakes and how to fix them
Error: QR code too small to scan. The minimum recommended print size is 2cm x 2cm (approximately 0.8 inches). Codes smaller than this may not scan reliably, especially on low-resolution screens or printed materials.
Error: Insufficient contrast between foreground and background. The dark modules must be noticeably darker than the light modules. A contrast ratio of at least 3:1 is recommended. Avoid light gray on white or similar low-contrast combinations.
Error: Center logo too large. When adding a logo to the center of a QR code, the logo must not exceed the error correction capacity. At level H, you can use a larger logo (up to 30% of the code area). At level M, keep the logo small.
Error: URL is too long. URLs longer than approximately 400 characters produce very dense QR codes that are harder to scan. Use a URL shortener for long links, or use level H error correction for better readability.
Error: Placing QR code on busy backgrounds. QR codes on patterned or photographic backgrounds reduce scan reliability. Always place QR codes on solid, contrasting backgrounds.
Tips and best practices
Use error correction level H for printed materials like business cards, flyers, and product labels where the code might get scratched or folded. The 30% recovery capacity ensures the code remains scannable even with damage.
Always add a quiet zone of at least 4 modules of white space around the QR code. This is required by the QR code specification and ensures scanners can detect the code boundaries.
Test your QR code at the actual print size before running a large print job. A code that scans perfectly on screen at 500px may fail when printed at 1cm.
For marketing materials, add a text call-to-action above or below the QR code (like "Scan to visit our menu") to increase scan rates. The caption should be outside the quiet zone.
Use SVG format for print materials that may be scaled to different sizes. SVG maintains sharp edges at any resolution, while PNG may become pixelated when enlarged.