Irreva logo
Explore Irreva
DeveloperFebruary 15, 2026· 5 min read· Updated June 10, 2026

How to Generate a QR Code Online Free

Hasanur Rahman

Written by Hasanur Rahman

Founder & Full-Stack Developer · Irreva · Rangpur, Bangladesh

QR codes are everywhere — product packaging, restaurant menus, event tickets, payment systems, and business cards. They encode data as a two-dimensional grid of black and white modules that any modern smartphone camera can scan instantly. Generating one is simple and free. This guide covers what you can encode, how QR code scanning works, and how to create a downloadable QR code in seconds.

What a QR code can encode

A QR code can store any text data, up to about 3,000 characters depending on the error correction level. In practice, QR codes are used for URLs (the most common case), plain text, contact information (vCard format), Wi-Fi credentials, email addresses, phone numbers, and payment information.

The most common use case by far is encoding a URL. A user scans the QR code and is taken directly to the URL without typing it. For physical marketing materials — flyers, signs, product packaging — this is the easiest way to bridge physical and digital.

Shorter URLs produce simpler QR codes with fewer modules, making them easier to scan. If your URL is long, consider using a URL shortener before encoding it.

  • URL / website link
  • Plain text
  • Email address
  • Phone number
  • SMS
  • Wi-Fi network credentials
  • vCard contact information
  • Geographic coordinates

Error correction and scanning reliability

QR codes have built-in error correction that allows them to be scanned even if part of the code is obscured or damaged. There are four error correction levels: L (7% can be damaged), M (15%), Q (25%), and H (30%).

For codes that will be printed on materials that might get dirty or partially obscured, use level M or Q. Level H allows up to 30% damage — this is used for branded QR codes where a logo is placed in the center, deliberately covering part of the code.

A higher error correction level means the QR code requires more modules to store the same data, making the code denser and potentially harder to scan at small sizes. For a clean URL on a screen, level M is the standard choice.

Generating and downloading a QR code

The Irreva QR Code Generator creates a QR code from any URL or text instantly. You can set the size in pixels and download the code as a PNG image for use in print or digital projects.

For print use, generate the QR code at the largest size available and use a vector format (SVG) if your application supports it. Vector QR codes scale to any size without pixelation, which is essential for large-format printing like posters and banners.

Always test your QR code before printing or publishing. Scan it yourself with two different devices to confirm it works and leads to the correct destination. Check that the URL it encodes is live and loads correctly.

Frequently Asked Questions

Do QR codes expire?

The QR code itself doesn't expire — it's just a pattern encoding data. What can expire is the URL or content it points to. If you encode a URL that later goes offline or changes, the QR code still scans correctly but leads nowhere useful. Using a URL shortener with analytics lets you redirect the QR code to a new URL if needed.

Can I put a logo in the center of a QR code?

Yes, using high error correction level (H). The logo covers part of the QR code but the error correction compensates for the obscured data. The logo should cover no more than about 30% of the code area. Always test scanning after adding a logo.

What is the minimum size a QR code should be printed at?

The minimum recommended print size is about 2cm × 2cm (roughly 0.8 inches). Below that, most smartphone cameras struggle to resolve the individual modules. Larger is better, especially for codes with high data density or high error correction.

Why is my QR code not scanning?

Common causes: the code is too small, poor contrast between the modules and background (avoid very light colors), the surface is reflective (like glossy packaging), the camera is too close or at a sharp angle, or the code itself is malformed. Try generating a fresh code and testing in good lighting.

Is it free to generate QR codes?

Yes. The Irreva QR Code Generator is completely free with no sign-up required. You can generate and download as many codes as you need.

Hasanur Rahman

About the author

Hasanur Rahman

Founder & Full-Stack Developer · Irreva · Rangpur, Bangladesh

Hasanur Rahman is the founder of Irreva and a full-stack developer based in Rangpur, Bangladesh. He builds all of Irreva's tools with a focus on privacy-first, browser-based processing.