Skip to content
  1. Home
  2. For printing
  3. Barcodes

Barcode Generator

A free barcode generator: type a number, get a UPC, EAN, Code 128, Code 39, ITF-14 or QR code with the check digit worked out, as PNG, SVG or PDF, in batches or on sheets of labels.

Nothing is uploaded Free, no account Check digits done for you
Barcode type
How many codes
Type the number without its last digit and the check digit is added, or type it in full and it is checked.
Auto margin leaves the blank space scanners need on each side.
Text under the code
Result
Paper for printing
Preview
Made in your browser. Nothing is uploaded.

How to make a barcode

  1. Pick the type

    EAN-13 or UPC-A for retail, Code 128 or Code 39 for stock and shipping, ITF-14 for cartons, QR for links.

  2. Type the value

    The check digit is added or checked for you. For many codes, paste a list or count up from a number.

  3. Set size and text

    Width, bar height, margin and the line of text under the code.

  4. Download or print labels

    PNG, SVG or PDF, all codes in one ZIP or PDF, or a full sheet of labels.

What you get

590123412345 A product number
Before
5 901234 123457
After

This barcode generator draws UPC-A, EAN-13, Code 128, Code 39, ITF-14 and QR codes from the numbers you type, works out the check digit, and saves them as PNG, SVG or PDF, one at a time, in batches or on a sheet of sticky labels. It is free, needs no account and runs in your browser, so your product numbers are never uploaded.

Barcode types

Barcode types and their uses
Type Holds Used for
UPC-A 12 digits Products sold in stores in the US and Canada
EAN-13 13 digits Products sold in stores in most other countries, books (ISBN)
Code 128 Letters, digits, symbols Stock numbers, shipping labels, inventory, Amazon FNSKU style codes
Code 39 A to Z, 0 to 9, a few symbols Older warehouse, library and ID card systems
ITF-14 14 digits Outer cartons and cases of products
QR code Any text or link Links, contact details, menus, phones

UPC and EAN: check digits and GS1

The last digit of a UPC, EAN or ITF-14 number is a check digit, worked out from the others so a scanner can catch a misread. Type 11 digits for UPC-A, 12 for EAN-13 or 13 for ITF-14 and the generator adds it. Type the full number and it is checked: if the last digit does not match, you see which digit it should be, so a typo never ends up on a thousand printed labels.

An honest note: this generator draws the barcode for the number you type. It does not issue, sell or register numbers. UPC and EAN numbers for products sold in stores are issued by GS1, the organization that runs the system, through its office in your country. A made-up number scans fine, but stores and marketplaces can reject it because it is not registered to your company.

Many barcodes at once

Choose A list and paste a column of values from Excel or Google Sheets, one per line; a second column becomes the text under each code, such as a product name or price. Choose A range to count up from a starting value: from SKU-0001, fifty codes run to SKU-0050, and from a 12-digit EAN prefix each new number gets its own check digit. Every value is checked before anything is drawn, and a wrong line is named with its number.

Download all codes as one ZIP of PNG or SVG files, named after their values, or as one PDF with a page per code, ready to place in a design program.

Label sheets

Choose Label sheet to lay the codes out on sheets of self-adhesive labels. Ready layouts cover common Letter sheets (30, 80, 20, 14 and 10 per sheet) and A4 sheets (65, 24, 21, 14 and 10 per sheet); the codes in brackets are the product numbers most makers use for that layout. Every size can be changed: columns, rows, label size, top and left margins, and the pitch, the distance from one label to the next. Skip labels already used on a sheet, or print several copies of each code.

Before using a label sheet, press Print a test sheet. It prints the outline of every label on plain paper with a 100 mm line across the middle. Lay it over a label sheet and hold both against the light: if the outlines sit on the labels and the line measures 100 mm, the real sheet will match.

Size and printing

A retail EAN-13 or UPC-A is normally about 37 mm (1.5 in) wide including its blank margins, and can be printed from 80% to 200% of that. Smaller bars are harder to scan: the tool warns when a single bar gets thinner than about 0.19 mm. Keep the margin on Auto unless you have a reason not to, because scanners need blank space on both sides. Print at 100% scale with any fit-to-page option turned off, in black on white or a light color.

How it works

The bars are worked out with the open source barcode engine bwip-js and drawn as vector shapes in your browser. The same drawing makes the preview, the print, the SVG and the PDF, so every copy is sharp at any size. PNG files are rendered at 300, 600 or 1200 dpi and carry their print size, so they come out at the right size in other programs. Nothing is sent to a server.

What people use it for, and when it will not work

Labels for products, shelves and bins, stock and asset tags, shipping cartons, library and ID cards, event tickets, and QR codes for menus and links.

  • Numbers for retail are not provided: get them from GS1 (see above).
  • Other types such as UPC-E, Data Matrix, PDF417 and GS1-128 with application identifiers are not offered yet.
  • Thermal label printers with roll labels work through the PDF, but this tool has no driver of its own for them.

Questions and answers

Is this barcode generator free?
Yes. Make as many barcodes as you need, in PNG, SVG or PDF, with no account, no watermark and no limit on the number of codes.
Do you sell or issue UPC numbers?
No. The generator draws the code for a number you already have. UPC and EAN numbers for retail products come from GS1 in your country.
What is the check digit?
The last digit of a UPC, EAN or ITF-14 number, worked out from the others. Leave it out and it is added; type it and it is checked.
Which barcode type should I use?
UPC-A in the US and Canada and EAN-13 elsewhere for products in stores, Code 128 for your own stock numbers, ITF-14 for cartons, QR for links.
Can I make many barcodes at once?
Yes. Paste a list or count up from a starting number, then download a ZIP of images, one PDF, or label sheets.
Which label sheets does it support?
Common Letter and A4 sheets with 10 to 80 labels, and any other sheet once you enter its sizes. Print the test sheet first to check the fit.
Will my phone scan it?
Yes, if it is printed at a sensible size with its blank margins. Phone camera apps read QR codes, and most barcode scanner apps read all six types.
Is my data uploaded?
No. Codes are made on your device. Nothing you type is sent anywhere.

Updated Works offline once the page has loaded