Barcode Generator

Generate Code 128 barcodes for your products

About the Batch Barcode Generator

This barcode generator produces Code 128 barcodes and downloads them as PNG images sized for label printing, so they can be dropped straight into a document, template or label layout.

A barcode generator with PNG output is aimed at getting a barcode into a document rather than reading one on screen. Word mail-merge labels, a spreadsheet-driven label sheet, an InDesign layout or a shipping template all need an image file.

PNG is the right format for this because it is lossless. A barcode is high-contrast line art, and JPEG compression introduces exactly the kind of edge artefacts that make a scanner hesitate — barcodes should never be saved as JPEG.

Print size is what determines whether the barcode scans. Print it large enough that the narrowest bar survives your printer's resolution, keep the quiet zones clear, and never scale it non-proportionally, since distorted bar widths no longer match the specification.

How to use the Batch Barcode Generator

  1. Enter your value. Type the alphanumeric code to encode.
  2. Generate the barcode. The Code 128 pattern is rendered.
  3. Download the PNG. Save the lossless image file.
  4. Place and test. Insert it at full size in your document and test-scan a print.

Batch Barcode Generator features

  • Code 128 encoding
  • Lossless PNG download
  • Quiet zones included in the image
  • Sized for label printing
  • Suitable for mail merge and label templates
  • Runs entirely in your browser

Frequently asked questions

Why PNG rather than JPEG?

PNG is lossless. JPEG compression adds edge artefacts to high-contrast line art, which makes barcodes harder to scan.

What size should I print it?

Large enough that the narrowest bar survives your printer resolution, with clear quiet zones either side.

Can I scale the image?

Only proportionally. Stretching it changes the bar width ratios and breaks the encoding.

Which barcode format is used?

Code 128, which encodes the full ASCII set at any length and needs no registered prefix.

Can I use these for retail products?

No. Retail requires EAN-13 or UPC with a registered company prefix.