Barcode Generator

Make a barcode in any of 11 types, from UPC-A and EAN-13 to Code 128, ITF-14, PDF417 and Aztec, and download it as SVG, PDF or PNG at the size you set, without what you type leaving your device.

How to make a barcode

  1. Choose the type

    Pick a chip under Type. This page opens on Code 128 with every type shown: Code 128, UPC-A, EAN-13, UPC-E, EAN-8, ISBN, ITF-14, GS1-128, Code 39, PDF417 and Aztec.

  2. Type the data

    Type the number or text in Number or text. The barcode is drawn as you type. If the type cannot hold what you typed, a line under the box says why and what to change, such as "Use digits from 0 to 9." or "UPC-A takes 11 or 12 digits. This one has 10."

  3. Set the size

    For UPC-A, UPC-E, EAN-13, EAN-8 and ISBN, choose a Magnification of 80%, 100%, 150% or 200%. For the others, type the X-dimension (mm), the width of the narrowest bar or square, from 0.1 to 2 mm; it starts at 0.25 mm. Linear types also have Bar height (mm), up to 500 mm. Each type's own options, such as the Code 39 check character or the PDF417 columns, are in the same panel.

  4. Download

    Save it as SVG, PDF or PNG, or press Copy image to paste it into a document.

For a retail product, the number comes before the barcode: how to get a UPC code.

Which barcode type to use

A product sold in stores or online: UPC-A in the United States and Canada, or EAN-13, with a number licensed from GS1. UPC-E or EAN-8 for packs too small for the full barcode. A case or carton of products: ITF-14, which GS1 specifies for trade item groupings and which always carries 14 digits. GS1's table for it gives an X-dimension of 0.495 to 1.016 mm, so set the X-dimension field, which starts at 0.25 mm. Shipping and logistics data in GS1's format (batch, dates, serial shipping container codes): GS1-128. A book: the ISBN barcode.

Your own codes, such as asset tags, bin locations, order numbers or membership cards: Code 128, which holds letters, digits and symbols compactly, or Code 39 where an older system expects it. A lot of text in a small space: a two-dimensional code, PDF417 or Aztec.

Barcodes for your own shelves and stock

Barcodes on your own shelves, tools, files or stock are read only by your own scanners, so any number or text you choose works, as long as your scanner reads the type. The GS1 numbers matter for barcodes that a retailer or marketplace will scan. GS1 US describes the two kinds of barcode: a 1D barcode such as a UPC is a series of lines and spaces, and 2D barcodes use a grid pattern.

In the engine tests, six barcodes of each of the 11 types are read back by a barcode reader from the PNG, the SVG and the PDF. How it works lists the tests.

Free for commercial use, no watermark

The barcode pictures you make here are yours. You can print them on products, packaging and labels you sell, with no watermark, no account and no charge, and no daily limit (a list holds up to 1,000 lines at a time). The library that draws them, bwip-js, is open source under the MIT license. SVG and PDF are vector files, so they print sharp at the size you chose, and the PDF page is cut to the barcode's exact size.

Frequently asked questions

Can I use these barcodes commercially?

Yes. The pictures are yours to use on products and packaging you sell, with no watermark and no sign-up. The number inside a retail barcode is a separate matter: retailers and marketplaces check it against GS1's records, as the guide explains.

How do I make a barcode?

Choose the type, type the number or text, set the size and download the file. The barcode is drawn in your browser as you type.

Which file formats can I download?

SVG and PDF, which keep their exact size and print sharp at any scale, and PNG at 300, 600 or 1200 dpi. Copy image puts a picture on your clipboard.

Can it make QR codes or Data Matrix?

Not here. For Data Matrix and GS1 DataMatrix, use datamatrixgenerator.app, which also works on your device. This site has no QR code type.

Can I make barcodes from an Excel list?

Yes. Copy the column and paste it into the bulk barcode generator, one value per line, up to 1,000 lines. You get a ZIP of files or a sheet of labels.

Is what I type uploaded?

No. Every barcode is drawn in your browser and nothing you type leaves your device. The site counts visits with Google Analytics and Microsoft Clarity, which never receive what you type.