TOOLS WORLD logoTOOLS WORLD

QR Code Generator

Generate QR codes for links, Wi-Fi details, contact info, or any text. Choose the size and error-correction level, preview live, and download as PNG.

What is a QR code generator?

A QR code generator converts text - most often a URL - into a Quick Response code: the square grid of black and white modules that any modern phone camera can scan. Invented in 1994 for tracking automotive parts, QR codes are now the standard bridge between the physical and digital worlds: restaurant menus, event tickets, payment terminals, product packaging, conference badges, and Wi-Fi sharing all rely on them.

This tool encodes your text into a QR code instantly as you type, right in your browser. You control the image size (128 to 512 pixels) and the error-correction level, watch the live preview update, and download the result as a crisp PNG ready for print or web. Because generation is local, the content you encode - private links, Wi-Fi passwords, contact details - is never sent anywhere, and the code itself contains no tracking redirect: it points directly at whatever you typed.

How to use the QR code generator

  1. Enter your content in the text box - a URL, a piece of text, a phone number, or a structured payload like Wi-Fi credentials. The preview updates as you type.
  2. Pick a size. 256 × 256 works for most screens and documents; choose 512 × 512 if you plan to print the code or place it on a poster.
  3. Choose an error-correction level. Medium (15%) is a good default. Raise it to Quartile or High if the code will live in harsh conditions - small print, lamination glare, or partial obstruction.
  4. Check the live preview on the right, and scan it with your phone to verify it behaves as expected.
  5. Click Download PNG to save the image. The file has a white background and a proper quiet zone, so it can be dropped straight into designs.

Examples

Link to a website

https://yoursite.com/menu

The classic use case. Keep URLs short - a 40-character link produces a much cleaner, easier-to-scan grid than a 300-character one with tracking parameters. If you use a URL shortener, remember the short domain must stay alive for the code to keep working.

Share Wi-Fi access

WIFI:T:WPA;S:CoffeeShopGuest;P:latte4life;;

Phones that scan this format prompt the user to join the network directly - no typing. T is the security type, S the network name, and P the password.

Compose an email or call a number

mailto:hello@example.com?subject=Quote%20request

tel:+15551234567

Plain text

Table 12 - scan at checkout for your order

Anything that is not a recognized scheme is simply shown to the person scanning, which is useful for serial numbers, asset tags, and IDs - for instance, unique identifiers from the UUID Generator.

How QR codes work

A QR code encodes data as a grid of modules, together with three large finder squares (the corners) that let a scanner locate and orient the code from any angle, timing patterns that establish the grid spacing, and format information describing the error-correction level. The payload is encoded with Reed–Solomon error correction, which adds mathematically redundant modules - this is why a code with a scratch, a fold, or a logo covering part of it can still scan perfectly. Higher error-correction levels dedicate more of the grid to redundancy, which is a trade-off: more damage tolerance, but a denser and slightly harder-to-scan code for the same content length.

Best practices for scannable QR codes

  • Respect the quiet zone. Keep a clear margin of at least four module-widths around the code; placing it flush against other graphics is the top cause of scan failures.
  • Size for the scanning distance. A rough rule: the code should be at least one-tenth of the distance it will be scanned from. A poster scanned from 3 meters needs a code around 30 cm wide.
  • Maintain contrast. Dark modules on a light background scan best. Avoid inverting colors or placing the code on busy imagery.
  • Test before printing. Scan the final artwork with at least two different phones, at the real-world distance and lighting.
  • Encode less, not more. Link to a page rather than embedding paragraphs of text. If you are debugging what a URL with query parameters actually contains, the JSON Formatter and Regex Tester are handy companions.

Frequently asked questions

Do QR codes generated here expire?
No. The QR code is a static encoding of the exact text you enter - there is no intermediary service, redirect, or account involved. As long as the content itself remains valid (for example, the URL still works), the QR code will scan forever.
Is there a limit to how much text a QR code can hold?
Yes. A QR code can store up to about 4,296 alphanumeric characters or 2,953 bytes of arbitrary text at the lowest error-correction level. In practice you should keep content far shorter: the more data you encode, the denser the grid becomes and the harder it is to scan, especially when printed small. URLs under 100 characters scan most reliably.
What does the error-correction level do?
QR codes include redundant data so they still scan when partially damaged or obscured. Level L tolerates about 7% damage, M about 15%, Q about 25%, and H about 30%. Higher levels make the code denser. Medium (M) is the best default; use High (H) if the code will be printed small, laminated, placed behind glass, or have a logo overlaid on it.
Are my QR codes and their contents private?
Yes. This generator runs entirely in your browser - the text you enter and the image it produces never leave your device. Unlike many online QR services, there is no tracking redirect inserted, no scan analytics, and no stored copy of your data.
Can I use the generated QR codes commercially?
Yes. QR codes are an open ISO standard (ISO/IEC 18004) and the codes you generate are yours to use freely on packaging, posters, business cards, menus, or anywhere else, for personal or commercial purposes, with no attribution required.
Why won't my QR code scan?
The most common causes are: printing it too small (aim for at least 2 × 2 cm for close-range scanning), insufficient contrast between the code and its background, cutting into the quiet zone (the empty margin around the code), encoding too much text, and displaying it on a glossy or curved surface. Increasing the size and error-correction level fixes most scanning problems.
Can a QR code contain things other than a URL?
Yes. A QR code stores plain text, and scanners interpret certain formats specially: URLs open in a browser, 'mailto:' addresses open an email compose window, 'tel:' numbers offer to dial, 'WIFI:T:WPA;S:NetworkName;P:password;;' prompts to join a Wi-Fi network, and vCard/MECARD text adds a contact. Anything else is displayed as text.

Related tools

More free tools you might find useful alongside the QR Code Generator.