How to Generate Barcodes in Bulk from Excel or CSV (Without Making Them One by One)

By Daniel Mercer8 min read

Learn how to generate hundreds or thousands of barcodes from Excel or CSV files in minutes. Discover how to prepare product data, assign unique SKU barcodes, and avoid common errors. Create professional barcode labels using Code 128 and other supported formats.

How to Generate Barcodes in Bulk from Excel or CSV (Without Making Them One by One)

If you manage 50 products, making barcodes individually is inconvenient. At 5,000 products, it is an avoidable source of errors. The faster workflow is to put your product identifiers in a spreadsheet, validate them as a group, and generate one batch of barcode images or printable labels.

The short answer:

Prepare a clean CSV or Excel file with one row per product or variant, use a barcode format suited to the destination, import the file into a bulk barcode generator, check duplicates and errors, preview the labels, and export a print-ready PDF or image files. For internally managed SKUs, Code 128 is often the simplest starting point. For retail GTINs, use appropriately licensed numbers supplied by the brand. This guide walks through a repeatable workflow you can use for a small shop, warehouse, manufacturer, or e-commerce catalogue.

First decide what the barcode should identify

describe the image

Illustration: choose identifiers based on their real-world use, not simply their appearance. Before opening Excel, distinguish these three scenarios:

Option A — Internal inventory or product variants

Encode:

Your own stable SKU or internal product ID. Typical symbology: Code 128. This is ideal when your own inventory system recognizes the identifiers.

Option B — Retail consumer packaging

Encode:

A brand's assigned GTIN-12 or GTIN-13. Typical symbology: UPC-A or EAN-13. Generating the artwork does not create or license a GS1 number.

Option C — Individually serialized units

Encode:

A different serial identifier for each physical unit. Typical internal option: Code 128. Use this only if unit-level traceability is necessary. These aren't interchangeable. A business can create its own internal product identifiers; producing a UPC-A image does not turn an invented number into a registered GS1 GTIN. See GS1's explanation of GTINs and barcodes.

Step 1: Prepare a clean spreadsheet

describe the image

Example: each line represents one product or variation; the barcode value must remain a text string. Use one row per item or variant to label. At minimum, include a barcode value and a product name. Add other columns when you want the information printed on the label.

Example source records:

• TS-BLK-S: Cotton T-Shirt • Black / Small • BRD-000101 • quantity 30 • TS-BLK-M: Cotton T-Shirt • Black / Medium • BRD-000102 • quantity 24 • TS-WHT-S: Cotton T-Shirt • White / Small • BRD-000103 • quantity 18

Here, sku is a readable stock-keeping code. barcode_value is the stable machine-readable identifier. They can match, but they do not have to. ##Preserve leading zeros A product identifier like 000012345678 must not silently become 12345678. Excel sometimes interprets a barcode column as numeric. Before importing or pasting data, format identifier columns as Text, or use an import workflow that explicitly treats barcode values as strings. Check the first, last, and a few randomly selected rows after upload. Avoid putting currency symbols, formatting formulas, or spaces into the barcode value unless the chosen symbology and your scanning workflow are designed to handle them. Keep prices in a separate field.

Step 2: Choose the correct bulk-generation method

There are three practical choices:

Import existing values.

You already have SKUs, internal codes, or licensed retail GTINs and simply need to make them scannable. Generate new internal identifiers. You have product rows but no barcode values. Allocate stable, unique IDs inside your own business namespace, such as WH-000001, WH-000002, and so on. Check that the sequence will not overlap an earlier import or another active workspace. Generate individually serialized codes. You have 100 identical units but want to identify each unit separately. Create 100 distinct serial identifiers and retain the link to the shared product SKU. Do this only when unit-level traceability is needed: it creates more records and more labels. For most small retailers, one barcode per product variant is sufficient. Every black medium T-shirt of the same product variation can use the same internal product barcode.

Step 3: Import, map columns, and validate

describe the image Instructional diagram: map your columns, then catch duplicates, blanks, and lost leading zeros before exporting.

Open Barcodra Bulk Generator and choose a supported import method such as CSV, Excel, pasted rows, or a numbering sequence. Map your spreadsheet columns to the input fields. The key checks are:

  1. Required values: No blank barcode values or identifiers in required rows.
  2. Allowed characters: Code 128 supports a broad character set; UPC/EAN require numeric GTIN structures and valid check digits.
  3. Duplicates: Detect accidental repeated identifiers, while distinguishing legitimate repeated quantities of the same item.
  4. Length: Ensure your identifiers fit the selected symbology and will print at a usable size.
  5. Leading zeros: Confirm uploaded values are unchanged.
  6. Field alignment: The product description, SKU, and price must belong to the right barcode.

