Barcode Generator

Make a free barcode for a product, a book or a shipping label: UPC, EAN, Code 128 and more. Download PNG, SVG or PDF at true size.

What the barcode holds

Barcode type
Text

Letters, digits and symbols, up to 80.

Your barcode

A sample barcode, shown until you type

PNG resolution
203 dpi300 dpi600 dpi

At 300 dpi a bar is 4 dots, so the PNG prints 0.34 mm bars. SVG and PDF keep 0.33 mm.

Type the text to make your barcode.

Size, text and colors

Bar width
0.33 mm

The narrowest bar. 0.25 mm or more suits most scanners; wider reads from further away.

Height
15 mm

The height of the bars, without the text.

Bar color
Background

Each barcode is drawn to its standard, with the check digit worked out, and read back the way a scanner sees it.

Free with no sign-up or watermark: make one barcode for a label or a thousand from a list, for any use.

  • 14 barcode types, retail to 2D
  • True print size in millimetres
  • Bulk barcodes as a ZIP or PDF sheet

How to make a barcode

Create a barcode in three steps, for one code or a whole list.

  1. Create a barcode

    Pick UPC, EAN-13, Code 128 or another type, then type the number or text. The barcode beside it redraws as you type.

  2. Set the barcode size

    Set the bar width and height in millimetres and show or hide the text under the bars. The print size updates live.

  3. Save PNG, SVG or PDF

    Save a PNG at 203, 300 or 600 dpi for label printers, or an SVG or PDF that prints at exactly the size you set.

Barcodes for products: UPC and EAN

Shops in the United States and Canada scan a UPC-A barcode, and almost everywhere else an EAN-13. Both carry a GTIN, the product number a checkout looks up for the name and price. Scanners read either type, so a product needs only one of them on its pack.

The number itself comes from GS1, the body that runs the system: a company buys a prefix from its local GS1 office and numbers each product from it. Amazon, Walmart and most retailers check numbers against the GS1 register, so a made-up UPC can get a listing taken down.

Once you have your numbers, type the first 11 digits of a UPC or 12 of an EAN and the check digit is added for you. Keep the bars dark on a light background and the size between 80% and 200%, the range shop scanners are built for.

Types of barcodes and which to use

Code 128 is the usual pick for anything not sold in a shop: shipping labels, stock bins, tickets and serial numbers. It holds letters, digits and symbols and packs digits in pairs, so it stays short. GS1-128 is the same code with fields such as batch and expiry date, as used on pallets.

Code 39 holds capital letters, digits and seven symbols, and needs more width than Code 128 for the same text. It lives on because older systems and some defence and car industry standards ask for it. Codabar and Code 93 are older still, kept by some libraries, labs and postal services.

ITF-14 marks outer cartons with a 14-digit number inside a thick frame called bearer bars. When the data is long or the space is small, a 2D code holds far more: Data Matrix fits on small parts and medicine packs, PDF417 on ID cards and boarding passes, Aztec on train tickets.

Bulk barcode generator for lists

Switch to Many barcodes and paste a list with one value per line, such as a column copied from Excel or Google Sheets. Every line becomes its own barcode with the same type and size, and a line that cannot be encoded is named with the reason, so you can fix it.

Download the batch as a ZIP of PNG or SVG files, each named after its value, or as a PDF sheet of labels on A4 or Letter paper. Barcodes on the sheet keep the size you set, and you can print several copies of each one to cut out or stick on.

Need a run of numbers for asset tags or tickets? Type a prefix and the first and last number, and the list is written for you with any leading zeros kept. Up to 1,000 barcodes are made at once, all on your own device.

A barcode maker for every label

  • Code 128 and GS1-128

    Any text as a compact Code 128. Type GS1 data such as (01) and (17) in brackets for a GS1-128.

  • ISBN barcode with price

    Type an ISBN-10 or ISBN-13 and add the 5-digit price, like 51999 for $19.99, or 90000 for none.

  • Data Matrix and PDF417

    2D barcodes for small parts, ID cards and tickets: Data Matrix, PDF417 and Aztec, GS1 data too.

  • Check digit calculator

    UPC, EAN, ISBN and ITF-14 get their check digit worked out, and a wrong one you typed is flagged.

  • Printable at true size

    Set the bar width in millimetres. SVG and PDF print at exactly that size; PNG bars fit whole dots.

  • Barcode label sheets

    Lay a list out on an A4 or Letter PDF sheet of labels, or get every barcode as a file in a ZIP.

What happens to your numbers

Product numbers, lists and labels become barcodes on this page and go nowhere else.

  • Processing

    Barcodes are drawn by code in this tab, so it keeps working offline once loaded. Nothing is sent.

  • Storage

    Your numbers and lists are not saved, by us or in your browser. Close the tab and they are gone.

  • Account

    No sign-up, no watermark and no limit on use. Make one barcode or a thousand, for home or business.

Barcode questions

What is a UPC barcode?

The 12-digit barcode on goods sold in the US and Canada. It carries the product's GTIN, and its last digit is a check digit.

How do I get a UPC code for my product?

Join GS1 in your country and license a company prefix, then give each product its own number. Make the barcodes here from it.

UPC vs EAN: what is the difference?

EAN-13 has 13 digits and is used worldwide; UPC-A has 12 and is used in North America. A UPC is an EAN with a 0 in front.

How do barcodes work?

A scanner turns the dark bars and light gaps into digits. Most codes hold only an ID, which the shop looks up in its database.

What is a check digit?

A last digit worked out from the rest to catch typos. On a UPC: triple the odd places, add the even ones, round up to a ten.

Code 128 vs Code 39: which to use?

Code 128 for most jobs: it holds any text and needs less width. Pick Code 39 only when a system or standard asks for it.

How do I make barcodes in Excel?

Copy the column, choose Many barcodes here and paste it. Download a ZIP of images to insert, or a PDF sheet to print.

What is the minimum barcode size?

For shop barcodes, 80% of standard: an EAN-13 about 30 mm wide. Other types scan best with bars at least 0.25 mm wide.

Still stuck, or found a problem? Email dobliquestudio@gmail.com and we will help.