How to Make a QR Code With a Logo That Still Scans
Learn how to add a logo to a QR code without breaking it. Covers error correction levels, safe logo size, placement rules, and quick scan testing tips.
Adding a logo to a QR code is a common way to make a plain black-and-white pattern feel like part of a brand. Done carelessly, it also breaks the scan. Here is how error correction makes logo overlays possible, how large a logo can safely be, and how to test a finished design before it goes on a menu, poster, or product label.
Can I Put a Logo in a QR Code?
Yes. QR codes use Reed-Solomon error correction, which rebuilds a portion of the code's data even when part of the pattern is covered or damaged. A logo placed over the center of the code, sized and positioned correctly, uses up some of that spare correction capacity without breaking the scan.
This works because a QR code does not need every single module (the small black and white squares) to be read correctly. The error correction layer, defined in the ISO/IEC 18004 standard, adds redundant data alongside the actual payload. A scanner reconstructs missing or obscured modules from that redundancy the same way it would recover from a torn corner or a dirty smudge on a printed label. A logo is, from the scanner's point of view, just another form of damage, as long as it stays within the amount of damage the code can tolerate.
How Big Can a Logo Be in a QR Code?
Most generators and scanning vendors recommend keeping a logo to roughly 15 to 25 percent of the code's total area, centered, and never touching the three corner finder squares. Going past that range increases the chance that a phone camera fails to decode the code, especially on older devices or in poor lighting.
There is no single number written into the QR code standard itself for logo size, since the standard defines error correction in terms of codewords, not visible area. In practice, vendor guidance converges on the same range: keep the logo small, centered, and clear of the parts of the code a scanner depends on to find and orient the pattern. Those parts are the three large squares in the corners (the finder patterns), the alternating line of modules connecting them (the timing pattern), and the blank margin surrounding the whole code (the quiet zone, at least four modules wide on every side). A logo that creeps into any of those areas can stop a scan even when the overall percentage of area covered looks modest.
Which Error Correction Level Should I Use With a Logo?
Use error correction level H, the highest of the four levels defined in the QR code standard. Level H reserves about 30 percent of the code's data for recovery, the largest safety margin available, which is why virtually every logo-enabled QR generator defaults to it automatically.
The QR code standard defines four error correction levels, each trading data capacity for damage tolerance: L recovers roughly 7 percent of codewords, M around 15 percent, Q about 25 percent, and H close to 30 percent, according to error correction documentation published by label-software vendor Seagull Scientific and corroborated by Scandit's technical writeup on QR code personalization. A higher level means a larger, denser code for the same amount of data, because more of the symbol is spent on redundancy. For a plain code with no logo, level L or M is usually enough. The moment a logo, decorative border, or color overlay touches the code, switch to level H so there is enough spare capacity left for whatever the design element covers.
How Do You Add a Logo to a QR Code?
Building a scannable logo QR code is a short sequence: pick the right error correction level first, generate the code, size and place the logo carefully, and verify the result before it goes anywhere public.
Start by setting error correction to level H before you generate anything, since changing it after the fact means regenerating the whole code. Enter the destination URL or text and generate the code with a tool that supports logo overlays, like the generator at barcodescanner.online. Resize the logo to roughly a quarter of the code's area or less, center it, and give it a small white or light backing shape so it has clean contrast against the surrounding modules rather than blending into them. Keep it away from the corners and the outer margin. Finally, scan the finished code with two or three different phones, ideally a mix of iPhone and Android, at the size and distance it will actually be used, before sending it to print or publishing it online.
Why Does My QR Code With a Logo Not Scan?
The most common causes are a logo that is too large, a logo that overlaps a finder pattern or the quiet zone, low contrast between the logo and the surrounding code, or error correction set too low for the amount of area covered. Test the finished code on several phones before printing it anywhere.
A few less obvious causes also show up in troubleshooting guides from scanning SDK vendors like Dynamsoft: a code printed too small for the scanning distance, glossy or low-contrast materials that wash out the pattern under certain lighting, and files exported at low resolution that turn crisp square modules into blurry gray blobs once printed. If a code scans correctly without the logo but fails with it added, the logo itself is the problem; shrink it, move it fully into the center, or raise the error correction level further before regenerating. If it still fails after that, drop the logo size down another notch and test again rather than guessing at a fix.
Related Guides
- The Ultimate QR Code Guide - how QR codes work, error correction, and data capacity in full detail
- How to Create a QR Code for WiFi - another practical QR code generation walkthrough
- How to Make a QR Code for a Menu - a common real-world use case for branded, logo-enabled codes
- QR Code vs Data Matrix - how QR codes compare to another popular 2D barcode format
Sources
- Scandit: How QR Code Personalization Works - An In-Depth Look at QR Code Error Correction - error correction levels and how logo overlays use recovery capacity.
- Seagull Scientific: Error Correction (QR Code) - documentation on the four ISO/IEC 18004 error correction levels and their recovery percentages.
- Dynamsoft: 10 Top Causes Why QR Codes Fail to Scan - common scanning failure causes including damage tolerance and print quality.
- Wikipedia: QR Code - general structure, finder patterns, quiet zone, and error correction overview.