All free tools
Free tool

Free Barcode Generator

Make clean, scannable Code128, EAN-13, UPC-A and Code39 barcodes with valid check digits. Export PNG or SVG, or a whole list as a ZIP.

No account, no watermark — every barcode is generated in your browser.
Barcode details
60 px
Preview
Bulk mode

This tool turns any number into a scannable barcode with a valid check digit, which is perfect for internal labels, warehouse use and testing. It does not give you an officially licensed UPC or GTIN. For retail sale or marketplace listings, register your numbers with GS1 first.

Done optimizing? Now automate the posting.

Frekto writes, designs and schedules your social posts from your brand, on autopilot.

7-day free trial · No credit card · Cancel anytime

Which format do you need?

FormatLengthBest for
UPC-A12 digitsRetail products in the US and Canada
EAN-1313 digitsRetail products in Europe and most of the world
Code128Any length, letters and numbersInternal warehouse, fulfillment and SKU labels
Code39Letters and numbersOlder warehouse and inventory systems

If you're selling through retailers or listing on a marketplace that requires a GTIN (such as Amazon), you need UPC-A or EAN-13 with an officially registered number from GS1. For labels only your own team scans, Code128 is the simplest choice.

A barcode isn't the same as a registered UPC

This tool turns any number into a scannable barcode with a valid check digit, which is perfect for internal labels, warehouse use and testing. It doesn't give you an officially licensed UPC or GTIN. For retail sale or marketplace listings, register your numbers with GS1 first, because marketplaces can reject codes that aren't registered.

Check digits, explained

The last digit of a UPC-A or EAN-13 isn't part of the product number. It's calculated from the other digits with a fixed formula. A scanner recalculates it on every scan and rejects the read if it doesn't match, so a smudged bar or a typo gets caught before it reaches your inventory system. If you paste a code with the wrong check digit above, the tool shows the right one and fixes it in one click.

Print size for reliable scanning

  • Print at 300 DPI or higher.
  • Keep the narrowest bar at least 0.010 in (0.254 mm) wide.
  • Don't shrink a Code128 or EAN-13 barcode below about 1 inch (2.5 cm) wide.
  • Test with the same scanner or app your team will actually use.
FAQ

Common questions

“Barcode” is the general term for the scannable pattern. UPC-A is one specific barcode format, used for retail products in the US and Canada. EAN-13 and Code128 are other common formats.

You can make a scannable UPC-A barcode from any 11 or 12 digit number, which is fine for internal use and testing. For retail or marketplace listings you need a number registered with GS1.

It's the last digit, calculated from the others. Scanners use it to catch misreads and typos, so EAN-13 and UPC-A won't scan correctly without a valid one. This tool calculates and fixes it for you.

EAN-13 has 13 digits and is the international standard. UPC-A has 12 digits and is used in the US and Canada. It's effectively an EAN-13 with a leading zero, and most modern scanners read both.