Skip to content
Word Made Easy
Home Word Tutorials PowerPoint Tutorials YouTube Videos
Home Word Tutorials PowerPoint Tutorials YouTube Videos

How to Create Barcodes in Word: 4 Easy Steps

Microsoft Word, Word Productivity & Automation

You can create barcodes in Word using the built-in DISPLAYBARCODE field — no fonts to install, no add-ons, no external tools. It generates Code 128, Code 39, EAN-13, and UPC-A codes directly inside your document. This works in Word 2016, 2019, 2021, and Microsoft 365.

In this guide, you’ll learn how to create barcodes in Word step by step, edit an existing barcode, and switch between the main barcode systems for retail, inventory, and internal use.


Contents hide
1 What You Need Before You Start
2 How to Create Barcodes in Word: Step-by-Step
3 Method 1: How to Create Barcodes in Word Using the DISPLAYBARCODE Field
4 Understanding the Barcode Field Code
5 Method 2: How to Create Barcodes in Word by Editing an Existing One
6 Barcode Types You Can Use in Word
7 Which Barcode Should You Use?
8 Common Problems When Creating Barcodes in Word
9 Pro Tips for Faster Barcodes
10 FAQs
11 Conclusion
12 Related Tutorials
13 Word Tutorials

What You Need Before You Start

Before you create barcodes in Word, have these ready:

  • A product ID or number
  • The correct digit count for your barcode type (13 for EAN-13, 12 for UPC-A)
  • The barcode system you want — Code 128, Code 39, EAN-13, or UPC-A

Watch the Video Tutorial

If you prefer to see this in action, the full video walkthrough is below, showing each method step by step.


How to Create Barcodes in Word: Step-by-Step

Barcodes in Word are built from a field code. Once you know the four steps, you can produce and edit any supported type.


Method 1: How to Create Barcodes in Word Using the DISPLAYBARCODE Field

This is the core method every barcode type uses.

Steps

  1. Click where you want the barcode to appear.
  2. Press Ctrl + F9 to insert the field brackets { }.
  3. Inside the brackets, type DISPLAYBARCODE "12345678" CODE128 and replace the number with your product ID.
  4. Highlight the whole field and press F9 to update it.
Microsoft Word DISPLAYBARCODE field code with CODE128 shown for how to create barcodes in Word using Ctrl + F9 and F9

👉 Your barcode appears instantly, generated straight from the field code.


Understanding the Barcode Field Code

Every barcode follows the same structure:

DISPLAYBARCODE "ProductID" BarcodeType
  • ProductID — your unique number, in quotes
  • BarcodeType — the format, e.g. CODE128 or CODE39

Change the type keyword and the same field produces a different barcode — field codes power other automation too, such as how to insert a word counter in Word that updates on its own.


Method 2: How to Create Barcodes in Word by Editing an Existing One

Reuse a barcode instead of building each one from scratch.

Steps

  1. Right-click the barcode.
  2. Select Toggle Field Codes.
  3. Change the number or the barcode type.
  4. Press F9 to update.
Microsoft Word right-click menu with Toggle Field Codes highlighted to edit and create barcodes in Word

👉 The barcode redraws from the edited code — the fastest way to make a batch.


Barcode Types You Can Use in Word

Code 128 (most flexible)

Supports letters, numbers, and symbols with no strict length — best for general use.

DISPLAYBARCODE "12345678" CODE128

Code 39

Uppercase letters and numbers — common in inventory systems. Just swap the type:

DISPLAYBARCODE "ABC12345" CODE39

EAN-13 (retail)

Used in retail and global trade. Enter the 12 data digits and Word calculates the 13th check digit for you.

DISPLAYBARCODE "123456789012" EAN13

UPC-A

Common in North America. Enter the 11 data digits; Word adds the 12th check digit.

DISPLAYBARCODE "12345678901" UPCA

Which Barcode Should You Use?

TypeBest forDigits
Code 128General use, mixed charactersAny length
Code 39Inventory, warehouse labelsAny length
EAN-13Retail products worldwide12 data + check
UPC-ARetail in North America11 data + check

Common Problems When Creating Barcodes in Word

The field shows as text, not a barcode

You typed the field without updating it. Highlight the whole field and press F9. The brackets must come from Ctrl + F9, not typed manually.

EAN-13 or UPC-A won’t generate

The digit count is wrong. EAN-13 needs 12 data digits and UPC-A needs 11 — Word adds the final check digit. An incorrect length throws an error.

The barcode won’t scan

It’s printed too small or the type doesn’t match your scanner. Increase the size and print at high quality; keep clear white space around the code.

Edits don’t show up

Word doesn’t refresh field codes automatically. After any change, select the barcode and press F9 again to redraw it.


