📱 二维码生成

生成 URL/文本二维码,支持自定义颜色和尺寸,一键下载 PNG

#000000
#ffffff
📱 输入内容后自动生成二维码

What is a QR Code?

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.

How QR Codes Work

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 Code Error Correction

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 LevelRecoverable RatioUse 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.

QR Code Data Capacity

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):

VersionModulesNumericAlphanumericBytesKanji
121×212717115
225×2548292010
1057×57414251172106
40177×1777089429629531817

Common QR Code Use Cases

QR Code vs 1D Barcode

Feature1D BarcodeQR Code
Data DimensionSingle horizontal directionBoth horizontal and vertical
Data Capacity~20 charactersUp to ~7000 digits or ~2900 bytes
Encodable ContentNumbers or simple letters onlyNumbers, letters, kanji, binary data
Error CorrectionNone built-inBuilt-in Reed-Solomon, up to 30% recovery
Reading DirectionMust align with scan line360° omnidirectional reading
Typical UsesRetail products, shipping labelsMobile payments, URL sharing, e-tickets

How to Customize Your QR Code Look?

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.

Why Choose Our Online QR Code Generator?

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.