Can You Put a Logo on a QR Code? We Tested Logo Sizes

By Nate Blevins • Published Oct 31, 2026 • 9 min read

Yes, you can put a logo on a QR code, as long as it sits in the middle and the three corner squares stay untouched. In our tests with the same renderer this site uses, a solid center logo scanned reliably up to 15% of the code's width at error correction level L, 25% at M, 35% at Q and 40% at H.

How big can a logo on a QR code be?

It depends on the error correction level. Each level gives the logo a different budget, and past that budget the code doesn't get a little worse. It stops scanning.

We pasted a solid dark blue square over the center of the same QR code (it encodes https://getqrcodegenerator.com/menu) at widths from 10% to 50% of the code, at each level. Each image was read eight ways: two software decoders, each on a sharp, a small, a lightly blurred and a heavily blurred copy. The table shows how many of the 8 reads worked.

Logo width (share of code width)Area coveredLMQH
No logo0%887*8
10%1.0%8878
15%2.3%8878
20%4.0%6878
25%6.3%0878
30%9.0%0178
35%12.3%0078
40%16.0%0007
45%20.3%0006
50%25.0%0000

Reads out of 8. *At level Q, the OpenCV decoder never read the most blurred copy, even with no logo, so 7 is the ceiling in that column.

Two things stand out. The drop is sudden: at level L the code went from 6 reads at 20% width to none at 25%. And the limit sits well below the percentage quoted for each level. Level H recovers about 30%, yet a logo covering 25% of the area failed every read.

In print terms, on a 3 cm (1.2 in) code at level Q the logo can be about 1 cm (0.4 in) wide. At level L, keep it under about 0.45 cm (0.18 in).

What is QR code error correction, in plain words?

Error correction is spare data. Extra check bytes are added to every QR code so a scanner can rebuild the message when part of the pattern is missing or misread. The level sets how much can be rebuilt.

Denso Wave, the company that invented the QR code, lists the four levels in its error correction table: L about 7%, M about 15%, Q about 25% and H about 30%. Those are shares of the code's codewords, the 8-bit units the data is stored in, not shares of its area. The same page says M is the level most often chosen and suggests Q or H where codes get dirty.

A logo is deliberate damage. The scanner reads each module (small square) under it as the logo's color. Some come out right by luck, but a codeword only survives if all 8 bits are right, so nearly every codeword under a logo counts as damaged. That is the same budget that would otherwise cover a scratch, a smudge or glare on a laminated menu.

So the safe size is smaller than the headline number. The largest logo that passed every read covered roughly half the quoted percentage in area: 2.3% at L, 6.3% at M, 12.3% at Q and 16% at H.

Higher levels have a cost: more modules. For our test link, the code grew from 29 x 29 modules at L and M to 33 x 33 at Q and 37 x 37 at H. At the same printed size, each module at H is about 22% smaller than at L, so print an H code a little larger. Our QR code size guide has minimum print sizes.

Why do the corner squares have to stay clear?

The three big corner squares are how a scanner finds the code in the first place. Error correction protects the data, not these markers, so even a small logo on one corner breaks the code.

Denso Wave's history of the QR code explains that these position detection patterns use a 1:1:3:1:1 ratio of dark and light, picked as the ratio least used in printed matter, so a reader can spot them from any angle.

We tried three ways of touching one corner square: covering it completely, whiting out only its 3 x 3 center, and placing a small logo (4 x 4 modules) over its inner corner. All three failed all 8 reads at every level, including H, which tolerated a center logo 40% wide. We didn't test the smaller square near the bottom right (the alignment pattern), so leave it alone too.

What does this site's logo feature do?

It uses level Q and sizes the logo for you, at a size that read as well as a code with no logo in every check we ran. On the Logo tab of the generator you can upload a PNG, JPG, GIF or WebP up to 5 MB, or pick one of 12 built-in icons.

The generator's code doesn't set an error correction level or a logo size, so the QR library's defaults apply. The qr-code-styling documentation on GitHub lists those defaults as level Q, imageSize 0.4 and hideBackgroundDots on, and says not to go over 0.5.

One detail surprised us: imageSize is not a share of the width. The library multiplies it by the error correction share, so 0.4 at Q lets the logo cover up to 10% of the modules, rounded to an odd number of whole modules. For our test link that is a 9 x 9 block, 27% of the code's width. The same setting gives a much smaller logo at L:

imageSizeLMQH
0.210%: 817%: 821%: 724%: 8
0.4 (site)10%: 824%: 827%: 730%: 8
0.517%: 624%: 833%: 735%: 8
0.617%: 624%: 833%: 741%: 7
0.717%: 631%: 039%: 041%: 7
0.817%: 631%: 039%: 046%: 6
1.024%: 038%: 045%: 051%: 0

Each cell: logo width as a share of the code, then reads out of 8. Q tops out at 7 for the reason above.

At Q, the code kept reading until the logo reached 39% of the width, so the site's default leaves real headroom. There is no control on the site to change the level or enlarge the logo.

We also ran the real page end to end: uploaded a solid square logo (and, separately, the built-in link and star icons), downloaded PNGs at 300 and 1200 px, and decoded them. All six decoded, though at 300 px each decoder balked at one variation (jsQR with a white border added, OpenCV without one). Scanners have quirks.

Before you place the file, note that the download has no white margin: the pattern runs to the edge. Denso Wave's page on creating a QR code calls for a clear margin four modules wide on all sides, so leave white space around the code in your design.

Does hiding the dots behind the logo matter?

For a solid square logo, no. All 80 square-logo combinations gave identical results with hideBackgroundDots on and off, because an opaque square covers the same modules either way.

For a round logo it can. With the setting on, the library clears a full square of modules behind the circle. With it off, the modules in that square's corners stay visible and keep working. At Q, a circle 39% wide read 7 of 8 times with the dots left in and 0 of 8 with them removed. The site always removes them, and at its default size a round logo passed either way.

Does the logo's color matter?

Less than we expected. Dark blue, white and orange squares of the same size failed at nearly the same widths, and near the limit no color won everywhere. At M and 30% width, dark got 1 read, white 7 and orange 5. At H and 45% it flipped: dark 6, white and orange 0. Orange, a mid-tone, also split the two decoders. Color won't buy a bigger logo, so spend your contrast on the dots: dark on light.

How do you make a logo QR code that scans reliably?

Keep the logo centered and inside the budget, leave the corners and margin clear, and test a printed proof on two phones.

  1. Keep the logo centered and modest. This site sizes it for you. In other tools, stay well under the first table's widths for your level.
  2. Don't touch the corner squares. No logo, badge or sticker over them, and no rounded frame that clips them.
  3. Keep the dots dark on a light background. A simple, bold logo also survives small print better than a detailed one.
  4. Leave a white margin of four modules on every side, a bit more than half a corner square's width.
  5. Print it big enough. The size guide works out the minimum from scanning distance.
  6. Test on two phones before printing. An iPhone and an Android phone, on a printed proof, at the distance and light people will use. Our guide on how to scan a QR code on iPhone and Android shows where the scanner is.

Codes from this site are static: the link lives in the pattern, so it can't be edited after printing and there are no scan statistics. Testing before the print run is your only fix. Making one for a menu? The restaurant menu QR code page sets that up directly.

How we tested

We loaded the site's own qr-code-styling.js into headless Chromium with Playwright and generated codes for the menu link, black square dots on white. Logos were drawn in a canvas: a solid #1d3f8f square and a solid #f28c28 circle.

The tables use square corner centers. The site's default round ones tripped jsQR at levels L, M and H even with no logo (OpenCV read them), so we kept that quirk out of the logo results. At level Q with the site's logo size, jsQR read the round centers in all four versions, and it read every file downloaded from the real page as is.

Limits: one link, one code size per level, simple logo shapes. jsQR and OpenCV are software decoders, not phone cameras, which use autofocus, many frames per second and their own decoders, so phones can do better or worse. Treat the numbers as a guide, not a guarantee.

Frequently asked questions

What error correction level should I use for a QR code with a logo?

Use Q or H. In our test, Q held a solid center logo up to 35% of the code's width and H up to 40%, while L failed at 25%. H makes the code denser, so print it a little larger.

Can I put a logo in the corner of a QR code?

No. The corner squares are how scanners find the code. In our test, whiting out just the small center of one corner square stopped every read at every error correction level.

Does a logo make a QR code harder to scan?

A logo inside the size limit scanned in all our tests, but it uses up error correction that would otherwise cover smudges, scratches and glare. The bigger the logo, the less damage the code can absorb later.

Can I change the logo size or error correction level on getqrcodegenerator.com?

No. The generator uses level Q and sizes the logo automatically, 27% of the code's width for the short link we tested. In our tests that size read as well as a code with no logo, with room to spare.

Related reading

Ready to make your QR code?

Try the free generator →