How-to

How to Add a Logo to a QR Code Without Breaking It

Error correction lets a QR code scan with a logo in the middle. Keep it centered, a fifth to a third of the width, corners clear, and test on real phones.

By the myqr team · · 6 min read

The short answer

  • A logo works because error correction lets phones rebuild the part of the code it covers.
  • Keep the logo centered and roughly a fifth to a third of the code's width, and never cover the three corner squares.
  • Use dark code colors on a light background and a simple PNG or SVG icon rather than a full wordmark.
  • Test the printed code on both iPhone and Android, at the real distance and in the real lighting.

You can add a logo to a QR code without breaking it because QR codes have error correction: built-in backup data that lets a phone read the code even when part of it is covered. The safe approach is to put a simple logo in the center, keep it to roughly a fifth to a third of the code's width, use a higher error correction level, and leave the three corner squares untouched. Then test it on real phones before you print.

This guide explains why that works, how far you can push it, and how to add a logo with a free generator or to a dynamic QR code in myqr.

Why can a QR code still scan with a logo on it?

A logo covers some of the code's modules (the small black and white squares), and error correction fills in what's missing. Every QR code stores its data more than once in a clever way, so a scanner can rebuild the parts it can't see.

There are four error correction levels. Each one sets how much of the code can be damaged or covered while it still scans:

LevelRoughly how much can be covered
L7%
M15%
Q25%
H30%

Higher levels add more backup data, which makes the code a little denser. That's the tradeoff: more room for a logo, slightly smaller modules at the same print size.

myqr uses level M for plain codes and switches to level Q automatically when you add a logo. If you use another tool that lets you choose, pick Q or H for a logo code.

How big can a QR code logo be?

Keep the logo to roughly a fifth to a third of the code's width, centered. That sounds bigger than it is, because area grows with the square of the width:

  • A logo one fifth of the code's width covers about 4% of its area.
  • A logo one third of the code's width covers about 11% of its area.

Both sit comfortably inside what level Q can recover. You don't want to use the whole error correction budget on the logo, though. The same backup data also has to cover real-world problems: a scuff on a sign, glare on a glossy menu, a crease in a flyer. A code that only scans when it's perfect will fail in the field.

Start at the smaller end and only go bigger if the logo is unreadable. In myqr and in the free QR code generator, the logo is sized and centered for you, and the dots behind it are cleared so it sits on a clean background.

Which parts of a QR code should a logo never cover?

Never cover the three large squares in the corners. These are the finder patterns: they're how a phone spots the code and works out which way up it is. Cover or restyle one too much and many phones won't recognize the code at all.

Also keep clear of:

  • The quiet zone, the blank margin around the code. The standard is 4 modules wide. Don't let a logo, border or text spill into it.
  • The smaller alignment square that appears near the bottom-right corner on all but the smallest codes. It helps phones read codes that are tilted or curved.
  • The strips right next to the corner squares, which hold format information the scanner reads first.

The center of the code is the safest place for a logo.

How to choose colors that still scan

Keep the code dark and the background light, with strong contrast between them. Phones read QR codes by telling dark modules from light ones, so anything that blurs that difference hurts.

Some practical rules:

  • Brand colors work for the dots if they're dark enough. Navy, forest green, deep red and dark purple are usually fine. Yellow, light gray and pastels usually aren't.
  • The corner squares can be a different color from the dots, which is a nice way to add a brand accent. Keep them dark too.
  • Don't invert the code. Light modules on a dark background don't scan on some older readers.
  • Your logo can use its own colors. It sits in the center, the area the scanner rebuilds from error correction.

myqr's designer warns you when your code and background colors are too close in contrast, so you can fix it before downloading.

What file format should your logo be?

Use a PNG with a transparent background, or an SVG, cropped close to the logo. A JPG works but brings a solid rectangle with it, which can look like a box sitting on top of the code.

For the best result:

  • Use your icon, not your full wordmark. A long logo with small text becomes unreadable at the size of a business card code. A single letter, symbol or app icon reads much better.
  • Keep it roughly square. Wide logos get scaled down to fit and lose detail.
  • Give it a little breathing room. A small margin of transparent space around the mark keeps it from crowding the dots.

myqr and the free generator accept PNG, JPG and SVG logos up to 1 MB.

Once the code is designed, download SVG for anything printed, since it stays sharp at any size, and PNG for screens and documents. Our QR code size guide covers how big to print it.

How to add a logo with the free QR code generator

The free QR code generator makes a static QR code with your logo in a few seconds, with no account.

  1. Choose the type of code (website, Wi-Fi, contact card and so on) and enter your content, for example yourcafe.com/menu.
  2. Under Style it, pick your dot style, corner style and colors.
  3. Click Add a logo and choose your file. It stays on your device: the code is made in your browser and your logo isn't uploaded anywhere.
  4. Check the preview, then download SVG or PNG.

This is the right choice for a code that will never change, like a Wi-Fi password card or a link to your homepage. Static codes never expire, but you can't change where they point or see how many people scan them. If either matters, read about static vs dynamic QR codes before you print.

How to add a logo to a dynamic QR code in myqr

A dynamic QR code encodes a short link (like myqr.sh/menu) that redirects to your page, so you can change the destination after printing and track scans. Adding a logo works the same way as with the free generator.

  1. Sign up and click Create QR code.
  2. Choose Website, enter your destination URL and give the code a name.
  3. Create the code. On the "Your QR code is ready" screen, choose your colors and styles, then upload your logo.
  4. Download SVG for print or PNG for screens.

To add or swap a logo on a code you already made, open the code, go to its QR code tab, change the design and save. The short link inside the code stays the same, so copies you already printed keep working. They just keep the old look.

Test every logo code on real phones before printing, even if the preview scans fine on your laptop screen. Use this checklist:

  • Scan the printed proof with an iPhone, using the built-in Camera app
  • Scan it with an Android phone, using the camera app or Google Lens
  • Try an older phone if you have one, since older cameras are less forgiving
  • Scan from the real distance, not just up close
  • Scan in the real lighting: dim restaurants, bright windows, outdoors
  • Check that the phone opens the right page, not just that it detects a code
  • Look for glare on glossy or laminated prints
  • Make sure the corner squares and the quiet zone are untouched in the final layout

If a phone hesitates, make the logo smaller, increase the contrast, or print the code bigger, in that order. For everything else to check before a print run, see our QR code best practices checklist.

Frequently asked questions

Does adding a logo make a QR code less reliable?

Slightly, because it uses some of the code's error correction. A small, centered logo on a code with level Q or H error correction scans reliably as long as you test it and print it at a sensible size.

Can I put a logo on a QR code for free?

Yes. The free myqr QR code generator adds a logo to a static code with no account, and the logo never leaves your device. The myqr free plan also lets you add a logo to 2 dynamic codes.

Can I change the logo after the code is printed?

Not on the printed copies, since the logo is part of the printed image. With a dynamic code you can update the design for future prints, and the old copies keep working because the short link inside the code doesn't change.

Can I put a photo in the middle of a QR code?

You can, but photos lose detail at small sizes and can make the code look busy. A simple icon or letter with clear edges reads better and is easier to recognize.