QR Code Generator for URLs, Text and Wi-Fi – Free

This QR code generator turns a URL, plain text or a Wi-Fi configuration string into a PNG image. The code is drawn in your browser and does not expire, because the data is stored in the pattern itself.

How to use the QR code generator tool

  1. Type or paste the text or URL into Content, or select Example to load https://example.com/.
  2. Pick Medium, Low, Quartile or High under Error correction. Medium is preselected.
  3. Enter a value from 256 to 2048 in Image width (pixels). An empty box means 512.
  4. Select Generate QR code and check the preview.
  5. Select Download to save qr-code.png, then scan it with a phone before you print or publish it.

How a QR code stores data

QR codes are defined in ISO/IEC 18004. A symbol is a square grid of dark and light modules. Version 1 is 21 × 21 modules, and each higher version adds four modules per side up to version 40 at 177 × 177. Three large finder squares in the corners let a scanner locate and orient the symbol.

The content is converted to bits in the most compact mode that fits: numeric for digits, alphanumeric for uppercase letters, digits and a few symbols, and byte mode for everything else. Reed-Solomon error correction codewords are appended, and a mask pattern keeps the grid free of large blank or solid areas. This tool picks the smallest version that holds your content.

QR code generator example: version and module size

The example URL is 20 characters and is stored in byte mode. The values below come from running the generator. Around the symbol the tool leaves the quiet zone of four modules that the standard requires, so a version 2 code is 33 modules wide in total. At 512 pixels, each module is about 15.5 pixels.

Content: https://example.com/
Low, Medium, Quartile  ->  version 2, 25 x 25 modules
High                   ->  version 3, 29 x 29 modules

Content: WIFI:T:WPA;S:Office Guest;P:correct-horse-42;;
Medium                 ->  version 4, 33 x 33 modules

Output: qr-code.png, 512 x 512 pixels

Choosing an error correction level

Error correction lets a scanner rebuild the data when part of the symbol is dirty, torn or covered. More correction means more codewords, so the same content needs a larger and denser grid.

  • Low recovers about 7% of the codewords and holds up to 2,953 bytes.
  • Medium recovers about 15% and holds up to 2,331 bytes.
  • Quartile recovers about 25% and holds up to 1,663 bytes.
  • High recovers about 30% and holds up to 1,273 bytes.

Wi-Fi strings and other content types

The tool encodes exactly the characters in the Content box, including spaces and line breaks at the ends. It does not build structured payloads for you. Scanner apps decide what to do from the text itself: a string starting with https:// opens as a link, and mailto: or tel: prefixes start an email or a call.

For Wi-Fi, phones recognize the form WIFI:T:WPA;S:network name;P:password;; where T is WPA, WEP or nopass. Put a backslash before any semicolon, comma, colon, quote or backslash that appears in the name or password. Content that exceeds the capacity of the chosen level stops with the error The amount of data is too big to be stored in a QR Code.

Frequently asked questions

Do QR codes made with this generator expire?

No. The code is static: your text or URL is encoded directly in the image, with no redirect or account behind it. It works for as long as the destination exists. To change the content, generate a new code.

Which error correction level should I choose?

Medium suits most uses and is the default. Choose Low to keep a long URL scannable at small sizes, and Quartile or High for printed codes that may be damaged or partly covered.

How do I make a QR code for a Wi-Fi network?

Type the configuration string yourself, for example WIFI:T:WPA;S:Office Guest;P:correct-horse-42;; and generate the code. Phone cameras that understand the format offer to join the network when they scan it.

Can I add a logo or change the colors?

No. The output is a plain black on white PNG. If you overlay a logo in an image editor, generate the code at the High level first and test that it still scans.

Is the text I encode sent to a server?

No. The symbol is computed and painted on a canvas in your browser, then offered as a PNG download. The content of the code is not transmitted or stored by the site.

Related tools