Create QR codes instantly for URLs, text, WiFi, email, and phone. No signup required. Download as PNG or SVG. Works with all devices.
PNG, JPG, or SVG. Max 2MB. Logo will appear centered in QR code.
Enter content and click Generate
Follow these simple steps to create your free QR code
Select URL, text, WiFi, email, or phone
Type your text or paste your URL
Click the generate button
Save as PNG or SVG
QR codes (Quick Response codes) are two-dimensional matrix barcodes invented in 1994 by Denso Wave, a subsidiary of Toyota, for tracking automotive parts during manufacturing. Unlike one-dimensional barcodes that encode data horizontally in varying-width stripes, QR codes encode information in both the horizontal and vertical dimensions using a grid of black and white squares called modules. A single QR code can store up to 7,089 numeric characters, 4,296 alphanumeric characters, or 2,953 bytes of binary data — orders of magnitude more than a traditional UPC barcode.
When data is encoded into a QR code, it first passes through a mode indicator that signals the content type: numeric, alphanumeric, byte, or kanji. Each mode uses optimized encoding to maximize data density. The raw data is then converted into a sequence of bits and structured into codewords — groups of 8 bits each. Before the modules are placed on the grid, one of eight predefined mask patterns is applied to the data region. The mask XORs the data module values with a specific pattern to eliminate problematic arrangements like large solid blocks or patterns that resemble the finder patterns, which could confuse scanners. The encoder tests all eight masks and selects the one that minimizes penalty scores based on runs of identical modules, block size, and finder pattern similarity.
QR codes employ Reed-Solomon error correction, a mathematical technique that adds redundant data so that the original information can be reconstructed even when portions of the code are damaged, obscured, or partially missing. This is why QR codes with logos or artwork embedded in the center still scan correctly — the error correction fills in the missing data. The level of redundancy is configurable, allowing designers to trade off between data capacity and resilience. This mechanism is what also allows curved surfaces (like a coffee cup), angled scanning, or partial obstruction to still result in successful reads.
QR codes come in 40 standard versions. Version 1 is a 21x21 module grid, and each subsequent version adds 4 modules per side; version 40 is 177x177. The version required depends on the amount of data and the error correction level chosen. Every QR code contains several fixed structural elements: three finder patterns (the large square-in-square targets in three corners, which tell the scanner where the code is, its orientation, and its perspective distortion), timing patterns (alternating black and white modules between finder patterns that help determine module size), and alignment patterns (smaller square-in-square markers that help correct distortion on larger codes, appearing from version 2 onward). The quiet zone — a 4-module-wide white border — is required around all four sides to separate the code from surrounding graphics.
A static QR code encodes the target information directly into the module pattern. If you encode a URL like https://example.com, scanning the code will always navigate to that URL, and the code itself never changes. Static codes have no moving parts — once generated, the pattern is fixed.
A dynamic QR code, by contrast, stores a short URL that points to a redirection service. When scanned, the user is first sent to that service and then redirected to the final destination. Because the redirection target can be changed at any time without regenerating the QR code image itself, dynamic codes are preferred for campaigns, printed marketing materials, and long-term deployments where the linked content might change. Dynamic codes also typically include scan analytics. The tradeoff is that they depend on the redirection service remaining operational. The QR codes generated on this page are static — the data you enter is embedded irreversibly into the code.
The minimum scannable print size depends primarily on scanning distance, the QR code version, and the module size. For close-range smartphone scanning at roughly 25 cm (10 inches), each module should measure at least 0.4 mm, yielding a minimum size of about 10x10 mm for a version 1 code. For longer distances — such as a poster or billboard — modules need to be larger. A practical rule of thumb: the scanning distance in meters multiplied by 1.5 gives the minimum QR code side length in centimeters. For example, scanning from 2 meters requires the code to be at least 3 cm on each side. In all cases, ensure a quiet zone of at least 4 module widths on all sides and test with multiple devices on the actual print material before finalizing a production run. Glossy paper, direct sunlight, and curved surfaces all reduce scannability and may warrant using a higher error correction level.
PNG (Portable Network Graphics) is a raster format: the QR code is stored as a fixed grid of pixels at a specific resolution. PNG is universally supported by every modern device and application, making it the format of choice for web use, email, presentation slides, and quick sharing on social media. When you download a QR code as PNG, you receive a ready-to-use image that any program can open without additional software. The limitation is that scaling a PNG up will cause pixelation, and scaling it down can blur module edges, potentially reducing scannability.
SVG (Scalable Vector Graphics) is a vector format: the QR code is defined mathematically as shapes, not pixels. This means it can be scaled to any size — from a business card to a billboard — with zero quality loss. SVG files are inherently resolution-independent, which makes them the preferred format for professional printing, graphic design workflows (Adobe Illustrator, Inkscape, Figma), and any scenario where the QR code will be resized or incorporated into a larger design composition. SVG files are also text-based XML, so they can be edited with a text editor or manipulated programmatically.
Summary: use PNG for immediate web use, email, and one-off digital sharing. Use SVG for print production, design software, custom color modifications, and any situation where you may need to resize the code later without regeneration.
During the COVID-19 pandemic, QR code menus became ubiquitous as a contactless alternative to printed menus. A restaurant prints a QR code on a table tent or wall placard; customers scan it to view the menu on their phone, often with the ability to order and pay directly. This system reduces printing costs, enables real-time menu updates without reprinting, and supports multilingual menus by detecting the phone's language settings. For restaurants, the key technical considerations are: using at least error correction level M or Q to account for wear from cleaning and handling, choosing a module size large enough for comfortable scanning from seating distance, and ensuring the linked page is mobile-optimized and loads quickly.
QR codes can encode WiFi credentials using the standardized format WIFI:T:WPA;S:NetworkName;P:Password;;. When scanned, most modern smartphones (iOS 11+ and Android 10+) automatically prompt the user to join the network without typing the password. This eliminates the friction of sharing complex passwords verbally or on signs, reduces typos, and is particularly useful for cafes, hotels, co-working spaces, and home guests. Security note: the WiFi password is embedded in the QR code in plain text; anyone who can see the code can extract it, so treat a printed WiFi QR code as you would treat a printed password.
Adding a QR code to a business card bridges the physical and digital worlds. A vCard-format QR code, when scanned, prompts the phone to create a new contact with name, company, phone, email, and website pre-populated — eliminating manual entry. A URL-based QR code can link to a LinkedIn profile, a personal website, an online portfolio, or a digital business card service. The code should be printed at minimum 15x15 mm to be scannable from a reasonable handoff distance, and the business card design should preserve the quiet zone around the code. Dark-on-light contrast is critical for reliable scanning on textured card stock.
Other common applications include event tickets and boarding passes (where the QR code serves as a machine-readable identifier scanned at entry or gate), product packaging (linking to instruction manuals, warranty registration, or authenticity verification), educational materials (linking to supplementary videos, quizzes, or interactive content), and payment systems (notably WeChat Pay and Alipay, where the QR code is the primary payment mechanism for millions of merchants).