How to Generate Barcodes From Excel or CSV
The hardest part of a barcode batch is usually not drawing bars. It is preserving the identifier exactly and matching the symbol to the system that will scan it.
By Tools for Labels · Reviewed 18 Aug 2026 · 8 min read
Open Bulk Barcode Generator from CSV →Protect identifiers from spreadsheet conversion
Leading zeroes are data in identifiers, even though they are insignificant in arithmetic. Excel can also display long values in scientific notation or replace digits beyond its numeric precision. Import identifier columns as Text and inspect the saved CSV directly.
A custom cell display format is not enough if the stored value already lost digits. The exported text must contain the exact value the barcode should encode.
sku,barcode_value
Widget blue,00018427
Widget green,00018428Choose the format for the receiving system
Code 128 supports a broad character set and is a practical default for internal asset, inventory, and location identifiers. Code 39 is less dense and has a more limited character set; use it when a legacy scanner or specification requires it.
EAN-13, EAN-8, UPC-A, and ITF-14 represent structured retail or logistics identifiers. This site validates length and check digit, but it does not issue company prefixes or GTINs.
| Format | Typical use here | Important constraint |
|---|---|---|
| Code 128 | Internal mixed identifiers | Leave sufficient horizontal space |
| Code 39 | Legacy uppercase workflows | Restricted characters; lower density |
| EAN/UPC | Assigned retail identifiers | Correct length and check digit |
| ITF-14 | Assigned trade-item carton ID | 14 numeric digits and correct check digit |
Preserve clear space and physical dimensions
Barcode quiet zones are unobstructed light areas at the sides of a linear symbol. Their required dimensions vary by symbology and application; do not assume one universal millimetre value.
GS1 directs users to its symbol specification tables for allowed sizes in a given application. For regulated retail or logistics use, validate the finished symbol against the applicable GS1 specification rather than relying only on an on-screen preview.
Test the batch as a production artifact
Generate a small batch containing the shortest, longest, and most unusual identifiers. Print at Actual size, then scan first, middle, and last labels with the real scanner. Check the decoded value against the source CSV, not just the human-readable text.
Common mistakes
- Formatting cells after zeroes or digits were already lost
- Using Code 39 with unsupported characters
- Treating a rendered EAN/UPC as an issued identifier
- Shrinking a long symbol to fit a narrow label