Bulk Barcode Generator

Generate EAN-13, UPC-A, Code 128 and Code 39 barcodes with adjustable size and colors. Single or bulk mode (up to 500) with PNG download and ZIP export.

Runs in your browser. No data leaves your device.

About this tool

Generates 1D barcodes in Code 128, EAN-13, UPC-A, or Code 39 using the JsBarcode library, singly with a live preview or up to 500 at once. Bar width, height, colors, and the human-readable text line are adjustable, and results download as PNG or a ZIP of PNGs. Suited to product labels, inventory, and SKU sheets.

Features
  • Four formats: Code 128 (default), EAN-13, UPC-A, Code 39
  • Per-format input validation with a clear error message before rendering
  • Bar width slider 1-5 (step 0.5), bar height slider 40-200 px (step 10)
  • Toggle for the text line under the bars, plus bar and background colors
  • Live preview regenerated 200 ms after typing; drag the preview image out to save it in supporting browsers
  • Batch mode from a list, a numeric range with prefix and zero-padding, or the first column of a CSV/TXT file
  • Batch preview grid marks invalid values individually instead of failing the whole batch
  • ZIP download of all valid batch barcodes built in the browser with JSZip
How to use it
  1. Pick a Barcode Format
  2. Type a value in the Value field; the barcode preview appears on the right
  3. Adjust bar width, height, text display, and colors
  4. Click Download PNG, or drag the preview image to a folder
  5. For many barcodes, switch to Batch, choose List, Range, or CSV, click Generate Batch, then Download ZIP
Inputs
  • Code 128: any text JsBarcode can encode (ASCII)
  • EAN-13: 12 digits (check digit is calculated) or 13 digits (check digit must be correct)
  • UPC-A: 11 digits (check digit is calculated) or 12 digits (check digit must be correct)
  • Code 39: A-Z, 0-9, space, and - . $ / + %; lowercase letters are accepted and converted to uppercase
  • Batch list, range (prefix + start/end + optional zero-padding), or CSV/TXT file (first comma-separated field per line, quotes stripped)
Outputs
  • PNG named barcode-<format>.png (e.g. barcode-code128.png), 10 px margin, 16 px monospace text
  • Batch: barcodes-<format>-batch.zip containing barcode-<format>-<index>-<sanitized value>.png files
Limits and notes
  • PNG only; there is no SVG export
  • Maximum 500 barcodes per batch (a larger range is rejected before any barcodes are built)
  • No other symbologies (no EAN-8, ITF, Codabar, or 2D codes)
  • CSV parsing splits on the first comma and does not handle quoted fields that contain commas
  • Settings are not saved; the color popovers share the overtooled:color-picker:recent and overtooled:color-picker:mode localStorage keys with the Color Picker
  • Runs entirely in the browser; nothing is uploaded
Keyboard shortcuts
  • Escape: close an open color popover

Frequently Asked Questions

How does the Barcode Generator work?

The tool validates your value for the selected format, then uses the JsBarcode library to encode it and draw the bars onto an HTML canvas, which is exported as PNG. Each standard maps characters to bar and space patterns; for example, each Code 128 symbol is 11 modules wide and encodes one character (or two digits), followed by a checksum. EAN-13 and UPC-A add the check digit when you leave it off. Batch mode repeats this for each value and packages the PNGs into a ZIP with JSZip.

What barcode formats are supported?

Four standard 1D formats: Code 128 (general-purpose alphanumeric), EAN-13 (international retail), UPC-A (North American retail), and Code 39 (logistics and inventory). Code 128 is the most flexible and accepts any ASCII text.

Can I generate barcodes in bulk?

Yes. Switch to Batch mode to create up to 500 barcodes at once. Enter values one per line, generate a sequential range with an optional prefix (e.g. SKU-001 to SKU-500), or upload a CSV file. All barcodes download as individual PNGs in a single ZIP archive.

How do I generate barcodes from a spreadsheet?

Export your product codes as a CSV file and upload it in Batch > CSV mode. The tool reads the first column of each row as a barcode value. You can also copy-paste a column directly into the List input (one value per line).

What input does each barcode format need?

EAN-13 requires 12 or 13 digits, UPC-A requires 11 or 12 digits, Code 39 accepts uppercase letters, digits, and a few special characters, and Code 128 accepts any text or number.

Can I use these barcodes for product labels?

Yes. The generated barcodes follow the official encoding standards and can be scanned by any standard barcode reader. Download as PNG and use in your label design software. Batch mode lets you generate all your product labels at once.