Pro Tips for Faster Barcodes

  • Build one barcode, then copy, paste, and edit the code for the rest.
  • Keep your product IDs in a list so you can paste them straight into the field.
  • Learn the field-code keys once and the rest is speed — the Microsoft Word keyboard shortcuts cheat sheet covers Ctrl + F9, F9, and more.
  • Building a product or inventory sheet? Add a fillable form in Word so people can enter data directly.

FAQs

How do I create barcodes in Word?

To create barcodes in Word, press Ctrl + F9, type DISPLAYBARCODE "yourID" CODE128 inside the brackets, then highlight it and press F9.

Do I need a barcode font in Word?

No. The DISPLAYBARCODE field is built in, so no fonts or add-ons are required.

Why isn’t my barcode working?

Usually the digit count or type is wrong, or the field wasn’t updated — highlight it and press F9.

Can I create multiple barcodes quickly?

Yes. Copy an existing barcode, use Toggle Field Codes to edit the number, and press F9.

Which barcode type should I use?

Use Code 128 for general flexibility, and EAN-13 or UPC-A for retail products that need standard formats.

Will barcodes made in Word scan properly?

Yes, as long as the format and digit count are valid and the barcode is printed clearly at a readable size.

Can I use these barcodes on product labels?

Yes — Code 128 and Code 39 suit internal labels, while EAN-13 and UPC-A are the standards for retail sale.


Conclusion

You can create barcodes in Word with a single field code — no fonts, no add-ons — and switch between Code 128, Code 39, EAN-13, and UPC-A by changing one keyword.

Once the structure clicks, editing and reusing barcodes takes seconds. To keep automating your documents, try adding a QR code in Word using the same field-code approach.


Related Tutorials

  • How to Create a QR Code in Word
  • How to Insert a Word Counter in Word
  • How to Create a Fillable Form in Word

Word Tutorials

Recent Microsoft Word Tutorials

  • 18 Free Pastel Cornell Notes Templates for Word

    September 26, 2026
  • How to View Two Pages Side by Side in Word: 2 Easy Methods (Quick Guide)

    August 29, 2026
  • Open Two Documents Side by Side in Word: 2 Easy Steps (Quick Guide)

    August 29, 2026

Browse the complete collection for help with formatting, layout, pages, tables, images, and document setup.

View all Word tutorials
Watch on YouTube

For Microsoft support documentation, visit the official Microsoft guidance.

Like this:

Like Loading…
barcode in Microsoft Word create barcode without software create barcodes in Word inventory management Word product labeling Word Word barcode generator
←How to Insert a Degree Symbol in Word: 3 Easy Methods
How to Add a Background in Word: 3 Easy Methods→

Comments

Leave a ReplyCancel reply

Meet the Author

Patrick Elliott standing outdoors holding his dog.

I’m Patrick Elliott, the creator of Word Made Easy. I’m an educator and Inclusion Lead, and I use Microsoft Word and PowerPoint daily for planning, documentation, and classroom resources.

Every guide is tested step-by-step before publishing (usually in Microsoft 365). You’ll also find practical walkthroughs on my YouTube channel.

More:About me.Contact.YouTube

Explore More

  • Word Tutorials
  • PowerPoint Tutorials
  • YouTube Videos

YouTube

Recent Tutorials

  • 18 Free Pastel Cornell Notes Templates for WordSeptember 26, 2026
  • How to View Two Pages Side by Side in Word: 2 Easy Methods (Quick Guide)August 29, 2026
  • Open Two Documents Side by Side in Word: 2 Easy Steps (Quick Guide)August 29, 2026
  • How to Open Word in Safe Mode: 2 Easy Methods (Quick Guide)August 29, 2026
  • How to Replace Text in Word: 2 Easy Methods (Quick Guide)August 29, 2026
Word Made Easy

Explore

  • →Home
  • →Word Tutorials
  • →PowerPoint Tutorials
  • →YouTube Videos

Categories

  • →Page Layout & Sections
  • →Tables, Images & Media
  • →Word Formatting Basics
  • →Word Productivity & Automation

Author

  • →About Me
  • →Contact
  • →YouTube
Privacy Policy Cookie Policy Terms of Use
© 2012–2026 Word Made Easy. Content is protected.
Your privacy choices

We use cookies and similar technologies to make this site work, understand how it is used, and show relevant content and advertising. You can accept all cookies, deny non-essential cookies, or manage your preferences. You can change your choice at any time.

Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
Manage preferences
  • {title}
  • {title}
  • {title}

Discover more from Word Made Easy

Subscribe now to keep reading and get access to the full archive.

Continue reading

Loading Comments...
%d