Make a Barcode for Free, One or Hundreds at a Time

Choose UPC-A, EAN-13, EAN-8, Code 128 or Code 39, type a number or text, and download a PNG or SVG. Everything runs in your browser, so nothing you type is uploaded.

  • Free, no sign-up
  • No watermark
  • Up to 200 in one ZIP
  • PNG and SVG
  • Made in your browser

1Choose the barcode type

2Enter the number or text

11 digits (the check digit is added) or 12 digits (it is checked).

Your barcode

Size and style options

Bars are always black, because scanners need strong contrast. The standard white margin is part of the barcode: leave it on unless you are placing the image in your own layout with space around it. For retail print, choose Extra tall to keep GS1's proportions.

Make many at once

Put one value on each line. It uses the barcode type and options chosen above and downloads one ZIP with a file for every line (up to 200 lines).

Barcode type for this list: UPC-A

One page for each barcode type

Which barcode should you make?

Choose by where the barcode will be scanned. Shop checkouts read UPC and EAN numbers, and those numbers come from GS1. Your own scanners read whatever you print, so for your own labels Code 128 or Code 39 with your own text is enough.

UPC-A

GS1 number for retail
Holds
12 digits (11 + check digit)
Best for
Shops in the US and Canada
Open the UPC-A generator

EAN-13

GS1 number for retail
Holds
13 digits (12 + check digit)
Best for
Shops worldwide; books (978, 979)
Open the EAN-13 generator

EAN-8

GS1 number for retail
Holds
8 digits (7 + check digit)
Best for
Packs too small for an EAN-13
Open the EAN-8 generator

Code 128

Any text, no registration
Holds
Letters, digits, spaces, punctuation
Best for
Stock, shipping and internal labels
Open the Code 128 generator

Code 39

Any text, no registration
Holds
A–Z, 0–9, space and - . $ / + %
Best for
Asset tags, IDs, older systems
Open the Code 39 generator

QR code

Opens on any phone
Holds
Links, text, WiFi logins, contact cards
Best for
Anything people scan with a phone camera
Open the QR Code Generator

Quick pick

  • Selling in shops in the United States or CanadaUPC-A
  • Selling anywhere else, or printing a book's ISBNEAN-13
  • A pack too small for EAN-13, and GS1 gave you an 8-digit numberEAN-8
  • Your own stock, shelves, shipping or files, with any textCode 128
  • An older system or asset tags that ask for Code 39Code 39

Why use this barcode generator

Most free barcode makers are run by companies that sell scanners, label software or barcode numbers. This one sells nothing, and it is built to make a correct barcode quickly.

Nothing leaves your browser

The barcode is drawn on your device. Product numbers and asset lists you type are never sent to a server.

Check digit worked out

Type 11 digits for UPC-A, 12 for EAN-13 or 7 for EAN-8 and the last digit is added. Type the full number and it is checked. If it's wrong, you're told the right digit.

200 barcodes in one ZIP

Paste a list and download every barcode at once, as PNG or SVG files. Lines that don't fit are listed, not silently dropped.

Files ready for print

SVG stays sharp at any size. PNG saves at 1x to 4x, with a transparent background if you need one.

Tested with a real reader

In our tests, more than 1,300 generated barcodes in all five types were read back correctly by ZXing, an independent open-source barcode reader.

Straight answers on GS1

We don't sell barcode numbers, so we can tell you plainly when you need one from GS1 and when you don't.

FreeNo sign-up, no limit
No watermarkUse them in commercial work
5 typesUPC-A, EAN-13, EAN-8, Code 128, Code 39
PNG + SVG1x to 4x, or vector

How big to print a UPC or EAN barcode

GS1 sets UPC and EAN sizes as a percentage of a standard 100% size, and shop scanners are built for 80% to 200%. Measure the bars from the first long guard bar to the last. The whole symbol is wider because it includes the white margins.

UPC and EAN sizes from 80% to 200%
SizeThinnest barBars, UPC-A or EAN-13With marginsBars, EAN-8
80% (smallest)0.264 mm25.08 mm29.83 mm17.69 mm
100% (standard)0.330 mm31.35 mm37.29 mm22.11 mm
150%0.495 mm47.03 mm55.94 mm33.17 mm
200% (largest)0.660 mm62.70 mm74.58 mm44.22 mm
  • Use the SVG for print. Place it in your design program and scale it until the bars match a width in the table.
  • Keep the bars tall. With bar width Normal, choose bar height Extra tall to keep GS1's proportions. GS1 advises against shortening the bars on retail products.
  • Keep the white margin. It is part of the barcode: 9 bar widths on each side of a UPC-A, 11 on the left and 7 on the right of an EAN-13.
  • Print black on white, then scan a test print with a phone or scanner before the full run.

