How to Create Barcode Labels from Excel

If your product data lives in an Excel spreadsheet, you are already most of the way to a complete batch of barcode labels. This guide walks through preparing your file, importing it into Batch Label Studio Pro, choosing the right barcode format, and exporting print-ready output — step by step.

Step 1 — Prepare your Excel columns

Batch Label Studio Pro expects at minimum a column containing the barcode value for each row. The most useful structure has three to five columns:

ColumnExample valuesPurpose
barcode_valueSKU-001, 036000291452The data encoded in the barcode
barcode_typecode128, upca, ean13, qrWhich barcode standard to use
label_nameWidget A, Blue T-Shirt LTitle printed on the label
descriptionSize: L, Colour: BlueOptional second line of text
quantity1, 4, 10How many copies of this label to print

Column names do not need to match exactly — you will map them during import. The table above uses a naming convention that makes mapping straightforward.

Step 2 — Fix leading zeros before saving

Excel automatically strips leading zeros from numeric cells. A UPC-A value like 036000291452 becomes 36000291452 — one digit short and invalid for retail scanning.

There are two reliable ways to prevent this:

  1. Format the barcode column as Text before entering any data: select the column, open Format Cells, choose Text, then type your values.
  2. Prefix each value with a single quote when entering: '036000291452. The quote forces Excel to treat the cell as text and does not appear in the exported CSV.
Save as CSV (comma-separated), not XLSX when the column is formatted as Text. Batch Label Studio Pro reads both CSV and XLSX, but a Text-formatted CSV column preserves leading zeros reliably. If you export XLSX, verify the barcode column is still formatted as Text after saving.

Step 3 — Choose the right barcode type

If your barcode_type column is not yet filled, here is a quick decision guide:

Code 128code128

Use for: Internal inventory, logistics, warehouse picking, asset tags

Why: Encodes any combination of letters, numbers, and punctuation. Compact and universally supported by handheld scanners.

UPC-Aupca

Use for: Retail products sold in North American stores

Why: 12 digits. Required by major retailers in the US and Canada. GS1 registration needed for legitimate retail use.

EAN-13ean13

Use for: Retail products sold internationally

Why: 13 digits. The global equivalent of UPC-A. Any EAN-13 scanner also reads UPC-A.

Use for: URLs, contact cards, WiFi credentials, long text strings

Why: Scanned by smartphone cameras. Stores far more data than a 1D barcode.

Step 4 — Import your file into Batch Label Studio Pro

  1. 4a.Open Batch Label Studio Pro in your browser. Drag your CSV or XLSX file onto the import area, or click Browse to select it. The file is read locally — nothing is uploaded.
  2. 4b.The importer shows a preview of detected columns and up to 5 sample rows. Verify that leading zeros are intact and that barcode values look correct.
  3. 4c.Map your columns: select which column is the barcode value, which is the barcode type, and optionally which columns are the label title and description.
  4. 4d.If all rows use the same barcode type (e.g., all Code 128), choose "All rows use this type" and select it once — you do not need a barcode_type column.

Step 5 — Choose a template and export

After mapping columns, select a label template. Batch Label Studio Pro includes standard sizes for Avery label sheets, Zebra thermal printers (4×6, 2×1, 3×2), and custom dimensions in millimeters. A sample label previews your mapped data at the chosen size.

Once you are satisfied with the layout:

  • Multi-page PDF — prints directly from any PDF viewer onto label sheets. Each page is sized to fit your sheet layout.
  • ZIP of PNGs — one image file per row, named by the label title or row number. Includes a manifest CSV mapping each filename to its source data row.

All generation happens locally. A 1,000-row file typically completes in under a minute on a modern laptop.

Troubleshooting tips

Check digit errors on UPC-A or EAN-13: Batch Label Studio Pro calculates check digits automatically when you provide 11 digits (UPC-A) or 12 digits (EAN-13). If you include all 12 or 13 digits, the software validates the check digit and flags any mismatches before generation. Use the check digit calculator to verify individual values.
Blank barcodes in output: The most common cause is a barcode value that fails validation — invalid characters for the chosen type, wrong digit count, or a bad check digit. The error report in the generation summary identifies which rows failed and why.
Labels printing at the wrong size: Make sure your PDF viewer prints at "Actual size" and not "Fit to page". Fitting to page scales the label up or down, changing the physical print dimensions. See our barcode print size guide for detailed printing instructions.

Frequently Asked Questions

Import your Excel file and generate every label at once

Batch Label Studio Pro imports your Excel or CSV file and generates every barcode label locally — no uploads, no server, no subscription.

Get Pro — $29.99

One-time purchase. Works offline.

    More small-business tools: PromptedPaperwork