QR codes are everywhere again — restaurant menus, packaging, business cards, posters — and generating one correctly takes about ten seconds. The part people get wrong is design: low-contrast colors or a code that's too small to scan reliably.

This guide covers how to generate a QR code for free, what it can actually encode, and the design choices that determine whether it scans on the first try.

Key Takeaway: A QR code is only useful if it scans reliably. Contrast and size matter far more than how "designed" the code looks — always test-scan before publishing or printing.

What a QR Code Can Encode

TypeWhat happens when scanned
URLOpens the website directly in the phone's browser
Plain textDisplays the text on screen — useful for instructions or short messages
EmailOpens a pre-filled new email to the encoded address
Phone numberOpens the dialer with the number ready to call

Step by Step: How to Generate a QR Code for Free

TinyPNG Now includes a free QR code generator that runs entirely in your browser.

  1. Open the QR Generator tool.
  2. Choose your type — URL, text, email, or phone number.
  3. Enter the destination content.
  4. Optionally customize the foreground and background colors.
  5. Download the QR code as a PNG.
  6. Scan-test it with your own phone before printing or publishing anywhere.

Pro Tip: Always link to a final, HTTPS URL rather than a redirect chain or a page you'll later delete. A QR code printed on physical packaging or signage can't be edited after it's printed — if the link breaks, the code is dead.

Design Rules for a QR Code That Actually Scans

Frequently Asked Questions

Do QR codes expire?

A static QR code never expires on its own — the data is encoded directly into the pattern. It only stops working if the destination URL itself goes offline or changes.

Is a free QR code generator safe and private?

With TinyPNG Now, yes — the code is generated entirely in your browser, with nothing sent to a server and no tracking added.

Can custom colors make a QR code unscannable?

Yes, if contrast is too low. Keep the foreground notably darker than the background and avoid similar mid-tone pairings.

What's the minimum size for a printed QR code?

About 1 inch square is the practical minimum at arm's-length. For posters viewed from further away, scale up — roughly 1 inch per 10 feet of scanning distance.

Can I track scans with a free static QR code?

Not directly — a static code has no built-in analytics. To track scans, point it at a link-shortening service with click analytics instead of the destination directly.

What's the difference between a QR code and a barcode?

A barcode stores data in a single line of bars and holds only a short numeric code. A QR code stores data in a 2D grid, holding far more information and scanning correctly even if partially damaged.

What can a QR code actually encode?

Common uses: a website URL, plain text, a pre-filled email, or a phone number that opens the dialer when scanned.

Summary: Keep contrast strong, size it for the viewing distance, and always test-scan before publishing. Use the free TinyPNG Now QR generator — browser-based, private, and customizable.