Guide

How to add a logo to a QR code

A logo can sit in the middle of a QR code because error correction rebuilds the squares it hides. Use the highest error correction level, H, keep the logo to about a fifth of the code's width, put it on a cleared background, and never cover the three corner squares. Then scan the printed result with two phones.

01Details

02Theme

03Logo

Optional

How to do it

  1. 1

    Make your code

    Enter your link or details in the generator above. The shorter the content, the bigger each square, and the more room the logo has.

  2. 2

    Drop in your logo

    A PNG, JPG or SVG works. A square or round mark fits best. The generator switches to error correction level H the moment a logo is added.

  3. 3

    Set the size

    It starts at 22% of the code's width and goes from 10% to 30%. Leave Clear space behind logo on so the squares underneath are removed.

  4. 4

    Download and test

    Download SVG for print or PNG for screens, then scan it with two different phones before you print a batch.

Why a logo works

Every QR code carries repair data, called error correction, so that a scratched or dirty code can still be read. A logo is damage you choose the position of. It hides some modules (the small squares), and the scanner rebuilds them.

Level H, the highest, can restore about 30% of the code's data. That's why our generator moves from its usual level M to H as soon as you add a logo. Logos cost nothing here, and the finished code holds your link itself, so there's no account behind it to lapse.

What our tests showed

We made two codes with a logo at every size our slider allows, from 10% to 30% of the code's width, with the squares behind the logo cleared and, separately, with the logo laid over them. Then we decoded each image with jsQR, the decoder our online scanner uses.

LinkGrid at level HSizes that decoded
https://example.com/menu/today33 × 33All, 10% to 30%
A 90-character link with tracking tags53 × 53All, 10% to 30%

Every one decoded, both ways. The reason is arithmetic: a logo 30% of the width covers only 9% of the area, well inside what level H can rebuild. In our error correction test, a blank square of about 16% of the area still decoded at level H.

Those were sharp digital images. A phone reading a printed code also deals with blur, glare and angle, which use up the same repair budget. So the slider's upper end is an outer limit for print, and 20–22% leaves real headroom.

Rules that keep it scanning

  1. Stay at level H. Our generator handles this.
  2. Start around a fifth of the width. Area grows with the square of the width, so 30% wide is more than twice the area of 20%.
  3. Keep it centred. The middle is data. The corners hold the finder squares, and covering one stops a scan outright.
  4. Clear the space behind it. Half-covered modules confuse scanners more than missing ones. Our Clear space behind logo switch removes the squares under the logo.
  5. Keep the content short. A short link gives fewer, larger squares.
  6. Keep the squares dark. The code itself still needs dark modules on a light background; see colors and contrast.

Choosing the logo file

A simple mark reads better than a full wordmark at this size. Square and round shapes fill the centre neatly, and a transparent PNG or an SVG avoids a white box around the mark. The logo can be any color: the scanner ignores it.

Printing it

A logo code has used some of its repair budget before it reaches the printer, so give it a little more size than a plain one. Start with the size calculator, then go one step bigger. Download the SVG so the logo and squares both stay sharp; the file format guide explains why.

Questions people ask

Is my logo uploaded anywhere?

No. The logo is read and placed in your browser, and the finished code is made there too. Nothing is sent to our server.

Will the logo show in the embed snippet?

No. The embed link draws a plain code without a logo. To show the logo on a website, download the SVG or PNG and upload that image instead.

Written by Last updated