Runs in your browser · nothing is uploaded
Barcode Generator
Use this barcode generator to create barcodes for your products, stock and shelves — one at a time or hundreds from a spreadsheet — and print them on standard label sheets.
This draws barcodes; it doesn't issue product numbers. Registered EAN and UPC numbers come from GS1. Use your own GS1-issued numbers, or Code 128 for internal codes.
Print label sheets
Choose a layout that matches your label sheets, or enter its measurements. Print the calibration page on plain paper first to check the alignment.
Printing barcodes that scan
1. Test the layout
Print the calibration page on plain paper at 100%. Check the rulers measure 100 mm and 4 inches, then line it up against a label sheet.
2. Print one sheet
Turn off “Fit to page”, use your printer's best quality and black ink, and choose the label or heavy paper setting if it has one.
3. Scan before bulk
Scan a few labels with the scanner or phone app you'll really use, from the distance you'll use it. Then print the rest.
Frequently asked questions
Does this give me a barcode number for my product?+
No. It draws barcodes for numbers you already have. To sell in shops that need EAN or UPC codes, you need a GS1 company prefix and numbers issued by GS1 or your local GS1 office. For your own stock, shelves or shipping, any Code 128 value works.
Which barcode type should I use?+
EAN-13 for retail products sold internationally, UPC-A for retail in the US and Canada, and Code 128 for internal SKUs, bin locations, shipping and anything with letters.
What is a check digit?+
The last digit of an EAN or UPC number, worked out from the others so scanners can catch misreads. Enter 12 digits (EAN-13) or 11 digits (UPC-A) and it's added for you; enter the full number and it's checked.
Can I make many barcodes from a spreadsheet?+
Yes. Save your sheet as CSV and choose it under “CSV file”. Pick which columns hold the barcode, product name, SKU, price and number of labels. Rows that aren't valid are listed with the reason, and leading zeros are kept.
How do I get labels to line up with my label sheets?+
Choose the layout closest to your sheets, then print the calibration page on plain paper at 100% / Actual size. Hold it over a label sheet against a window and adjust the margins or gaps until the boxes line up.
Why won't my barcode scan?+
The usual causes are bars printed too small, a missing blank margin (quiet zone) either side, “Fit to page” scaling, or low-contrast printing. Keep bars at least 0.25 mm wide, use the recommended quiet zone, print in black on white and test with the scanner you'll use.
What is the difference between EAN-13 and UPC-A?+
UPC-A is the 12-digit barcode used in the US and Canada; EAN-13 is the 13-digit version used everywhere else. A UPC-A number is the same as an EAN-13 number with a 0 in front, and retail scanners worldwide read both, so use the number and format your GS1 office gave you.
Should I download PNG or SVG?+
SVG is a vector file, so it stays sharp at any size — best for packaging artwork and design software. PNG is an image exported at 300 dpi, handy for documents and label programs that don't take SVG. For a list or CSV, “ZIP of all” gives you both for every code.
How can I check a barcode scans before I print it?+
Click “Verify scan”. The tool exports each barcode as a PNG and reads it back with an independent decoder (ZXing), then tells you which, if any, didn't decode to the right value. Still test a printed copy with your own scanner, since printing and label size matter too.
How long can a Code 128 barcode be?+
Here, up to 80 characters of standard ASCII — letters, digits, spaces and common symbols, but no accented letters or emoji. The longer the value, the wider the barcode, though runs of digits are packed two to a symbol, so numbers stay narrower than text of the same length.
Are my product codes uploaded?+
No. Barcodes, label sheets and ZIP files are all made in your browser, and nothing is uploaded or stored.
More free Northlane tools
- QR code generatorCreate QR codes for links, Wi-Fi, and more
- Profit margin calculatorMargin, markup, break-even
- Bank statement to Excel converterBank statement to Excel & CSV
- Tip calculatorCalculate tips, tax and service charges with equal or weighted group splits, and convert the total into your home currency.
- Sales tax calculatorCalculate inclusive or exclusive sales tax with editable state and local rates.
- Discount calculatorApply stacked discounts, calculate savings and recover an original price.
- Savings goal calculatorProject savings and calculate the monthly contribution needed for a goal.
- Gas cost calculatorEstimate fuel, tolls and trip costs; compare two vehicles.
- Amortization calculatorCompare monthly and biweekly schedules, extra payments, interest-only loans and balloon balances.
- Electricity cost calculatorAppliance running costs
- All toolsBrowse the full collection