Free • No account • No storage
Free barcode & QR code generator
Create barcode and QR code images in seconds. Generate CODE128, EAN-13, UPC-A, EAN-8, or ITF-14 barcodes, preview them, and download PNG or SVG files in your browser.
Live Preview
Code Breakdown
How this barcode generator works
This free generator turns a number or text into a barcode or QR code image. Choose a format, enter the value, and download the image as PNG or SVG. It supports CODE128, EAN-13, UPC-A, EAN-8, ITF-14 and QR codes.
Your browser draws 1D barcodes with JavaScript, and the server stores no images. QR codes come from the QR Server service (api.qrserver.com), which receives the text of the QR code.
For retail use, choose the format your system requires. Then verify the number and its check digit before you print labels in volume. For standards and identifier licensing, follow official GS1 guidance for your region.
Last updated 2 December 2026.
How do I make a UPC code with a generator?
Choose UPC-A as the barcode format, type the 11 digits of your number and click Generate. The generator adds the 12th digit, the check digit, and draws the UPC-A barcode, which you download as PNG or SVG.
- Set "Generator type" to 1D Barcode and "Barcode format" to UPC-A.
- Type 11 digits in "Code value". If you already have all 12 digits, type them: the check digit must then be correct.
- Click Generate and read the preview. The "Code Breakdown" shows the check digit.
- Download the PNG or SVG file.
A generator draws a barcode from a number. It does not give you the right to use that number. For a product that you sell in shops or on a marketplace, the 11 digits must come from the GS1 Company Prefix of your company, or from a single GTIN that you license from GS1 (see GS1 US: how to get a UPC barcode). A made-up number can already belong to another product. For internal stock labels, use CODE128 with your own SKU instead. If you need to know what the numbers mean, read what a GTIN is, and for the 12th digit use the UPC check digit calculator.
Which barcode format should I use?
| Format | What you enter | Check digit | Typical use |
|---|---|---|---|
| EAN-13 | 12 or 13 digits | Digit 13 | Retail products outside North America |
| UPC-A | 11 or 12 digits | Digit 12 | Retail products in the US and Canada |
| EAN-8 | 7 or 8 digits | Digit 8 | Small packages with little room |
| ITF-14 | 13 or 14 digits | Digit 14 | Cartons and cases (GTIN-14) |
| CODE128 | Letters, digits and symbols | Built into the symbol | Internal labels, SKUs, shipping |
With the shorter length, the generator adds the check digit. With the full length, the check digit must be right, or the generator refuses the value. To work out or test a check digit yourself, use the GTIN check digit calculator or the barcode validator. The EAN-13 guide explains the 13 digits.
Retail & inventory labeling
Generate SKU and product ID labels for shelf tags, bin locations, receiving workflows, and POS systems. Keep the same format across your ERP, marketplace feed, and printed labels to reduce mismatches.
Marketing & QR destinations
Create QR codes for product pages, campaign links, menus, and app deep links. Use short URLs and test scan speed on low-light mobile cameras before printing at scale.
Barcode vs QR code: when to use each
- 1D barcodes are best for product IDs, SKU workflows, POS scanning, and packaging labels.
- QR codes are better for URLs, app links, contact cards, and marketing destinations.
- Print with high contrast and leave enough quiet zone around the symbol, so scanners read it reliably.
- Always test on the actual scanner hardware and mobile camera apps you expect users to use.
Print and scan quality checklist
- Use dark symbols on a light background with high contrast.
- Preserve quiet zones (empty margins) around the code edges.
- Do not scale the image much after download. Export at the target size when you can.
- For packaging, validate scans on both handheld scanners and mobile devices.
- Recheck check digits and format rules before high-volume print runs.
Frequently asked questions
Which barcode format should I choose?
Use EAN-13 for retail products sold outside North America and UPC-A for retail products in the US and Canada. Use EAN-8 for very small packages and ITF-14 for cartons. Use CODE128 for internal labels, SKUs and shipping, because it takes letters and digits.
Does the generator calculate the check digit?
Yes. Enter 12 digits for EAN-13, 11 for UPC-A, 7 for EAN-8 or 13 for ITF-14, and the generator adds the last digit. If you enter the full length, the check digit must be correct, or the generator refuses the value.
Is a barcode from this generator valid for selling in shops or on Amazon?
The image is valid, but the number is not yours. Retailers and marketplaces expect a GTIN that GS1 licenses to your company. The generator draws the barcode of a number that you give it and does not issue numbers.
Is a UPC-A the same as an EAN-13?
A UPC-A is an EAN-13 with a leading zero. Both give the same GTIN, and scanners read both. Use the format that your buyer or marketplace asks for.
Is the generator free, and does it store my codes?
It is free and needs no account. The browser draws 1D barcodes, and the server stores nothing. QR codes are drawn by the QR Server service (api.qrserver.com), which receives the text of the QR code.
Should I download PNG or SVG?
Download SVG for print, because it scales without blur. Download PNG for web pages, documents and tools that do not take SVG. For print, export at the size you need and do not enlarge the file.
Which product is this barcode?
Checking a sneaker or streetwear barcode? Look it up to see the product it belongs to. Free, no account.
Have manufacturer style codes in a CSV? Enrich your catalogue in bulk. For a recurring integration, the barcode lookup API returns product, size and images for each code, with a 7-day free trial. The sneaker price API adds resale prices for the size of each barcode.
Learn more
EAN-13 format explained: structure & prefixes
An EAN-13 barcode is a 13-digit GTIN-13 built from a GS1 prefix, a company prefix, an item reference and a check digit.
UPC-A vs UPC-E: format, length & check digit
How UPC-E compresses a 12-digit UPC-A into 8 digits, and why they share a check digit.
GTIN-14 explained: cases, cartons & pallets
GTIN-14 identifies a packaging level such as a case or carton by adding an indicator digit in front of the base product GTIN.
How to validate a barcode: UPC, EAN & GTIN
A practical guide to checking that a UPC, EAN, or GTIN is well formed before you trust it.