A useful practice is to export rejected rows with a reason, correct only those rows, and rerun validation before generating the full batch.

Step 4: Choose a label layout based on the real job

describe the image Examples use Code 128 symbols generated from the sample internal identifiers; final labels still need printer-specific testing.

A barcode image is not the same thing as a printable label. A label might also need a product name, variant, SKU, price, quantity, or location. For example: • Product sticker: Product name + variant + barcode + human-readable value. • Warehouse shelf: Large location code + barcode, without retail pricing. • Outer carton: Appropriate case identifier and handling fields. • Asset label: Asset ID + department or owner, plus an optional QR destination. For a thermal roll, choose the exact label stock dimensions. For A4 or US Letter sheets, select the correct number of rows, columns, margins, and gaps. Use a label designer when the printed information needs to be customized. Do not simply stretch a barcode until it fills the sticker. Its bar widths, height, and quiet zones must remain suitable for the scanner and use case. GS1 calls out quiet zones, contrast, symbol size, construction, and placement as important print-quality factors. Read the GS1 quality checklist.

Step 5: Preview a small sample before generating thousands

describe the image Preview dimensions, keep quiet zones, print at actual size, and test-scan the output.

Check at least one short identifier, one long identifier, and one record from each meaningful label variation. Print a test page with the printer and stock that will be used in production. A useful ten-minute quality-control routine: • Scan the first, middle, and last records from a sample batch. • Check that the scanned value exactly equals the value in the spreadsheet. • Confirm the product or variant lookup returns the correct item. • Check that labels are not clipped and human-readable text is not overlapping bars. • Print at Actual Size / 100% rather than an automatic fit setting. A successful on-screen preview is not a substitute for a scan test with the intended device.

Step 6: Export and keep a record

describe the image

Choose the export type based on whether you are printing, designing, sharing, or archiving identifiers. Use the output type that matches the next task: PDF — for printing label sheets. Choose this when you need exact-size print layouts on A4, US Letter, or thermal stock. SVG — for design and packaging. Vector artwork remains sharp when scaled appropriately. Preserve the required module widths and quiet zones. PNG — for individual image files. Convenient for ordinary documents and digital applications. ZIP — for downloading many separate files. A single archive is easier to organize than hundreds of independent downloads. CSV — for tracking identifier mappings. Retain each barcode value with its product or variant so future reprints reuse the same identity. Save your source spreadsheet and a copy of the final identifier mapping. If the same products need reprinting next week, reuse their existing identifiers rather than issuing new ones. Otherwise, two labels may represent the same item under different IDs and break downstream stock counts. Three batch errors worth catching early Error 1: Generating a new barcode every time you print A reprint should not generate a new product identity. Separate identifier issuance from label production. The code is issued once for a product or variant and printed as often as necessary. Error 2: Using a fabricated UPC for retailer submission You can generate internal Code 128 identifiers yourself. A retail marketplace may require a legitimate GS1 GTIN tied to the product. If you do not have one, obtain the appropriate identifier before printing packaging intended for that channel. Error 3: Building labels before checking imported data A spreadsheet with shifted columns can create thousands of beautifully printed but incorrect labels. Always preview the mapping and validate sample rows before exporting.

Frequently asked questions

Can I generate 1,000 barcodes at once?

Yes, bulk-generation workflows are designed for hundreds or thousands of rows, subject to any published fair-use and processing limits. Check the maximum size and supported export types in the tool before starting a very large job.

Can Excel create the barcode itself?

Excel stores and transforms data, but generating a reliably encoded, print-ready barcode requires a suitable encoding/renderer tool or integration. A barcode-looking font alone may not manage every format or required check digit correctly.

Should my SKU and barcode value be identical?

They can be identical for a simple internal system. They can also be separate if your SKU convention changes frequently or you need stable machine identifiers independent of human-readable names.

Do I need GS1 registration for internal warehouse barcodes?

Generally not for your own internal codes. If you need a globally recognized GTIN for a trading partner or a GS1 logistics identifier, follow the applicable GS1 allocation rules.

Turn your spreadsheet into print-ready labels

Instead of copying one barcode at a time, start with the free bulk barcode generator, validate your rows, and produce reusable labels. If you want to issue the identifiers first, use the products and SKUs workspace.

Share this article

Make your own in seconds

Free barcode and QR code generators — validated, no signup.

Keep reading