How to Create Barcode Labels in Word and Print Them

How-to basics · Updated November 3, 2026

How to Create Barcode Labels in Word and Print Them

To create barcode labels in Word, set up a label mail merge, insert a barcode field for each record, preview the results, then print a test sheet. You will need desktop Word, a supported barcode type such as Code 128, and label stock that matches the selected template. Word’s barcode fields are not reliably available in Word for the web, so use the desktop app for creating and checking the labels.

What You’ll Need

  • Microsoft Word for Windows, preferably Microsoft 365, and a printer that can print on your label stock.
  • The label package’s brand and product number, or the dimensions of your custom label sheet.
  • A list of the values to encode. For a batch, keep one barcode value per row in an Excel workbook or a CSV file, with a clear column heading such as ItemCode.
  • A barcode type suitable for the job. Code 128 is a flexible choice for many inventory and tracking labels. Retail products may require a particular UPC or EAN format, so confirm the specification used by your scanner or sales system.

Step-by-Step

  1. Prepare your barcode data. Make one row per label and put the value to encode in a single column. Give the column a simple heading, such as ItemCode, and remove blank rows, accidental spaces, and duplicate values if each item needs a unique identifier. Keep codes that begin with zero as text; spreadsheet programs may otherwise remove leading zeros. Save and close the workbook before connecting it to Word. If you only need one label, you can skip the data file and use a fixed value in a barcode field.
  2. Choose the label layout. In Word for Windows, open a blank document and select Mailings > Start Mail Merge > Labels. In Label Options, choose the label vendor and product number printed on the package, then select OK. Word creates a grid that corresponds to the label sheet. If your product is not listed, choose New Label and enter the measurements from the manufacturer, including label height, width, top margin, side margin, horizontal pitch, vertical pitch, and the number of labels across and down. Check these measurements against the package before proceeding.
  3. Connect the list for a batch. Select Mailings > Select Recipients, then choose Use an Existing List and open your Excel or CSV file. If prompted, select the worksheet or table containing the data and confirm that the first row contains column headings. Use Mailings > Edit Recipient List to check that the expected records appear. For a single label, leave the document unconnected and continue with a fixed barcode value instead.
  4. Insert the barcode in the first label. Click inside the first label cell where the barcode should appear. On Windows, press Ctrl+F9 to insert Word’s special field braces; do not type ordinary curly braces from the keyboard. Between the braces, enter a merge barcode field using your exact column heading and barcode type, for example: MERGEBARCODE ItemCode CODE128. The complete field should look like { MERGEBARCODE ItemCode CODE128 }. The braces shown here are field braces created by Ctrl+F9. For a heading containing spaces, use the exact heading and quotation marks if Word requires them. Press F9 to update the field. For a single, fixed barcode instead, create a field with the form DISPLAYBARCODE "A10452" CODE128, using Ctrl+F9 for its braces and replacing the sample value with your own.
  5. Add any readable text. A barcode is not always easy for a person to interpret, so you may want to place the item code beneath it. In the first label, type a short description or choose Mailings > Insert Merge Field and select ItemCode to print the value from the data list. Keep text and barcode elements inside the label boundaries. Avoid adding punctuation or spaces to the encoded value unless they are part of the actual identifier.
  6. Copy the layout to the other labels. Once the first cell is arranged, select Mailings > Update Labels. Word copies that layout across the sheet and adds the record progression needed for a label merge. If the barcode field appears only in the first cell, or every cell repeats the same code, check that you used Update Labels and that the merge field is inside the first label before copying.
  7. Preview the records and fields. Select Mailings > Preview Results, then use the record navigation arrows to inspect several labels, including the first and last records. Confirm that each barcode changes with its record, that the human-readable text matches, and that nothing wraps or clips. If a field still appears as code, click it and press F9; you can also press Ctrl+A and then F9 to update fields in the document. Preview again after changing layout or data.
  8. Finish the merge and print a test. Select Mailings > Finish & Merge > Edit Individual Documents to create a separate document containing the merged labels. Inspect that document before printing. Print one page on plain paper first, then hold it behind a label sheet to check alignment. When it lines up, load the label stock in the printer’s correct orientation and print the final batch. Use the printer’s actual-size or 100% setting rather than “Fit to page,” which can shift the label grid.

Mac note: Word for Mac has similar mail-merge and label options, but field-code shortcuts and barcode rendering can vary by version and keyboard. If a function-key shortcut does not work, check the Mac keyboard’s Fn setting or use Word’s field insertion options. For a reliable print check, open the merged document in desktop Word and confirm the barcodes in the exported or printed output. Word for the web is best treated as a place to view or edit ordinary document text, not to build barcode fields.

