sturdybits

Guides / Make Labels

How to make barcode and QR code labels from a spreadsheet

30 November 2026

To make barcode labels from a spreadsheet, put one item on each row with its code in a column of its own, then merge it onto a label sheet with Word's MERGEBARCODE field or your label printer's own software. Choose the kind of code first: EAN-13 for products sold in shops, Code 128 for your own stock codes and QR codes for web addresses.

Which code to use

GS1 UK gives the standard EAN-13 size as 37.29 mm wide, including the clear space either side, lists 80% of that as its smallest size and advises against cutting the height (GS1 UK's size guide). Small labels, such as 65 per sheet, leave little room for text.

Get the spreadsheet ready

1. Word's barcode fields

Good for: Word for Windows. Microsoft says the barcode fields don't work on a Mac or the web (DisplayBarcode).

Word has no barcode button; it uses hidden field codes: DISPLAYBARCODE for a fixed value and MERGEBARCODE for a mail merge column.

  1. Set up a label merge: Mailings > Start Mail Merge > Labels, choose your sheet, then Select Recipients > Use an Existing List and pick your workbook. See how to print address labels from an Excel list.
  2. Click in the first label and add any text with Insert Merge Field, such as the description and price.
  3. Where the barcode goes, press Ctrl+F9 for a pair of field braces (typing them doesn't work) and type inside them, so the field reads:
{ MERGEBARCODE SKU CODE128 \t }

SKU is your column heading, CODE128 the type, and \t prints the value under the bars. Use EAN13 or UPCA for product numbers, or { MERGEBARCODE Link QR } for a QR code (MergeBarcode).

  1. Choose Update Labels, then Finish & Merge > Edit Individual Documents, and check every barcode before you print.

Three things to watch:

2. Barcode fonts

Good for: simple Code 39 barcodes in Excel or Word.

A barcode font draws bars instead of letters, so you can format a column or a merge field with it. Free ones include the Libre Barcode fonts. They're easy to get wrong:

Test a printed sheet with your own scanner first.

3. Free online generators

Good for: a handful of codes.

Free barcode and QR code generators make one code at a time from what you type, and you download a picture to put on a label. For a hundred products that's a long job, and the bulk versions work by uploading your list. Don't stretch the picture to fit, as squashed bars can fail to scan.

With QR codes, check that the code holds your web address itself, not the generator's own address that passes people on: if that service stops, or you stop paying, so does the code.

4. Your label printer's software

Good for: roll labels on a dedicated label printer.

The printer's own free software can usually print a label for each row of a spreadsheet. Brother's P-touch Editor can link a barcode to a column of an Excel file (Brother's steps), and DYMO Connect can import data from a spreadsheet too.

When a tool is quicker

Make Labels makes barcode and QR code labels without field codes or fonts, on Windows or a Mac. Choose your .xlsx or .csv list and your label sheet, then pick Code 128, EAN-13, UPC-A or a QR code, the column it holds, and whether it goes beside or under the text. EAN-13 and UPC-A check digits are checked, or worked out if you leave them off, and numbers Excel has turned into scientific form are caught. Any code that can't be made, or may be too small to scan, is listed before you print. A quantity column can set the copies for each row. Product numbers for selling through shops still come from GS1: Make Labels prints the number you give it.

It runs in your browser, so your list never leaves your computer. The free version makes one sheet at a time; Pro is £19 once and puts any number of sheets in one PDF. You can try it with a sample list.

Quick answers

Can Excel make barcodes? Only with a barcode font or an add-in. For labels, Word's MERGEBARCODE field on Windows, or a label tool, does the layout as well.

Which barcode should I use for stock? Code 128 for your own codes. Use EAN-13 only with GS1 numbers, for products sold through shops or marketplaces.

Why won't my barcode font scan? Code 39 needs asterisks round the value, Code 128 needs an encoder, and EAN-13 needs a correct check digit.