How to Print Barcode Labels from Excel

Set up the spreadsheet, stop Excel damaging your barcode numbers, and print a sheet or a roll of labels with names, prices and quantities — without fonts, add-ins or mail merge.

The short version

  1. Put one product per row, with headings: Barcode, Product Name, Price, SKU, Quantity.
  2. Format the Barcode column as Text before typing or pasting codes, so Excel can’t change them.
  3. Save the workbook (.xlsx) or export a CSV.
  4. Open the bulk barcode generator, drop the file in, check the rows, choose your label sheet or roll, and download the PDF.
  5. Print a test page on plain paper at 100%, check alignment, then print the labels at 100%.

The rest of this guide explains each step, and what to do when something goes wrong.

Set up the spreadsheet

Barcode label tools — this one included — want a plain list: headings in the first row and one product per row below. Avoid merged cells, blank rows in the middle and totals at the bottom.

Columns for a barcode label list
ColumnNeeded?What to put in it
BarcodeYesThe EAN, UPC, FNSKU, SKU or other code to encode
Product NameNoPrinted above the barcode, up to two lines
PriceNoPrinted as you type it, so include the currency: $4.99, £3.50
SKUNoAny short extra text: a SKU, size, color or condition
QuantityNoHow many copies of the label to print; empty means 1, 0 means none

Headings don’t have to match exactly. The generator recognizes common names — EAN, UPC, GTIN, FNSKU, Title, Description, Qty, Copies and others — and lets you choose the columns yourself.

Stop Excel breaking barcode numbers

Excel sees a long run of digits and decides it is a number. Numbers don’t have leading zeros, are shown in scientific notation when the column is narrow, and keep only 15 significant digits. All three damage barcodes:

  • Lost leading zeros. The UPC 036000291452 becomes 36000291452 — 11 digits, which is a different (and usually invalid) code.
  • Scientific notation. 4006381333931 shows as 4.00638E+12. If the file is saved as CSV like that, the last digits are gone for good.
  • Codes longer than 15 digits (such as 18-digit SSCCs) are rounded.

The fix: select the barcode column, open Format Cells, choose Text, and only then type or paste the codes. Cells formatted as text keep every digit exactly. If the codes are already damaged, you need the original list from your supplier, GS1 account or system — the missing digits can’t be recovered from the spreadsheet.

For lost leading zeros on codes of a known length there is a shortcut: in a new column, =TEXT(A2,"000000000000") pads a UPC back to 12 digits (use 13 zeros for EAN-13). The bulk generator does the same thing automatically when the padded code has a valid check digit, and marks the row so you can confirm it.

Check every row before printing

After you drop the file in, every row shows a status:

  • ✅ Ready — the code is valid and the label will print.
  • ⚠️ Check — something was fixed or looks unusual, such as leading zeros put back. Read the note.
  • ❌ Error — the code can’t be encoded: wrong length, wrong check digit, letters in a number-only barcode, an empty cell, or a quantity that isn’t a whole number.

Edit any cell in the table and the row is checked again as you type. Choose “Leave them out” to print the good rows now, or “Stop until they’re fixed” if every product must be labeled. For a wrong check digit, don’t just accept the suggested digit: a wrong check digit usually means another digit is wrong. The check digit calculator explains why.

Choose sticker sheets or a label printer

Sticker sheets suit office printers and small batches. Common choices are 30 labels per US Letter sheet (the Avery 5160 size, 2⅝ × 1 in) and 21 per A4 sheet (the L7160 size, 63.5 × 38.1 mm). The Avery 5160 page explains sheet printing in detail, including reusing part-used sheets.

Label printers print from a roll, one label at a time, and are faster and cheaper per label for regular use. Each page of the PDF is one label the exact size of the roll. See thermal label printing and printing on a Zebra printer.

For sheets, download the test page: it prints the outline of every label, numbered, on plain paper. Hold it against a label sheet in front of a window or lamp. If the outlines sit on the labels, print the real thing. If they are off by a millimeter or two, open “Alignment” and move everything by that amount; the setting is remembered for next time.

Two print-dialog settings matter more than anything else: scale 100% (Actual size) and no “Fit to page”. Fit to page shrinks the whole sheet slightly, so the labels drift further off with every row.

A worked example

Say you sell three products at a weekend market and want 12 labels for the tea, 8 for the biscuits and 5 for the lip balm. The spreadsheet has three rows with those numbers in the Quantity column — 25 labels in total. On 30-label sheets that is one sheet with 5 labels left over. Next time, type 26 in “Start at label number” and the first labels go on the 5 that are left.

Three products, 25 labels
BarcodeProduct NamePriceQuantity
4006381333931Organic Green Tea, 20 bags$3.5012
5000159407236Oat Biscuits 300g$1.958
5901234123457Lip Balm$2.255
A 30-label US Letter sheet with nine barcode labels filled in: green tea, oat biscuits and lip balm
A smaller run on the same kind of sheet: three products, three copies each, as the PDF prints it.

Lists from shop and inventory systems

Most shop, point-of-sale and inventory systems can export products to CSV or Excel, and that export usually works as it is. Look for a column called Barcode, UPC, EAN or GTIN; Shopify’s product export, for example, has a “Variant Barcode” column. Choose it as the barcode column, the title or name column for the product name, and the price column if you want prices on the labels.

Exports often have one row per variant — each size or color — and some variants may have no barcode yet. Those rows show ❌ “The barcode cell is empty”; choose “Leave them out” to print the rest. Exports also include many columns you don’t need; there’s no need to delete them, just leave them unmatched.

Keeping labels and stock in step

  • Keep one master list of products and barcodes, and add new products to it as rows, rather than making a new file each time.
  • To print labels for only some products, set the others’ quantity to 0 instead of deleting them.
  • When a price changes, change it in the list and reprint just that product’s labels.
  • Keep the barcode column formatted as Text whenever you add rows, so new codes keep their leading zeros.

Why not a barcode font and mail merge?

Barcode fonts work for simple symbologies such as Code 39, where each character is drawn as a fixed pattern. EAN and UPC barcodes aren’t like that: the bar pattern for each digit depends on its position and on the first digit, and a check digit has to be calculated. EAN fonts need a formula or add-in to turn the number into special characters first, and a mistake gives a barcode that looks fine but won’t scan. Mail merge also makes it hard to control bar widths and quiet zones. A generator that draws the bars directly avoids those problems.

Common problems

  • “Excel shortened this number” — the cell was a number with too many digits or in scientific notation. Fix the column format and paste the codes again.
  • Labels drift down the page — the PDF was scaled. Print at 100% / Actual size.
  • Everything is shifted the same amount — use the alignment settings.
  • Names are cut with “…” — the label has room for two lines; shorten the names or choose a larger label.
  • The barcode is below 80% — the label is too small for a retail barcode. Use a wider label, or remove the name to give the bars more room.

Frequently asked questions

Can Excel make barcodes by itself?

Not without a barcode font or add-in, and EAN and UPC fonts need extra formulas to work. It is simpler to keep the list in Excel and make the labels with a generator that reads the file.

How do I keep leading zeros in Excel?

Format the column as Text before typing or pasting the codes. For codes already typed, =TEXT(A2,"000000000000") pads them back to 12 digits.

How do I print several copies of one label?

Add a Quantity column. Each row prints that many labels.

Can I use Google Sheets?

Yes. Download it as .xlsx or CSV, or copy the cells and paste them into the generator.