Worked out from GS1's bar width of 0.330 mm at 100%: 95 modules of bars for UPC-A and EAN-13 (113 with margins) and 67 for EAN-8. Source: GS1 General Specifications, as published in the GS1 UK and GS1 Sweden size guides.

Do you need a GS1 barcode number?

Yes, you need GS1

  • Products sold in shops
  • Amazon, Walmart and other marketplaces that ask for a GTIN
  • Anything a retailer or distributor will scan as your product

No, use any text

  • Stock bins and shelf labels
  • Asset tags on equipment
  • Library, membership and ID cards
  • Tickets, vouchers and file labels
  • Tests, demos and mock-ups

GS1 is the non-profit standards body that issues UPC and EAN numbers through an office in each country, such as GS1 US, GS1 UK and GS1 Pakistan. A licence normally costs a fee, so check your GS1 office for current prices. The barcode picture itself is free to make here.

Random fills in a valid-looking number with the right check digit for testing. It is not registered to you and may belong to a real product, so never print it on goods. Read what a UPC code is and how to get one.

How to make a barcode

  1. Choose the typeUPC-A, EAN-13 or EAN-8 for retail numbers; Code 128 or Code 39 for your own text.
  2. Type the number or textLeave off a UPC or EAN check digit and it is added for you.
  3. Check the previewThe line above it confirms the data or explains what's wrong.
  4. Download and testSave a PNG or SVG, then scan it with your phone before you print a batch.

For many barcodes, paste one value per line under Make many at once and download a ZIP. Want a code that opens a web page? That is a QR code: use the QR code generator.

Frequently asked questions

Is this online barcode generator really free?

Yes. There's no sign-up, no watermark and no limit, and you can use the barcodes in commercial work. For products sold in shops, the number itself must be one you own from GS1.

Which barcode type should I use?

UPC-A for shops in the US and Canada, EAN-13 elsewhere and for books, EAN-8 only for very small packs, Code 128 for your own labels with any text, and Code 39 for systems that ask for it.

Do I need to type the check digit?

No. Type 11 digits for UPC-A, 12 for EAN-13 or 7 for EAN-8 and the check digit is added. If you type the full number, it is checked, and you're told the right digit if yours is wrong.

Can I make many barcodes at once?

Yes. Put one value per line in Make many at once, up to 200, and download a ZIP of PNG or SVG files. Lines that don't fit the type are skipped and listed so you can fix them.

How do I get or register a barcode number for my product?

From GS1 in your country, normally for a fee. A generator can draw the barcode but cannot issue or register the number. Marketplaces such as Amazon generally check numbers against GS1's records, so a made-up number may be rejected.

Is there a random barcode generator?

Yes. Click Random for a valid number with the check digit worked out. It isn't registered to anyone and may match a real product, so use it for tests and mock-ups only.

Will my barcode scan?

The bars follow the published patterns, and our tests read them back with an independent barcode reader. Still, scan your own print first. Keep the white margin, print black on white, and don't shrink a UPC or EAN below 80% of its standard size.

What size should I print a UPC or EAN barcode?

Between 80% and 200% of GS1's standard size. At 100% the bars are 31.35 mm wide and the whole symbol with its margins is 37.29 mm. Download the SVG and scale it to a width in the size table on this page.

What characters can I use?

UPC and EAN take digits only. Code 128 takes letters, numbers, spaces and punctuation, up to 80 characters. Code 39 takes capital letters, digits and - . space $ / + %, up to 40 characters.

What is the difference between 1D and 2D barcodes?

A 1D barcode is a row of bars that holds a short number or text. A 2D code, such as a QR code, is a grid that holds much more. GS1's "Sunrise 2027" plan asks shops to be able to scan 2D codes at checkout by the end of 2027.

Can I print barcode labels?

Yes. Download the barcodes, or a ZIP of many, and place them on a label sheet in Word or your label software. This page makes the barcodes; it doesn't lay out label sheets.

Can I make a barcode without the numbers underneath?

Yes. Open Size and style options and untick Show the numbers. Keep them on product barcodes, because staff type them in when a scan fails.

Can I make an ISBN barcode for a book?

Yes. A book's ISBN-13 is an EAN-13 that starts with 978 or 979, so use the EAN-13 type. The page doesn't add the 5-digit price add-on some publishers print beside it, and your ISBN comes from your country's ISBN agency.

Can I convert a barcode to a number?

This page makes barcodes; it doesn't read them from a picture. The digits printed under the bars are the number. To read a barcode, scan it with a phone camera or a scanner app.

Can I make a barcode for my website?

To open a web page from a phone camera, make a QR code instead. Most phone cameras open QR codes as links, but not 1D barcodes.

Is my data uploaded?

No. Barcodes are drawn in your browser, and what you type never leaves your device.

Guides