A logo in the middle of a QR code looks like a trick, but it's really a controlled accident. You're deliberately damaging the code and trusting its error correction to repair the damage every time someone scans it. Done within limits, that's perfectly reliable. Pushed too far, you get the code that works on your phone and fails on your customer's.
Why a logo can work at all
Every QR code stores extra Reed–Solomon codewords that let a reader fix bytes it can't read.[3] At the highest level, H, the code can recover roughly 30% of its codewords, and the format's own reference material lists logo-bearing codes among the uses for that level.[1] A centered logo is, in effect, a planned stain.
Two things follow:
- Use level H with a logo. Our generator switches to H automatically as soon as you add one, and locks it there. Raising the level does add modules, so the code gets a little denser.[3]
- Spend the budget carefully. Error correction also has to cover real-world damage — glare, a crease, a cheap printer. If the logo uses all of it, there's nothing left for life.
Size: smaller than you think
Our generator caps the logo at 26% of the code's width, which works out to about 7% of the code's area. In our tests, codes with a logo at that cap and level H decoded reliably across every style we offer, while a 30% logo failed on some code sizes even though H can, on paper, restore 30% of the codewords[1] — real damage isn't spread as evenly as the math assumes. A cap is not a target, either. Most designs look balanced, and keep more margin for rough printing, at 18–24% of the width. Start there.
Wide logos are measured on their longer side, so a wordmark ends up shorter than it is wide and hides fewer modules than a square badge of the same width.

Placement: center, always
The three large squares in the corners are the finder patterns. A reader locates those first to work out where the code is and which way up it sits, and the error correction can't repair them, because it only covers the data area.[1] Cover one, and a scan can fail even when the total damage is small.[1]
So the logo goes in the middle, nowhere near the corners. The quiet zone matters too — the blank margin around the code that has to stay free of print.[4] A logo that spills past the edge of the code eats into it.
Clear zone vs. overlay
There are two ways to place a logo:
- Overlay draws the logo on top of the modules. Bits of modules peek out around the logo's shape, leaving half-covered squares a reader must guess at.
- Clear zone removes every module under the logo (plus a little border) and lets the logo sit on clean background.
Clear zone is our default, and we recommend it. The decoder sees whole modules or empty background, never fragments. If your logo has a transparent background, the code's background color shows through around it.
Color and contrast still win
A logo tempts people to recolor the whole code to match the brand. Keep two rules:
- Dark code on a light background. Scanners look for dark modules on a light field. If your brand color is pale, use it for the logo or the corner eyes, not the modules.
- Keep strong contrast. For text, the web's accessibility guidelines ask for a contrast ratio of at least 4.5:1, because faint text is hard for many people to read.[5] We use a similar yardstick for codes and warn you below 4:1. A camera in a dim restaurant is no more forgiving than a tired eye.
A word on heavy redesigns
Logos, colors and rounded dots are cosmetic: the code underneath is a standard QR code. DENSO WAVE, which holds QR code patents, lets anyone use the format freely as long as it follows the JIS or ISO standards, and asks anyone considering a code that departs from them to contact the patent holders first.[2] Our generator stays inside the standard; art projects that bend the grid itself are a different matter.
Test it like you mean it
Our scan check decodes your design at two sizes with an independent reader and confirms the result byte for byte. Treat a pass as the minimum. Then print a proof at the real size, scan it with a couple of different phones — including an older one — and try it under the worst light it will see. If any phone hesitates, shrink the logo before you change anything else.
