Skip to content
ToolkitHub

QR Code Generator

Generate QR codes (URL, Text, WiFi, etc.)

Guide

How QR codes store data and stay scannable

By Logappradeep · ServiceNow developer

A QR (Quick Response) code is a two-dimensional barcode invented by Denso Wave in 1994 for tracking automotive parts and standardized as ISO/IEC 18004. Because phone cameras can read them instantly, QR codes now link printed material to the web: menus, posters, packaging, business cards, event tickets, and Wi-Fi sign-in cards.

What is inside a QR code

  • Finder patterns: the three large squares in the corners, which let a scanner locate the code and work out its rotation.
  • Timing and alignment patterns, which help correct for perspective and curved surfaces.
  • Format information that records the error correction level and mask pattern.
  • Data and error correction modules, the black and white squares that fill the rest.

QR codes come in 40 sizes, called versions, from 21×21 modules up to 177×177. The more data you encode, the larger and denser the grid becomes, so a short URL scans more reliably than a long one. At the largest size a code holds roughly 2,300 bytes at level M and 1,270 at level H, and the generator warns you when your content is too long.

Error correction and logos

QR codes use Reed–Solomon error correction, which lets a scanner rebuild missing or damaged parts. There are four levels, recovering roughly 7% (L), 15% (M), 25% (Q), or 30% (H) of the code. This generator uses level M for plain codes, a good balance of density and robustness, and switches to level H, the highest, as soon as you add a logo. That redundancy is what allows a small logo to cover the center of the code while it still scans. Keep logos modest in size: the more modules they hide, the less margin is left for smudges, glare, and low-quality cameras.

Content types this tool supports

  • URL or text: any link or plain text. Phones offer to open URLs that start with https://.
  • Wi-Fi: encodes the network name, security type (WPA/WPA2, WEP, or none), password, and an optional hidden-network flag in the WIFI:T:WPA;S:...;P:...;; format that iOS and Android cameras recognize. Special characters such as ; and , are escaped for you, so guests can join without typing.
  • Email: creates a mailto: link with the recipient, subject, and message, opening a pre-filled email.

Design and printing tips

  • Keep strong contrast. Dark modules on a light background work best. Inverted codes (light on dark) and low-contrast color pairs fail on some scanners.
  • Leave a quiet zone. A clear margin around the code helps scanners separate it from surrounding graphics. Do not crop the downloaded image tightly.
  • Size for the scanning distance. A code on a poster read from across a room must be much larger than one on a business card.
  • Test before printing. Scan the final file with several phones, in the lighting where it will be used.
  • Static codes cannot be edited. The data is baked into the pattern. For printed material that may outlive a campaign, encode a URL on a domain you control, so you can redirect it later.

Privacy

Codes are generated in your browser. Your Wi-Fi password, URLs, and uploaded logo image are never sent to a server, and the downloaded PNG is created on your device.

Frequently asked questions

Do these QR codes expire?

No. They are static codes with the data encoded directly in the pattern, so they work as long as the content, such as the URL, remains valid.

Why won't my colored QR code scan?

The contrast is probably too low or the colors are inverted. Use a dark foreground on a light background and test again.

How large can my logo be?

Keep it small and centered. The generator switches to level H error correction when a logo is added, but a large logo still leaves little margin for real-world damage and glare.

Is my Wi-Fi password sent anywhere?

No. The code is generated entirely in your browser. Keep in mind that anyone who scans the printed code can read the password.

Can I change where the QR code points after printing?

Not with a static code. Encode a URL you control and update the redirect behind it instead.