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
| 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.