QR Code & Barcode Generator

Style

Center logo (optional)

Live preview

QR code preview

Enter content to preview

Download

Download generated code images

Free online QR Code/Barcode generator, supporting 9 QR Code types and 6 barcode formats, customizable colors, styles and Logo, batch generation with ZIP download, ready to use without registration.

Related

What is QR Code?

QR Code (Quick Response Code) is a type of 2D matrix barcode invented in 1994 by Denso Wave (a subsidiary of Toyota automotive component supplier Denso) in Japan. Originally used for tracking parts in automotive manufacturing, it became widely used across various fields due to fast scanning speed, large storage capacity, and strong error correction capability. QR Codes consist of black and white square modules (dots) with position detection markers (large squares) at three corners, allowing scanners to quickly recognize from any angle.

Compared to traditional 1D barcodes, QR Codes have much larger data capacity: up to 7089 numeric characters, 4296 alphanumeric characters, 2953 bytes of binary data, and approximately 984 Chinese characters (UTF-8). QR Codes have 4 error correction levels (L/M/Q/H), and can be correctly read even when up to 30% of the code surface is blocked or damaged — this is why Logos can be placed in the center of QR Codes.

QR Codes have become infrastructure for the mobile internet: payment scanning (WeChat Pay/Alipay), WiFi connection, vCard exchange, URL sharing, event check-in, product traceability, e-ticketing, menu ordering and more are almost ubiquitous. This tool generates standard QR Codes compatible with all mainstream phone cameras and scanning apps.

Use Cases

  • Stores/restaurants/hotels generate WiFi QR Codes to display on walls, guests scan to connect automatically without asking for password
  • Generate vCard QR Codes containing name/phone/email/company, printed on business cards for scanning to save contacts
  • Marketing campaigns generate QR Codes with brand Logo and custom colors, printed on posters, flyers, displays to guide scanning
  • E-commerce/retail generate EAN-13/UPC barcodes for products, used on product packaging and inventory management
  • Batch generate multiple product URL QR Codes or SKU barcodes, ZIP download for warehouse label printing
  • Generate geolocation QR Codes printed on scenic area signs, event invitations to guide navigation to specified locations
  • Generate calendar event QR Codes, scanning automatically adds meetings/events to phone calendar

How to Use

  1. Select generation type: Toggle between "QR Code" or "Barcode" at the top
  2. QR Code: Select URL/Text/WiFi/vCard/Email/Phone/SMS/Geolocation/Calendar Event from type tabs, fill in corresponding content
  3. Barcode: Select CODE128/EAN-13 or other format, enter corresponding data (EAN-13 requires 13 digits)
  4. Adjust style: Choose colors, style, size, error correction level; for Logo, upload center image and adjust size
  5. Batch mode (optional): Check batch mode, enter one piece of content per line, click ZIP download after generation
  6. After real-time preview is satisfactory, click to download PNG image or copy to clipboard

Features

  • 2-in-1 QR Code + Barcode: Generate both QR Codes and barcodes in one tool without switching between websites
  • 9 QR Code types: URL, Text, Email, Phone, SMS, WiFi, vCard, Geolocation, Calendar Event, covering all daily scenarios
  • 6 barcode formats: CODE128/EAN-13/EAN-8/UPC-A/CODE39/ITF-14, meeting retail, logistics, warehousing needs
  • Rich customization: Foreground/background colors, gradients, 3 styles (square/rounded/dots), 4 sizes, 4 error correction levels freely configurable
  • Center Logo upload: Upload any image as center Logo, adjustable size and corner radius, automatic white background padding for recognition rate
  • Batch generation + ZIP packaging: URL/text/barcodes support batch input, one-click generation then ZIP download, ideal for large-scale material production
  • Real-time preview: Content input generates preview instantly, WYSIWYG, no need to click generate button
  • Pure frontend generation: All QR Codes and barcodes are drawn locally on browser Canvas, data not uploaded to servers, secure and reliable

Best Practices

Set Error Correction Level to H (30%) When Adding a Center Logo

The higher the error correction level, the stronger the ability of a QR Code to remain scannable when partially obscured. Only Level H (30%) can reliably cover the data points occupied by a center Logo; using the default Level M (15%) with a Logo often results in scanning failures. It's recommended to scan-test on a phone first before batch printing.

QR Code Official Specification (ISO/IEC 18004)

Reserve at Least a 4-Module-Wide Quiet Zone Before Printing

The Quiet Zone is the blank margin that must be left on all four sides of a QR Code/barcode—at least 4 modules (data points) wide—otherwise most scanners can't identify the boundaries and will fail to scan. For posters, business cards, and display stands, make sure the design has extra white space on all four sides, never flush to the edge.

QR Code Introduction - Wikipedia

Compress Long URLs Into Short Links Before Generating QR Codes

The density of a QR Code's data points is positively correlated with the length of its stored content: the longer the URL, the more complex the QR Code, the slower the scan, and the lower the recognition rate. Generate a short link first (using a URL shortener), then encode it into the QR Code—the data points will be sparser, scans will be more reliable, and printing will be easier to scale up.

Can I add a Logo in the center or customize colors?

Center Logo Auto-Added With White Backing

When you upload a Logo, this tool automatically adds a white circular or square backing beneath it to increase the contrast between foreground and background, preventing dark Logos from being placed on dark data points and causing scan failures. Do not manually remove this white backing when downloading the PNG, otherwise it will fail when printed or placed on dark backgrounds.

What is error correction level? Which one should I choose?

Test With One Sample Before Batch Generation

In batch mode, dozens or even hundreds of QR Codes are generated at once. Before downloading them all, scan 1-2 with your phone to verify: check that the content is correct, the Logo scans properly, the contrast is sufficient, and the error correction level is appropriate. Only then start packing the ZIP for batch download, to avoid rework if scans fail after printing.

