QR Code Generator

The QR Code Generator creates scannable QR codes from a URL, plain text, Wi-Fi credentials, a vCard contact, a PIX payment key, a geo location, or a calendar event, and downloads them as PNG. Images are rendered by the third-party service api.qrserver.com, so the encoded payload is sent to that service.

Free online tool · Generators · No installation · No sign-up required

Overview

A QR code, or Quick Response code, is a two-dimensional barcode that has become an integral part of the digital landscape. Invented in 1994 by Denso Wave, its primary advantage over traditional barcodes is its ability to store significantly more data in a smaller space. This is achieved through a matrix of black and white squares, which can be read by imaging devices like smartphone cameras. The data is encoded using various modes, including numeric, alphanumeric, binary, and kanji. This versatility allows QR codes to represent a wide range of information, from simple text and URLs to contact details and Wi-Fi network credentials. The technology also incorporates error correction, which means that even if a portion of the code is damaged or obscured, it can still be read successfully, ensuring reliability in real-world applications.

The technical brilliance of QR codes lies in their structured design. Each code consists of several key components: position detection patterns, alignment patterns, timing patterns, and the data itself. The position detection patterns, located at three corners of the code, allow a scanner to quickly identify the presence of a QR code and its orientation. The alignment pattern helps to correct for distortion when the code is viewed from an angle. The timing patterns, which run horizontally and vertically between the position detection patterns, define the size of the modules in the code. This robust structure, combined with Reed-Solomon error correction, makes QR codes a highly efficient and reliable method for data storage and retrieval, bridging the gap between the physical and digital worlds.

The importance of QR codes extends far beyond their technical specifications. They have revolutionized various industries by providing a seamless and intuitive way for users to interact with their environment. In marketing, QR codes on posters or product packaging can direct consumers to a website or a special offer with a simple scan. In logistics, they are used for tracking and inventory management. In the realm of personal convenience, they can be used to share contact information, connect to a Wi-Fi network, or make a payment. One practical caveat applies to this generator: the QR image itself is drawn by the third-party service api.qrserver.com, so whatever you encode — a URL, a Wi-Fi password, a payment key — is sent to that service in order to produce the picture. Do not encode anything you would not share with a third party. All codes are generated at error-correction level H, which means roughly 30% of the code can be damaged and it will still scan.

Worked example

A guest Wi-Fi code, and the module warning at a small size

A cafe wants a printed card that joins the guest network. The SSID is Cafe Guest, the password is flat white;2026, the security is WPA and the network is not hidden, and the card mock-up uses a 150 pixel image.

  1. Choose the Wi-Fi template and fill in the fields. The password contains a semicolon, which is the field separator in the WIFI format, so the builder escapes it with a backslash.
  2. The payload that the image encodes is WIFI:T:WPA;S:Cafe Guest;P:flat white with a backslash before the semicolon inside the password, then 2026 and a closing semicolon: 43 bytes in total.
  3. The image request goes to api.qrserver.com with size 300x300, error-correction level H and a 4-module quiet zone, and the whole payload travels inside that URL as an encoded data parameter.
  4. At the 150 pixel size the panel estimates 41 by 41 modules, which asks for at least 147 pixels. The check passes, but only just, so 300 is the preset to use for anything printed.
  5. Download fetches the PNG into a blob and saves it as qrcode-300x300 with a timestamp in the name, because a cross-origin download link would be ignored by the browser.
  6. A vCard behaves differently: five filled fields make a 162 byte payload, and because the estimator plans for three bytes more than you typed it works with 165 and asks for about 69 by 69 modules and at least 231 pixels. The warning then fires at 150 and at 200 pixels, and 300 is the first safe preset.

Result: The Wi-Fi card passes the size check at 300 pixels and clears the 147 pixel minimum at 150 by only three pixels. The password is part of the payload that is sent to api.qrserver.com, so it leaves the device: treat a QR code for a Wi-Fi password or any other secret as public.

How to use QR Code Generator

  1. Enter content
  2. Customize size
  3. Preview QR code
  4. Download PNG

Common mistakes

Encoding a Wi-Fi password, a door code or an API key without noticing where the payload goes.

The image is rendered by api.qrserver.com, so the payload is in the request URL and reaches a third party, along with anything that logs or proxies that request. Generate codes that contain secrets with a local encoder instead, and rotate the secret once the card has served its purpose.

Expecting colours, a logo, rounded modules or a tracked short link.

Every code is a static black-and-white PNG at error-correction level H with a fixed quiet zone. There are no design options and no scan analytics. Add a branding overlay in an image editor afterwards, keep the quiet zone clear, and count scans on the destination page instead.

Choosing a small size because the card only needs to look neat.

Watch the module warning: it compares the payload byte count with the module count and states the minimum pixel size. Long payloads, such as a full vCard or a URL with tracking parameters, stop being scannable well before they stop being encodable.

Testing a Wi-Fi or vCard code with a scanner app that only reads text.

A generic scanner may display the raw WIFI or BEGIN:VCARD text, which looks broken but is correct. Test with the phone camera, which understands the same templates, and check the escaping of semicolons, commas, colons and quotes inside your own values.

Features

Limits worth knowing

When to use it

Practical tips

Why use this tool

When this is not the right tool

Frequently asked questions

What can I encode?

URLs, plain text, Wi-Fi credentials, vCard contacts, a PIX payment key, a geo location, and calendar events. Every code uses error-correction level H.

Is it private?

No. The QR image is rendered by the third-party service api.qrserver.com, so whatever you encode is sent to that service. Do not encode passwords or other secrets you would not share with a third party.

How to scan?

Most smartphones scan via the built-in camera app.

Can I track scans or edit the destination later?

No. These are static codes: the payload is fixed in the image, so there is no scan tracking and no way to change the destination after printing.

Related tools in Generators

Further reading

QR Code Generator: Create QR Codes for Free

Generate QR codes for URLs, text, WiFi, contacts, and more. Customize colors and download in high resolution.