Skip to content
BizMathKit

Barcode Generator

Make UPC, EAN, Code 128, QR and other barcodes in your browser, with check digits added for you. Download SVG or PNG, or a PDF of up to 100.

Inventory, shipping, SKUs and serial numbers. Example: SKU-TS-BLK-M

Your Code 128 barcode

Loading…
Step by step

How to make a barcode

  1. Choose the barcode type. UPC-A for US retail, Code 128 for your own SKUs.
  2. Type the number or text. For UPC and EAN, leave off the last digit and the check digit is added.
  3. Pick a print size. Leave the bar height blank for the standard height, and choose whether to show the number.
  4. Download an SVG or a 600 dpi PNG, both set to the real size. For labels, choose Many and download the PDF.
Barcode types

Which barcode type to use

TypeBest forWhat it holds
UPC-ARetail products in the US and Canada12 digits, last is a check digit
EAN-13Retail products worldwide13 digits, last is a check digit
EAN-8Small retail packs8 digits, last is a check digit
ITF-14Outer cases and cartons14 digits, last is a check digit
Code 128Inventory, shipping, SKUs and serial numbersAny keyboard characters
GS1-128Shipping labels with GS1 data, e.g. (01)(17)(10)GS1 data in (AI) brackets
Code 39Older inventory and ID systems: A–Z, 0–9, - . $ / + % and spaceA–Z, 0–9, a few symbols
QR CodeLinks, contact cards and text for phonesText, links, any characters
Data MatrixSmall parts, healthcare and electronicsText, links, any characters

UPC numbers come from GS1

A generator draws the bars; it can’t give you a number that belongs to you. To sell in stores or on major marketplaces, license your GTINs from GS1, the standards body that issues them. Cheap “UPC codes” sold elsewhere are often numbers first licensed to another company, and retailers can reject them. Your own SKUs and internal labels don’t need GS1: use Code 128.

Printing barcodes that scan

Print dark bars on a white or light background. Black on white is safest, and red bars won’t scan. Keep the clear space either side of the bars, don’t stretch the image unevenly, and print at actual size (100%), and test a printed sample with a phone or scanner before a full run. SVG files print sharpest because they don’t blur when resized. UPC, EAN and carton codes use GS1 sizes; for Code 128, Code 39 and 2D codes our starting size is a practical default, so check it on your scanner.

FAQ

Common questions

Is this barcode generator free?
Yes. There’s no account, no email and no watermark. Barcodes are drawn in your browser and downloaded straight to your device as SVG, PNG or a printable PDF.
Can I make a UPC barcode for my product here?
You can make the barcode image, but the number has to come from GS1. Retailers and marketplaces check that a UPC belongs to your brand. In the US you can license a single GS1 US GTIN for a one-time $30, or a company prefix if you have several products. Then enter that number here to make the barcode.
Which barcode type should I use?
UPC-A for retail products sold in the US and Canada, EAN-13 for retail elsewhere, ITF-14 on shipping cases, Code 128 for your own SKUs, inventory and shipping labels, and a QR code for links people scan with a phone.
What is a check digit?
The last digit of a UPC, EAN or ITF-14 is worked out from the other digits so scanners can catch typos. Enter the number without it and it’s added for you. If you enter the full number with a wrong last digit, you’ll be told which digit it should be. The check digit calculator shows the math.
Should I download SVG or PNG?
SVG for print: it’s a vector, so it stays sharp at any size. Use PNG where a program won’t take SVG. For a sheet of labels, switch to Many and download the printable PDF.
What size should a UPC barcode be?
At GS1’s standard 100% size the thinnest bar is 0.330 mm, the bars are 22.85 mm tall and the symbol is 37.29 mm wide with its side margins. You can scale it from 80% to 200%. Pick the size under Print size, leave the bar height blank, and print the file at actual size, not “fit to page”.
What is the difference between UPC-A and EAN-13?
UPC-A holds 12 digits and is the usual retail code in the US and Canada. EAN-13 holds 13 and is used worldwide. They are closely related: a UPC-A number with a zero in front is the same product number written as 13 digits.
Do the QR codes expire?
No. The text or link is stored in the code itself, with no redirect through our site, so it keeps working as long as the link you typed does. To change the destination you have to make and print a new code.
Can I make a lot of barcodes at once?
Yes. Choose Many, paste up to 100 values, one per line, and download them as a printable PDF on US Letter paper.

Related tools

Built and checked by BizMathKit
Checked by hand against GS1 check digit method, GS1 US: get a barcode, GS1 UK: how big should a barcode be, GS1 Sweden: barcode size guide and bwip-js barcode engine. How we check formulas. Last updated . Runs in your browser — nothing you enter is sent anywhere.