Can I batch generate multiple QR Codes? How?

FAQ

What's the difference between QR Codes and barcodes? When to use which?

QR Code is a 2D matrix code that can store more data (URLs, text, contact info etc.) with strong error correction, suitable for marketing, WiFi connection, vCard sharing, payment codes and more. Barcode is a 1D code that only stores numbers and a small number of characters with fast scanning speed, widely used in retail (EAN-13/UPC), logistics (CODE128), library management and other scenarios. This tool supports both QR Code and barcode generation in one page.

Can I generate WiFi QR Codes? How to use?

Yes. Select the "WiFi" type, enter WiFi name (SSID), password and encryption method (WPA/WPA2/WEP/No password). After generation, scan with your phone camera to connect to WiFi automatically without manually entering the password. For hidden networks, check the "Hidden Network" option. Perfect for restaurants, hotels, cafes, meeting rooms and other places to display on the wall for guests.

Can I add a Logo in the center or customize colors?

Yes. This tool supports custom foreground and background colors (12 preset colors + color picker for free selection), gradient effects, 3 dot styles (square/rounded/dots), and you can upload a custom Logo image to place in the center of the QR Code, with adjustable Logo size and corner radius. Note: When adding a Logo, it is recommended to set the error correction level to H (30%) to ensure scanning success rate.

What is error correction level? Which one should I choose?

QR Code error correction level indicates the ability to be correctly recognized even when part of the area is blocked or damaged: Level L (7%) for clean QR Codes without obstruction; Level M (15% default) for general use; Level Q (25%) for small Logos; Level H (30%) for large center Logos or scenarios where printing may be damaged. Higher error correction levels result in more complex QR Codes with denser dots. If adding a center Logo, H level is recommended.

Can I batch generate multiple QR Codes? How?

Yes. Under URL and Text types, check "Batch Mode", enter one URL or piece of text per line. The tool will automatically generate corresponding QR Codes/barcodes line by line. After generation, click "Download ZIP" to batch download all images. Batch mode supports URL and text QR Codes, as well as all types of barcodes, ideal for batch production of store product labels, event links, employee business cards and more.

Do generated QR Codes expire? What if they can't be scanned?

They don't expire. This tool generates static QR Codes with content directly encoded in the image, independent of any server, permanently valid. If scanning fails, check: 1) Is the content too long (QR Codes have limited capacity, URLs should be as short as possible); 2) Is the Logo too large covering too many dots; 3) Is the error correction level high enough; 4) Is there enough Quiet Zone when printing; 5) Is there sufficient contrast (large color difference between foreground and background).

What barcode formats are supported? What are the differences?

Supports CODE128 (most universal, supports alphanumeric, commonly used in logistics/warehousing), EAN-13 (13-digit international retail barcode), EAN-8 (8-digit shortened retail barcode), UPC-A (12-digit North American retail barcode), CODE39 (commonly used in industrial/military fields), ITF-14 (14-digit logistics carton code). EAN-13 requires 13 digits of pure numbers, UPC-A requires 12 digits, CODE128 supports any alphanumeric characters and symbols.

Glossary

QR Code
Quick Response Code, a standard for 2D codes invented by Denso Wave, currently the most widely used 2D barcode format globally.
Error Correction Level
The ability of a QR Code to be recognized even when part of the area is damaged. L=7%, M=15% (default), Q=25%, H=30%. H level is recommended when adding a Logo.
vCard
Standard electronic business card format (.vcf file). Encoding vCard data in a QR Code allows scanning to directly add to phone contacts.
CODE128
The most commonly used 1D barcode format, supporting all 128 ASCII characters, widely used in logistics, warehousing and internal management.
EAN-13
International retail barcode standard with 13 digits, the most widely used barcode format for global retail products, commonly seen on product packaging.
UPC-A
Retail barcode format commonly used in the United States and Canada with 12 digits, compatible with EAN-13.
Quiet Zone
Blank margin that must be reserved around QR Codes/barcodes (at least 4 modules wide), otherwise scanners cannot correctly identify boundaries.
Static QR Code
QR Code with content directly encoded in the image, permanently valid and unmodifiable; different from dynamic QR Codes (content is a short link pointing to a server, can track scan data and modify destinations).
WiFi QR Code
QR Code encoding WiFi SSID/password/encryption method in standard format, phone camera scan can automatically connect to WiFi without manually entering password.

QR Code Error Correction Level Comparison

Error LevelRecovery RateDot DensityUse Scenario
L (7%)Up to 7% damage recoverableLowest (simplest)Clean environments, no obstruction, screen display
M (15%)Up to 15% damage recoverableLowerGeneral printing, posters, regular use (default recommended)
Q (25%)Up to 25% damage recoverableHigherWith small Logo, potential minor damage
H (30%)Up to 30% damage recoverableHighest (most complex)Center Logo placement, industrial environments, outdoor printing

Common Barcode Format Comparison

FormatCharacter TypeLength RequirementTypical Usage
CODE128Letters + numbers + symbolsAny lengthLogistics, warehousing, asset labels, internal management
EAN-13Numbers onlyFixed 13 digitsInternational retail product barcodes (global standard)
EAN-8Numbers onlyFixed 8 digitsShortened barcodes for small products (e.g., chewing gum)
UPC-ANumbers onlyFixed 12 digitsUS/Canada retail product barcodes
CODE39Uppercase letters + numbers + few symbolsVariable lengthIndustrial, military, medical, library management
ITF-14Numbers onlyFixed 14 digitsLogistics outer carton/container barcodes

Authoritative References