QR Code Generator

From ToolzPedia, the free tools encyclopedia
This is one of several utilities. For the full list of utilities, see All tools.

A QR code is a two-dimensional barcode that encodes text, most commonly a URL, but also Wi-Fi credentials, contact cards, calendar events, or arbitrary strings. The ToolzPedia QR Code Generator produces QR codes entirely inside your browser. The string you encode is never sent to the server; the QR PNG you download is rendered locally from the JavaScript library qrcode.

QR codes were invented by Denso Wave in 1994 for tracking car parts in Toyota factories. They became globally common during the 2020 pandemic, when restaurants and shops adopted them as a contactless way to share menus, payment links, and Wi-Fi access. The format is forgiving, Reed-Solomon error correction means that a QR code can still scan reliably even when up to 30% of its surface is dirty, scratched, or covered by a small logo placed in the centre.

The tool below supports four common QR types: URL (the most common, opens a webpage when scanned), Wi-Fi (auto-joins a network using the SSID, security type, and password), vCard (adds a contact to the phone's address book), and plain text (displays the string in the scanner app). Output is a PNG suitable for printing, embedding in slides, or sharing online.

Use the tool edit

What kind of QR code?
Appearance

How to use QR Code Generator edit

Follow these steps to use the tool:

  1. Pick the type

    URL, plain text, email, phone, SMS, Wi-Fi, vCard contact, or geo-location.

  2. Fill in the details

    Enter the data the QR code should encode. Forms switch automatically based on type.

  3. Style it

    Optionally change colours, size, error correction level, and quiet-zone margin.

  4. Generate and download

    Hit Generate, then save as a crisp SVG (any size) or a high-resolution PNG.

Details edit

🔒 100% client-side

Your input never leaves the browser. The QR pattern is computed in JavaScript and rendered to an SVG/canvas before download.

No watermark. No login. The downloaded QR is yours to use commercially.

Frequently asked questions edit

No. A QR code is a static encoding of the text you put in. As long as that text remains meaningful (e.g. the URL it points to still exists), the QR code keeps working forever. Only "dynamic" QR services that redirect through their own domain can expire, and only if that service shuts down.
The QR code itself is just a picture. The risk is what the encoded URL leads to: a malicious site can phish credentials or attempt browser exploits. Treat scanning a QR code the same as clicking a link from an unknown source.
The largest QR code (version 40, error-correction L) holds 4,296 alphanumeric characters or 2,953 bytes. In practice, anything beyond 300 characters produces a code too dense to scan reliably from print.
Most common causes: the SSID contains special characters that need escaping, the security type (WPA / WPA2 / nopass) is wrong, or the device's OS is too old to support Wi-Fi QR codes (pre-iOS 11, pre-Android 10).
The basic tool produces standard black-on-white codes for maximum scanability. Adding a logo or changing colours requires using a higher error-correction level (Q or H) so the code remains scannable when partly obscured.
No. The input string is encoded in your browser using the <code>qrcode</code> JavaScript library. The PNG you download was rendered locally and was never transmitted to the server.

Use cases edit

Restaurant menu / digital menu link

Encode your menu URL as a QR code, print on table tents. Diners scan to see allergen info, photos, and live pricing, no app needed.

Guest Wi-Fi at a venue or rental

Wi-Fi QR codes let guests connect with one tap instead of typing a 20-character WPA2 password. Print and frame in the entryway.

Business card / event badge

A vCard QR code on the back of a paper business card adds the contact to the recipient's phone in one scan. Particularly useful at conferences.

Linking a poster or print ad to a landing page

For print campaigns where you cannot embed a clickable link, a QR code closes the loop between physical and digital.

Sharing a long URL in person

Reading a 60-character URL aloud is painful. A QR code on your phone screen lets the other person scan it in two seconds.

Wedding / event RSVP

Print the RSVP URL as a QR code on save-the-date cards. Far higher response rates than asking guests to type a URL.

How it works edit

A QR code is a square grid of black and white modules. The three large square "finder patterns" at three corners let scanner software detect rotation and skew. The data itself is encoded in the remaining modules using a binary representation of the input, wrapped in Reed-Solomon error correction codes.

The amount of data a QR code can hold depends on the version (1 = 21×21 modules, 40 = 177×177 modules), the error-correction level (L = 7% recovery, M = 15%, Q = 25%, H = 30%), and the encoding mode (numeric, alphanumeric, byte, or kanji). For a typical URL of 50 characters with error-correction level M, a version 3 (29×29) QR code is sufficient.

Wi-Fi QR codes use the format WIFI:T:WPA;S:NetworkName;P:Password;;. The scanner app recognises the WIFI: prefix and triggers the OS's network-join dialogue rather than opening a browser. vCard QR codes wrap a standard vCard 3.0 record, which iOS and Android both recognise natively.

Tips and best practices edit

  • When printing, never scale the QR code below 2cm × 2cm at typical reading distance. Below that, phone cameras struggle to focus.
  • Use a high error-correction level (Q or H) only if you plan to overlay a logo in the centre. For plain QR codes, level M is the right balance of capacity and robustness.
  • Test your QR code with at least two scanner apps and two phone models before printing thousands. Sometimes a code that scans on a flagship iPhone fails on a budget Android.
  • Avoid encoding very long URLs directly, the resulting QR code has many small modules and becomes harder to scan. Use a short URL or your own redirect domain.
  • Print QR codes in solid black on solid white with at least 4 modules of "quiet zone" (margin) around them. Coloured or low-contrast codes scan badly under poor lighting.
  • If the QR code links to a webpage you may want to change later, point it at a URL on a domain you control and use a server-side redirect, this lets you change the destination without reprinting.

Common mistakes edit

Printing too small

A QR code printed at 1cm × 1cm on a poster designed to be read from 3 metres away will not scan. The rule of thumb is that the code's side length should be at least 1/10th of the expected scanning distance.

Using a colour combination with poor contrast

Dark grey on light grey, navy on black, or red on green all reduce scan success rate. Always use black-on-white unless you have tested extensively.

Embedding tracking parameters that look spammy

A URL like <code>example.com/page?utm_source=qr&campaign=spring&fbclid=xyz</code> generates a dense QR code that scans poorly and triggers some security software. Use a clean short URL.

Forgetting the quiet zone

Many designers crop the QR code right up to the modules. Scanners need at least 4 modules of white space around the code to lock on. Leave a margin.

Not testing on iOS and Android

Different scanner apps handle vCards and Wi-Fi codes slightly differently. Always test on real devices before printing.

Other free utilities available on ToolzPedia:

See also edit