Common Mistakes

  • Typing field braces by hand. Braces typed from the keyboard are ordinary characters, not Word field delimiters. Insert field braces with Ctrl+F9 on Windows, then type the field code between them.
  • Choosing a barcode type without checking requirements. A barcode can look correct but still be rejected by a scanner or inventory system if its type or data format is wrong. Confirm the required symbology and value length first.
  • Using the wrong label template. A similar-looking sheet may have different margins or spacing. Use the product number on the package, not just the label size.
  • Forgetting Update Labels. The first cell may look right while the rest of the page is blank or repeats the same record. Update Labels before previewing a mail merge.
  • Scaling the printout. “Fit to page” can change the label dimensions. Print at actual size and check a plain-paper test against the physical sheet.
  • Letting codes change in a spreadsheet. Leading zeros, long numeric strings, or automatic date conversion can alter identifiers. Store codes as text and verify them in Word’s preview.

Tips

  • Use a short, unambiguous column name such as ItemCode rather than a heading with punctuation or multiple spaces. This makes the merge field easier to identify.
  • Leave clear space around each barcode. The blank margins at the sides, called quiet zones, are part of what helps scanners detect the symbol; do not place a border, text, or another barcode too close.
  • Choose a size that remains readable after printing. Do not shrink a barcode just to fit more information on a small label. Check the requirements for your scanner and symbology rather than relying on one universal minimum size.
  • Use black bars on a plain, light background where possible. Decorative colors, low contrast, glossy stock, or printing across a crease can make scanning less dependable.
  • Keep a clean copy of the source data and save the merged document with a useful name. That makes it easier to correct a record and reprint only what you need.
  • Test several labels with the scanner that will be used in practice. A barcode image on screen is not proof that the printed label will scan in the intended system.

Troubleshooting

The field code prints instead of a barcode: Make sure you inserted field braces with Ctrl+F9, not typed braces, and that the code has a valid barcode type. Select the field and press F9, then use Preview Results or generate the merged document. If it still shows code, try the desktop Windows version of Word; barcode field support can differ in Word for the web and across Mac versions.

The barcode is blank or shows an error: Check that the merge field name exactly matches the data column heading and that the selected record has a value. Remove unintended spaces and unsupported characters, then verify that the value fits the chosen symbology’s rules. For retail identifiers, use the required standard and check digit rules supplied by the organization that issued the code.

Every label has the same barcode: Confirm that you selected the correct recipient list, chose the correct column, and used Mailings > Update Labels. Preview several records with the navigation arrows. If the source list itself contains repeated values, correct the data before merging.

The labels are shifted on the sheet: Verify the exact product number, printer feed direction, and paper size. Print at actual size with scaling disabled. If a plain-paper test is consistently offset, check the printer’s label or media settings; for a custom sheet, recheck the margins and pitches in Label Options.

The barcode looks fine but will not scan: Increase its printed size if the label allows, restore clear space around it, and use high-contrast ink and a suitable surface. Confirm the barcode type and encoded value with the scanner or system administrator. Test a fresh print, because smudges, faint toner, or a misaligned label can interfere even when the Word document looks correct.

Frequently Asked Questions

Can Word make barcode labels without a barcode font?
Yes. Word’s barcode fields can generate supported barcode symbols without installing a barcode font. Use desktop Word and test the result after merging and printing.

Can I make QR code labels in Word?
Word supports a QR option in its barcode fields. Use the QR barcode type and preview the generated symbol. Keep the QR code large enough for the intended scanner and avoid crowding its clear border.

Can I create a different barcode on every label?
Yes. Connect a list with one value per row, insert a merge barcode field that refers to the value column, and select Update Labels. Preview multiple records to make sure the value changes on each label.

Can I make UPC or EAN product labels?
Word offers barcode types for some common retail formats, but the data must meet that format’s rules. Check the required number of digits, check digit, and issuing organization’s specifications before printing. Do not assume that any item number is a valid retail barcode.

Why does my barcode scan in one app but not another?
Scanners and software can be configured for different barcode symbologies, lengths, or prefixes. Check that the label uses the type and data format expected by the destination system, then test with the actual equipment where possible.

Can I create barcode labels in Word for the web?
Word for the web may not create, update, or display barcode fields consistently. Use the desktop Word app to insert the fields, run the merge, and verify the output before printing.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.