ToolSite
All posts

How to Generate a QR Code for Free (No App Required)

Generate QR codes for URLs, text, WiFi, and contact cards with no app install. Create and download QR codes instantly using our free browser-based generator.

By ToolSite5 min readguides

What QR Codes Encode

A QR code is a two-dimensional barcode that encodes data in a grid of black and white squares (called modules). Smartphones decode it with the built-in camera app. No special app required, no sign-up, no permissions beyond camera access that the OS already manages.

QR codes can encode:

  • URLs: the most common use. Restaurant menus, event pages, app download links, marketing landing pages.
  • Plain text: any string of text up to about 4,200 characters (at the lowest error correction level).
  • WiFi credentials: SSID, password, and encryption type. One scan and the device joins the network.
  • Contact cards (vCard): name, phone, email, organization. Scanning adds the person to your contacts.
  • Email addresses: with subject and body pre-filled. A mailto: link encoded as a QR.
  • Phone numbers: scanning initiates a call.
  • SMS messages: with pre-filled body text.
  • Geographic coordinates: scanning opens the location in a maps app.

When someone scans the code with their phone camera, the phone recognizes the data type and offers the appropriate action: open the URL, join the WiFi, save the contact, start an email draft.

How to Generate

Open the QR Code Generator. Select the data type (URL is the default). Enter your data. Click Generate.

The generator renders the QR code entirely in your browser using JavaScript. No data is sent to a server. No account required. You can download the QR code as a PNG image for printing, embedding in documents, or posting online. The downloaded PNG is ready for use at any size: the QR code is rendered as a clean grid that scales without artifacts because it's generated at the module level, not rasterized from a fixed pixel grid.

Customization Options

QR codes don't have to be pure black and white. The QR Code Generator gives you several controls:

Foreground and background color: change the dark and light modules. Contrast matters critically: the foreground should be significantly darker than the background for reliable scanning. A dark blue foreground on a white background scans fine. Light gray on slightly darker gray will fail on most phones.

Size: pixels per module. Standard is 4 to 8 pixels. A QR code with 25 modules per side at 4 pixels per module is a 100x100 image. The same code at 8 pixels per module is 200x200. Smaller modules produce a more compact code but may be harder to scan from a distance or in low light.

Error correction: four levels available (L, M, Q, H). Higher levels let the code be scanned even if partially damaged, covered by a logo, or printed on a curved surface:

  • Level L: recovers 7 percent of data loss. Smallest code, least redundancy.
  • Level M: recovers 15 percent. Standard for most use cases.
  • Level Q: recovers 25 percent. Good for codes that might get dirty or worn.
  • Level H: recovers 30 percent. Use when you plan to overlay a logo in the center.

The tradeoff: higher error correction means a denser, more complex code with more modules. A URL that fits in a 25x25 grid at level L might need a 29x29 grid at level H.

WiFi QR Codes

This is the most underrated QR code type. Generate a WiFi QR code, print it, and stick it on your fridge or in your guest room. Visitors scan it and join your network instantly. No typing #Mynetwork2026! on a phone keyboard. No reading the password aloud from across the room.

The underlying data format:

WIFI:S:MyNetwork;T:WPA;P:MyPassword;;

The QR Code Generator builds this from simple input fields: network name, encryption type (WPA/WPA2/WEP/none), and password. You don't need to know the data format.

A practical setup: generate a WiFi QR code for your home network, save it as a PNG, and add it to a shared household note or print it on a small card. Every new device and every guest connects in one scan. Coffee shops and coworking spaces use these on table tents so customers connect without asking for the password.

Contact Card QR Codes (vCard)

Generate a QR code that adds you to someone's contacts when scanned. The underlying vCard format:

BEGIN:VCARD
VERSION:3.0
N:Doe;John
ORG:Acme Inc
TEL:+15551234567
EMAIL:[email protected]
URL:https://johndoe.com
END:VCARD

Use cases: networking events (print it on your badge), business cards (one side is the QR code), email signatures (inline image that adds your details), conference slides (speaker contact at the end of the deck). One scan adds your name, company, phone, email, and website to the scanner's address book. No typos, no manual entry.

Size and Placement Rules

Getting the physical QR code right determines whether it scans reliably:

  • Minimum size: 2 x 2 cm (about 0.8 x 0.8 inches) for print. Smaller codes are hard to focus on. For posters viewed from 3 meters away, the code should be at least 10 x 10 cm.
  • Quiet zone: a white border around the code, at least 4 modules wide. This tells the scanner where the code begins and ends. The QR Code Generator includes this by default in every download.
  • Contrast: dark foreground on light background. Avoid light-on-dark (white QR on black) unless you test it with multiple phone models first. Some scanner apps handle inverted codes; many don't.
  • No busy backgrounds: patterns, gradients, or images behind the code confuse the scanner's finder pattern detection. Place the QR on a solid background.
  • Avoid curved surfaces: QR codes on bottles, cans, or curved signage distort the module grid and reduce scan reliability. On curved surfaces, use a smaller code placed on the flattest area.

Try it yourself: open the QR Code Generator. Enter your website URL. Click Generate. Scan the code with your phone camera and it opens the link. Then try a WiFi QR code with your network credentials and scan it to see the "Join Network" prompt appear automatically.

Related Reading