Barcode Fonts

Barcode fonts turn text into bars inside Word, Excel or design apps. The free Libre Barcode fonts on Google Fonts are the best option, but only Code 39 works by simply typing the value. Here is how each one works, and when to use generated images instead.

  • 100% free
  • No sign-up
  • No watermark
  • Works offline in your browser

Prefer an image to a font? Type your value and download a scannable PNG or SVG with check digits handled for you.

Customize size, color & style
Make many

How to use a barcode font

  1. Download Libre Barcode 39 from Google Fonts and install it (or add it via More fonts in Google Docs/Sheets).
  2. Type your value in capitals between asterisks, for example *HELLO-123*.
  3. Apply the barcode font and set it to 24 pt or larger.
  4. Print a sample and scan it. For Code 128, UPC or EAN, generate an image above instead.

Short answer: For Code 39, install Libre Barcode 39 and type your text between asterisks, like *HELLO-123*. Code 128 and EAN-13 fonts need the text encoded with start, stop and check characters first, so for those a generated image (above) is far less error-prone.

The free Libre Barcode fonts

FontWhat to typeWorks with plain text?
Libre Barcode 39 / 39 Text*VALUE* (capitals, digits, - . $ / + % space)Yes, with asterisks
Libre Barcode 39 Extended / Extended Text*Value*, lower case allowedYes, but the scanner needs Full ASCII mode
Libre Barcode 128 / 128 TextEncoded string with start, check and stop charactersNo, needs an encoder
Libre Barcode EAN13 TextDigits in the font's special input formatOnly with the right encoding and a correct check digit

Common barcode font pitfalls

  • Missing start/stop characters. Code 39 must begin and end with *. Without them, scanners see nothing.
  • No check digit. Fonts never calculate check digits. Code 128 always needs a modulo 103 check character; UPC and EAN need a modulo 10 check digit. Use our check digit calculator if you build these by hand.
  • Too small. At 10–12 pt the narrow bars are too thin to scan. Use 24 pt or more, and test.
  • No quiet zone. Leave blank space either side. Cell borders and text right next to the bars break scanning.
  • Font substitution. If you send the file to someone without the font, they see plain text. Export to PDF or use images.

Fonts vs generated barcode images

Fonts are convenient for quick Code 39 labels inside a document. Generated images are better when you need Code 128, UPC, EAN, ISBN or any 2D code, when the barcode must meet retail size rules, or when the file will be printed by someone else. Our bulk generator turns a whole column into images, and the tool above makes a single barcode with the check digit handled for you.

See also: barcode generators for every platform, product and use case.

Frequently asked questions

What is the best free barcode font?

The Libre Barcode family on Google Fonts is free and open source. Libre Barcode 39 is the easiest to use because it works with plain text between asterisks.

Why does my barcode font not scan?

Most often the start/stop characters or check digit are missing, the font size is too small, or there is no clear space around the bars.

Is there a free UPC barcode font?

There are EAN/UPC fonts, but they need specially encoded input and a correct check digit. A generated UPC barcode image is more reliable for packaging.

Can I use a Code 128 font in Excel?

Only with a macro or formula that calculates the checksum and adds the start and stop characters. Otherwise use our bulk generator. See barcodes in Excel.

Are barcode fonts free for commercial use?

The Libre Barcode fonts are released under the SIL Open Font License, which allows commercial use.

Related free tools