Blog How Can I Create Barcodes in Excel?

How Can I Create Barcodes in Excel?

How Can I Create Barcodes in Excel?

To create barcodes in Excel, first download and install a free google barcode font like Libre Barcode 39 or Libre Barcode 128. Then, in Excel, enter your barcode data (like a product ID) and apply the Libre Barcode font you installed. Excel will instantly display the data as a scannable barcode, ready for printing or use with a barcode scanner. If you don’t see the Libre Barcode fonts in Excel, just restart the program — this refreshes the font list.

✅ Step 1: Download the Barcode Font

Go to Google Fonts – Libre Barcode 39 and click “Get font”.

Download Barcode Font

✅ Step 2: Unzip the File

Find the downloaded .zip file and double-click to unzip it.

Unzip File

✅ Step 3: Open the Font File

Double-click the .ttf file (LibreBarcode39-Regular.ttf) inside the unzipped folder to preview it.

Open ttf file

✅ Step 4: Install the Font

Click the Install button in the preview window to install the font on your system.

Install the font

✅ Step 5: Apply the Font in Excel

Type your barcode value (like 12345) into a cell. Then go to the font dropdown, choose Libre Barcode 39, and watch the text turn into a barcode — no asterisks required.

Select font Libre Barcode 39

🔍 Code 39 vs Code 128: What’s the Difference?

FeatureCode 39Code 128
Character SetUppercase letters (A–Z), numbers (0–9), and a few special characters like -, $, /, .Full ASCII: All letters (uppercase + lowercase), numbers, and most punctuation
CompactnessLess compact – longer barcodes for the same dataMore compact – shorter, more efficient barcodes
Check DigitOptional (not usually required)Required (built-in error checking)
ComplexityVery simple – easy to create and scanMore advanced – best generated via software or add-ins
Use CasesInventory tags, asset tracking, basic equipment labelsShipping labels (UPS, FedEx), product IDs, retail/warehouse systems
Excel FormattingRequires asterisks (*12345*) as start/stop charactersUsually handled by barcode generator or add-in
Font AvailabilityWidely available as free fonts (e.g., Free 3 of 9)Fewer free fonts; often use add-ins or image generators

🧠 TL;DR:

  • Choose Code 39 if you want something simple, free, and easy to implement with just a barcode font — especially if you only need numbers and uppercase letters.
  • Choose Code 128 if you need to encode more complex data in a more compact format, or you’re printing shipping/product barcodes and using tools like barcode APIs or add-ins.

2 Alternative Methods for Creating Barcodes in Excel

Depending on your method, you’ll need one of the following:

  • An Excel barcode add-in that can insert scannable barcodes
  • Excel 365 with the IMAGE function, plus access to an API like barcodeapi.org

All three methods work. The best choice depends on how complex your labels are and how your data is structured.

Using a Barcode Add-in

Excel barcode add-ins give you more options. They often let you:

  • Choose barcode types (UPC, EAN, Code 128, QR)
  • Customize sizing
  • Use batch generation features

Steps:

  1. Download an Excel-compatible add-in (e.g., TBarCode Office or IDAutomation).
  2. Open Excel and locate the barcode tab or ribbon.
  3. Enter your data and select the barcode type.
  4. Insert barcodes into adjacent cells.

Great for users managing serialized inventories or merging barcodes with other data sets.

Using Excel 365’s IMAGE Function with a Web API

If you have Excel 365, you can generate barcode images dynamically using online barcode generators.

Formula Example:

=IMAGE(“https://barcodeapi.org/api/auto/” & A2)

This pulls a barcode image from an API using the value in cell A2. It’s simple, scalable, and updates automatically as values change.

Where Barcodes Are Most Useful

Barcodes created in Excel are often used for:

  • Asset tags in facilities and offices
  • Equipment labels for maintenance tracking
  • Tool check-out systems in warehouses
  • Student gear or AV cart tracking in schools
  • Merge-ready inventory labels, where customers upload an Excel sheet and link each row to a barcode

When paired with durable physical labels, barcodes improve speed, reduce error, and help teams stay organized.

improves-scanning-reliability-with-Barcode-Labels

Real-World Tip: A Facility Streamlines Equipment Tracking with Excel Barcodes

A manufacturing facility used Excel to log tools, laptops, and mobile workstations. They had no centralized inventory system—just shared spreadsheets across teams.

By adding a barcode column to their Excel log and printing the labels using a database merge, they:

  • Cut audit time by 60%
  • Reduced tool loss by over $5,000 per quarter
  • Empowered floor managers to scan and log usage with no new software

Simple change. Big difference.

Helpful Steps for Your First Barcode Spreadsheet

If you’re building an inventory sheet and want to connect it to printed labels, Excel is a good place to start. A spreadsheet with barcode values can feed directly into label templates—especially for teams printing barcode labels for equipment and asset tracking in real-world environments.

Just remember:

  • Format columns clearly (ID, description, location, barcode)
  • Keep data clean—no extra spaces, tabs, or special characters
  • Always test barcodes before batch printing

Creating Barcodes in Excel FAQs

How do I make barcodes with just Excel and no add-ins?

Install a barcode font like Code 39. Format your cell as text, add asterisks around your data (e.g., *12345*), and apply the font.

Can I use QR codes in Excel too?

Yes. With Excel 365, use the IMAGE() function and link to a QR code API like api.qrserver.com.

What’s the difference between Code 39 and Code 128?

Code 39 is simpler and requires fewer rules—great for basic tracking. Code 128 is more compact and supports a wider character set.

Will these barcodes scan?

Yes—if formatted properly, sized appropriately, and printed clearly. Always test your scanner first.

Can I print labels directly from Excel?

Yes. You can connect Excel data to label templates (like in Word or labeling software) using a mail merge or batch import.