生成 URL/文本二维码,支持自定义颜色和尺寸,一键下载 PNG
A QR Code (Quick Response Code) is a two-dimensional matrix barcode invented by Denso Wave in 1994. Unlike traditional one-dimensional barcodes, QR codes can store information in both horizontal and vertical directions, offering higher data density and faster reading speeds. QR codes are now widely used worldwide in payments, product tracking, marketing campaigns, identity verification, and more.
A QR code consists of a matrix pattern of black and white square modules (called "modules" or "pixels"). Each module represents a binary bit — black modules represent 1, white modules represent 0. This binary encoding allows QR codes to efficiently store numbers, letters, Chinese characters, and even binary data.
A complete QR code contains the following key components:
QR codes have built-in Reed-Solomon error correction, allowing them to be correctly read even when partially damaged, obscured, or stained. QR codes support four error correction levels:
| Error Correction Level | Recoverable Ratio | Use Case |
|---|---|---|
| L (Low) | ~7% | Clean environments, e.g., product packaging |
| M (Medium) | ~15% | General purpose, the most common choice |
| Q (Quartile) | ~25% | Environments with possible light damage |
| H (High) | ~30% | Harsh environments or with logo overlay |
Higher error correction levels reduce the data storage capacity of the QR code. Our tool uses Level M by default, striking a good balance between storage capacity and error correction.
The storage capacity of a QR code depends on the version (size) and error correction level. There are 40 versions of QR codes, ranging from 21×21 modules to 177×177 modules. Here are capacity references for common sizes (Error Level M):
| Version | Modules | Numeric | Alphanumeric | Bytes | Kanji |
|---|---|---|---|---|---|
| 1 | 21×21 | 27 | 17 | 11 | 5 |
| 2 | 25×25 | 48 | 29 | 20 | 10 |
| 10 | 57×57 | 414 | 251 | 172 | 106 |
| 40 | 177×177 | 7089 | 4296 | 2953 | 1817 |
| Feature | 1D Barcode | QR Code |
|---|---|---|
| Data Dimension | Single horizontal direction | Both horizontal and vertical |
| Data Capacity | ~20 characters | Up to ~7000 digits or ~2900 bytes |
| Encodable Content | Numbers or simple letters only | Numbers, letters, kanji, binary data |
| Error Correction | None built-in | Built-in Reed-Solomon, up to 30% recovery |
| Reading Direction | Must align with scan line | 360° omnidirectional reading |
| Typical Uses | Retail products, shipping labels | Mobile payments, URL sharing, e-tickets |
Our QR code generator allows you to customize the following key properties:
Generated QR codes can be downloaded directly as PNG image files for easy embedding in web pages, documents, or printing on physical materials.
Whether you're a developer needing quick test QR codes or a designer creating branded QR codes for marketing materials, our tool has you covered.