File Guru Guides How to make a QR code that actually scans

How to make a QR code that actually scans.

A QR code that looks fine on screen can still fail at the door — printed too small, too low-contrast, or holding more data than it should. Here's what changes a code from decorative to reliable.

What's actually inside a QR code

A QR code is a grid of black and white squares that encodes text — that's the entire idea. It doesn't "contain" a website in any special sense; it contains the characters of a URL (or a note, a Wi-Fi password, a contact card), and a scanning app reads those characters and acts on them, usually by opening a link. Anything you can type, a QR code can hold, up to a limit — a few thousand characters for plain text, fewer as you add more data.

The practical consequence: shorter content makes a simpler, more forgiving code. A long tracking URL with dozens of parameters produces a denser grid than a short link does, and density is the enemy of reliable scanning — more on that below.

Why some QR codes fail to scan

Almost every scan failure comes down to one of four things:

  • Not enough contrast. Scanning depends on cleanly telling dark squares from light ones. A dark grey code on a mid-grey background, or a code printed on textured or colored paper, can drop below what a camera can reliably distinguish — especially in dim light.
  • Too much data packed into too small a code. A long URL forces a denser grid of smaller squares. Print that same dense code at a small physical size and the squares fall below what a phone camera can resolve at typical scanning distance.
  • Printed too small for the distance it'll be scanned from. A code on a business card is read inches away and can be small. A code on a poster or storefront window is read from a few feet away and needs to be proportionally larger — the general rule of thumb is the code's side length should be roughly a tenth of the expected scanning distance.
  • No quiet margin. The blank white border around a QR code isn't decorative — scanners use it to detect where the code starts and stops. Crop it too tight, or place the code right against another dark shape, and detection can fail.

Step by step

  1. Open the tool. Go to QR Code Generator. The code is drawn on-device — nothing you type is sent anywhere.
  2. Enter the content. Paste a link, or type text, a message, or contact details. Keep it as short as the destination allows — a shortened link produces a simpler, easier-to-scan code than a long one with tracking parameters.
  3. Pick a size. 256×256 is fine for on-screen use (a slide, a website, an email). For print, use 512×512 or 1024×1024 so the code stays sharp at the final printed size.
  4. Set the colors. The defaults — near-black on white — are the safest choice. If you customize them, keep the foreground clearly darker than the background; avoid similar mid-tones.
  5. Generate, then test-scan it with an actual phone camera before you print or publish anywhere, on the actual screen or paper you'll use.
  6. Download the PNG once you've confirmed it scans cleanly.

Choosing a size for where the code will actually live

  • Business card or product label: scanned from a few inches away — 256–512px is plenty, since it will be printed small regardless of the source resolution.
  • Flyer, menu, or a page in a document: scanned from roughly arm's length — 512px keeps it crisp at typical print sizes.
  • Poster, storefront window, or event signage: scanned from several feet away — use 1024px and print the code physically larger, not just at higher resolution, since resolution and physical size solve different problems.

Two things worth knowing before you rely on one

  • A generated QR code is static. The content is baked directly into the grid at the moment you generate it — there's no way to edit what a printed code points to afterward. If the destination link might change, point the code at a URL you control and can redirect later, rather than a page you might need to move.
  • Anyone can generate a code that points anywhere. A QR code carries no built-in trust signal about its destination. If you're scanning someone else's code — on a poster, a parking meter, a menu — most phone camera apps show the URL before opening it; it's worth a glance, the same way you'd glance at a link before clicking it.

Is it safe to make a QR code online?

Mostly yes, since a QR code is just encoded text — but it's still worth knowing where that text goes. Some online generators log what you type or route it through a redirect service so they can track scans later, which matters if the content includes anything private, like a personal Wi-Fi password or contact details.

File Guru's generator draws the code entirely in your browser using an on-device library — nothing you type is uploaded or logged. You can confirm it yourself: disconnect from the internet and generate a code — it still works.

Make a QR code now

Free, no sign-up, no upload. Any link, note, or contact card.

Open QR Code Generator

Related tools and guides