How to add a logo to a QR code without breaking it

A logo makes your QR code recognizable and more trustworthy — if you respect a few rules. Here’s how error correction works and how big your logo can be.

A plain black-and-white QR code works, but a branded code with your logo and colors gets more scans: people recognize the brand and trust where it leads. The catch is that a logo covers part of the code. Here is how to add one safely.

How can a QR code still work with a logo on top?

QR codes include error correction (Reed–Solomon codes). Part of the data is stored redundantly, so a scanner can rebuild the content even if some modules are missing or damaged. There are four levels:

  • L – about 7% of the code can be restored
  • M – about 15%
  • Q – about 25%
  • H – about 30%

A logo placed in the center hides some modules, and error correction compensates. That is why you should always use level H with a logo. Our generator switches to H automatically as soon as you add one.

Important: error correction is a safety net, not free space. If the logo consumes all of it, a small scratch, a fold or poor lighting can make the code unreadable. Keep a margin of safety.

How big can the logo be?

A practical rule: the logo should cover no more than about 20–25% of the code’s surface. In our generator, the logo size slider (15–45% of the code’s width) shows a warning above 40%. Widths around 30–35% are a good balance between visibility and reliability.

Other rules matter just as much:

  • Keep the center. Never cover the three large squares in the corners (the finder patterns). Scanners use them to locate the code.
  • Clear the dots behind the logo. Half-hidden dots confuse scanners. Our “Clear the dots behind the logo” option removes them cleanly.
  • Add a little padding around the logo so it doesn’t touch the dots.

Step by step with our generator

  1. Enter your content in the QR code generator (any type works).
  2. Open the Logo section and click “Upload your logo”. PNG with a transparent background, SVG, JPG and WebP are supported (up to 2 MB). Your file stays on your device.
  3. No logo file at hand? Choose one of the quick icons: WiFi, phone, mail, location, star, restaurant…
  4. Adjust the size and padding, and keep “Clear the dots behind the logo” checked.
  5. Watch the scan test under the preview. Green means the code decodes correctly; red means you should reduce the logo, increase contrast or remove the gradient.
  6. Download SVG or PNG and test a printed proof with two phones.

Which logo works best?

  • Simple shapes: an icon or monogram reads better than a long wordmark at small sizes.
  • Square or round logos fit the center better than wide horizontal ones.
  • Transparent background PNG or SVG avoids an ugly white box (unless you want one).
  • Strong contrast with the code’s background.

If your logo is a long wordmark, use your symbol or initials in the code and place the full logo next to it in your layout.

Prepare your logo file

A few minutes of preparation gives a much cleaner result:

  • Crop tightly. Remove empty space around the logo, otherwise it looks tiny in the center.
  • Use a square canvas. If your logo is wide, place it on a square background (white or your brand color) so it fills the center nicely.
  • Simplify details. At 1–2 cm on paper, thin lines and small text disappear. Use the bold version of your mark.
  • Size it reasonably. A 500 × 500 px PNG or an SVG is plenty; giant files don’t improve quality and slow down the browser.
  • Check the colors. A white logo on a transparent background will vanish on a white QR code — add a colored circle behind it or use the colored version.

Our quick icons already follow these rules: a solid colored circle with a bold white symbol that matches your dot color.

Colors and styles that keep codes readable

Branding doesn’t stop at the logo. You can change the dot style (rounded, dots, classy), the corner style and the colors. Keep these principles:

  • Dark dots on a light background — our generator warns you if contrast is too low.
  • Avoid inverted codes (light dots on dark) for wide audiences.
  • Colored corners are a nice touch; keep them dark too.
  • Gradients are fine when both colors are dark enough.
  • Very round dot styles look modern; they scan well, but test at small sizes.

Don’t forget the content density

A logo plus long content is the riskiest combination: H-level error correction already makes the code denser, and a long URL or full vCard adds more modules. If you want a logo, shorten the content — use a short link on your own domain — and print the code a bit larger. See our size and print guide.

Common mistakes

  • Placing the logo over a corner square.
  • Using level L or M error correction with a logo (other generators may not switch automatically).
  • Pasting a logo on top of a code in a design tool after downloading it — the dots underneath aren’t cleared, and the logo may be too big. Add it in the generator instead.
  • Exporting a low-resolution PNG and enlarging it.
  • Skipping the printed test.

Frame + logo: the winning combo

A logo tells people who the code belongs to; a frame with a call to action tells them why to scan. “Scan for the menu”, “Join our WiFi” or “Review us on Google” can significantly increase scans compared with a bare code. Our generator offers several frame styles with editable text and colors.

Try it now: create a QR code with your logo for free, and let the built-in scan test confirm it works before you print.

Related QR code tools

More QR code guides

How to create a WhatsApp QR code

Let customers message you on WhatsApp in one scan — no need to save your number. Number format, pre-filled message and where to place the code.

How to create a QR code for a PDF file

Menus, brochures, manuals, CVs: the right way to share a PDF with a QR code that never expires — and the sharing mistake that blocks most people.