Skip to the generator

Free barcode generator

Create UPC-A, EAN-13, Code 128, Code 39, ITF-14, Data Matrix and other barcodes. Enter your data, set the size and colors, then download a PNG or SVG. Free to use, with no sign-up.

Barcode with raised black bars on a white plate

Barcode type

Retail

Shipping and inventory

Other 1D

2D

Data

Code 128 accepts letters, digits and symbols.

Appearance

px
px

Enter your data to create a barcode.

How to make a barcode in 3 steps

Everything happens on this page. Nothing to install.

  1. Step 1

    Choose a barcode type

    Pick the format your retailer, marketplace or scanner expects. Code 128 works for most internal labels.

  2. Step 2

    Enter your data

    Type the number or text to encode. For UPC and EAN codes, the generator checks the length and adds the check digit.

  3. Step 3

    Download and test

    Download a PNG or an SVG. Print one sample at final size and scan it before a full print run.

See it on a mockup

A barcode ends up on a box, a label or a listing. Your barcode is placed on each mockup as you edit.

Kraft mailer box with a barcode label on the side

On the box

Check where the barcode sits and how large it is on a 3D box before the packaging goes to print.

White mailer box with a barcode printed on the side

On light packaging

Dark bars on a light surface scan best. See the contrast on the box you plan to use.

Classic crew-neck T-shirt mockup with AmosMind artwork

Next to your product photos

A listing needs a code that scans and an image that sells. Create the image with a 3D mockup.

Which barcode type do you need?

The type decides what you can encode and who can scan it. These are the ones people ask for most.

SampleTypeUsed forData
UPC-A barcodeUPC-ARetail products in the United States and Canada12 digits
EAN-13 barcodeEAN-13Retail products in most other countries13 digits
Code 128 barcodeCode 128Shipping labels, inventory and order numbersLetters, digits and symbols
Code 39 barcodeCode 39Asset tags, ID badges and industrial labelsCapital letters, digits and a few symbols
ITF-14 barcodeITF-14Cartons and outer cases14 digits
GS1-128 barcodeGS1-128Logistics labels that carry a batch, an expiry date or a weightApplication identifiers and data
Data Matrix codeData MatrixSmall parts, electronics and healthcare itemsText or GS1 data in a square 2D code
PDF417 barcodePDF417ID cards, boarding passes and shipping documentsLonger text in a stacked 2D code
ISBN barcodeISBNBooks13 digits starting with 978 or 979

A barcode image is not a barcode number

This generator turns data into bars. Where the data comes from depends on how you will use the barcode.

This tool draws the image

It turns a number or text you already have into bars that a scanner can read.

Retail numbers come from GS1

To sell in stores, or on marketplaces that check product numbers, license your UPC or EAN numbers from GS1 first.

Internal codes are up to you

For stock rooms, assets and order numbers, define your own scheme and encode it with Code 128 or Code 39.

Barcode questions, answered

What to know before you print your barcode.

Is this barcode generator free?

Yes. Creating and downloading barcodes is free, with no sign-up and no watermark. Product numbers for retail still come from GS1, which charges for them.

Can I use these barcodes to sell in stores?

The image will scan, but retailers also need the number to be registered to your company. License UPC or EAN numbers from GS1, then draw them here.

What is the difference between UPC and EAN?

UPC-A has 12 digits and is used mainly in the United States and Canada. EAN-13 has 13 digits and is used in most other countries. Most scanners read both.

Which type should I use for inventory?

Code 128. It encodes letters, digits and symbols in a compact width.

Which format should I download?

Use SVG for labels and packaging, because it stays sharp at any size. Use PNG for documents and screens.

Do barcodes expire?

No. A barcode is a picture of your data. It keeps working as long as the number is valid in the system that scans it.