Free shipping on all U.S. orders

  • Hotline: +1 737 241 3848
    Call us for free
Shopping Cart
Close
Free Barcode Generator for Packaging | UPC, EAN & More | Packaging Squad
  1. Home
  2. Tools
  3. Barcode Generator

Free Barcode Generator for Product Packaging

Create a valid UPC, EAN, Code 128, Code 39 or ITF-14 barcode in seconds, with automatic check digits and print-ready PNG or SVG download.

  • Check digit built in
  • Runs in your browser
  • PNG & SVG

1Choose a barcode type

Not sure? Pick what it's for
It's for

2Enter your number

We'll calculate the check digit

3Customize

Colors, size and label
Quick colors:

Dark bars on a light background scan best. Avoid red bars: many laser scanners can't see red.

Preview on a box

Box panel preview

Need packaging with this barcode printed on it?

Get a free custom packaging quote. Takes 20 seconds.

No obligation. Your barcode setup is sent with your request.

Request a free packaging quote

Using your barcode is optional. This form works even if you never download anything above.

Approximate box size Optional

× ×

Artwork, a dieline or a spec sheet. Up to 6 files, 10 MB each.

No account or commitment needed.

Barcode ready. Packaging next?

Generating the barcode is free and instant. When you're ready for real packaging, our team handles the rest, from dielines to print.

  • No account or commitment needed to ask
  • A packaging specialist replies with real options
  • Your barcode number is only shared if you choose
  1. 1Generate your barcode
  2. 2Tell us about your project
  3. 3Get a real quote back
Placement & print

Make sure your barcode scans on the box

A barcode that scans on screen doesn't always scan on a box. These choices make the difference.

  • Print at 100% scale. Shrinking below about 80% narrows the bars and is the most common cause of failed scans at checkout.
  • Keep strong contrast. Dark bars on a light background. Avoid busy patterns, foil and red bars.
  • Protect the quiet zone. Leave blank space on both sides, and keep the code away from edges, seams, folds and curves.
  • Use SVG for print. It stays sharp at any size. Then print a proof and scan-test it with the real scanner.

Which barcode do you need?

FormatUse it for
UPC-ARetail in the US and Canada
EAN-13Retail outside North America
EAN-8Very small retail products
Code 128Shipping, logistics, internal SKUs
Code 39Industrial and inventory labels
ITF-14Shipping cartons and outer cases

Selling in stores? Retail barcodes need a product number registered through GS1. This tool builds and checks the barcode, but doesn't issue numbers.

What is a barcode, and which type do you need?

A barcode is a machine-readable pattern of bars and spaces that encodes a short string of data, usually a product number, a shipping reference or an internal SKU. A scanner reads the pattern and looks up the matching record. The barcode itself doesn't store the price or product name; it points to it.

UPC-A

The standard 12-digit barcode used at retail checkout across the United States and Canada: an 11-digit product number plus a check digit calculated with the GS1 algorithm. If you sell a physical product in US or Canadian stores, this is very likely the format you need, and the product number typically comes from GS1 US.

EAN-13 and EAN-8

EAN-13 is the international equivalent of UPC-A: 12 data digits plus a check digit, and most US scanners read it too. EAN-8 is a compact 8-digit version for products too small for a full-size barcode, such as small cosmetics.

Code 128 and Code 39

Both encode letters and numbers. Code 128 is denser and supports the full ASCII set, making it the better default for shipping labels and internal SKUs. Code 39 is older and less compact but still required by some industrial, government and healthcare systems.

ITF-14

A 14-digit barcode for cartons and outer cases, the box that holds multiple retail units. It's read by warehouse scanners, usually printed larger with thicker bars, and often printed straight onto corrugated board. Place it on at least two adjacent sides of the carton.

UPC vs EAN: which should you use?

If you already have a UPC assigned to your product, use UPC-A. If you sell internationally or want the widest compatibility, EAN-13 is usually the safer default. An EAN-13 is essentially a UPC-A with an extra leading digit, and most modern point-of-sale systems handle both.

Why isn't my barcode scanning?

The most common causes, roughly in order: low contrast or a busy background; scaling too small or stretching it; a crowded quiet zone; a wrong check digit (this tool calculates it for you); ink bleed or low print resolution; physical damage such as creases or scuffs; or a scanner that isn't set up to read that format.

How to add a barcode to your box

  1. Confirm the format your retailer, distributor or carrier requires.
  2. Get your product number: a registered GS1 number for retail, or any internal number for tracking.
  3. Generate the barcode above. It checks your number and adds the check digit.
  4. Keep dark bars on a light background, at or near 100% scale.
  5. Download SVG for print production, or PNG for quick digital use.
  6. Place it on a flat panel of your dieline, away from seams and folds, with the quiet zone clear.
  7. Print a proof and scan-test it with the real scanner before the full run.

Barcode vs QR code

Barcode

A short product or shipping number for checkout and logistics scanners. Required by retailers and carriers.

QR code

Holds links and more, read by any phone camera. Great for product info and marketing. Make one with our QR Code Generator.

More free tools

Plan the rest of your packaging

See all free packaging tools.

FAQ

Frequently asked questions

What's the difference between UPC and EAN barcodes?
UPC-A (12 digits) is the standard US and Canada retail barcode. EAN-13 (13 digits) is its international equivalent. Most modern point-of-sale systems read both.
Do I need a registered product number, or can I make one up?
For retail sale you need a number issued through GS1, so it's uniquely yours. This tool checks the structure and check digit of any number you enter, but it doesn't register or issue numbers.
What is a GS1 check digit?
A final digit calculated from the rest of the number, so scanners can catch typing errors. This tool calculates and checks it automatically for UPC-A, EAN-13, EAN-8 and ITF-14.
What size should I print my barcode?
As close to 100% scale as your packaging allows. Avoid going below about 80%, since that narrows the bars past what many scanners can read.
Should I download PNG or SVG?
SVG for anything going to a printer or designer, because it stays sharp at any size. PNG for quick digital use or software that doesn't accept vector files.
What is a quiet zone?
The blank margin around a barcode. Scanners use it to find where the barcode starts and ends, so crowding it with artwork is a common cause of failed scans.
What is ITF-14 used for?
Shipping cartons and outer cases that hold several retail units. It's read by warehouse and logistics scanners, not at checkout.
Why does my barcode look valid but fail to scan when printed?
Scanning also depends on contrast, print quality, scale and the quiet zone. Print a physical proof and test it with the actual scanner before a full run.
Is this tool free, and is my data uploaded?
It's free with no signup. Barcodes are made entirely in your browser, and nothing is sent anywhere unless you choose to submit a quote request.
Can Packaging Squad print the barcode on my packaging?
Yes. We produce custom printed boxes, labels and cartons with your barcode placed correctly on the dieline. Use the quick quote form next to the preview, or the full form for detailed requests.