Barcode Generator

Create professional barcodes in multiple formats. Supports Code 128, EAN, UPC, and more. Download as PNG or SVG for print and digital use.

Configuration

Valid characters: All ASCII

Length: Variable

Quick Presets
Preview

Enter content and click Generate

Supported Barcode Types

Code 128

Alphanumeric, high density

Chars: All ASCII

Length: Variable

Code 39

Letters, numbers, some symbols

Chars: A-Z, 0-9, - . $ / + % space

Length: Variable

EAN-13

Retail products worldwide

Chars: 0-9 only

Length: 13 digits

EAN-8

Small retail products

Chars: 0-9 only

Length: 8 digits

UPC-A

North American retail

Chars: 0-9 only

Length: 12 digits

ITF-14

Shipping cartons

Chars: 0-9 only (even count)

Length: 14 digits

Codabar

Libraries, blood banks

Chars: 0-9, - $ : / . +

Length: Variable

About the Multi-Format Barcode Generator

This barcode generator supports several formats — Code 128, Code 39, EAN-13 and UPC — so you can pick the symbology the destination actually requires, and export as PNG or SVG.

A barcode generator supporting several formats matters because symbology is not interchangeable. Retail scanners expect EAN-13 or UPC and will reject anything else at the till; warehouse systems generally want Code 128; older industrial equipment often only reads Code 39.

The retail formats carry rules the others do not. EAN-13 and UPC are fixed-length numeric with a check digit calculated from the preceding digits, and the leading digits identify the company — which have to be assigned to you by GS1 rather than invented. A made-up retail barcode may scan and will collide with someone else's product.

Code 128 and Code 39 have no such registry. They encode whatever value your own system uses, which is why they dominate internal labelling. Choose by destination, then export SVG for print or PNG for screens and documents.

How to use the Multi-Format Barcode Generator

  1. Pick the format. Choose Code 128, Code 39, EAN-13 or UPC based on the destination.
  2. Enter your value. Retail formats require the correct digit count.
  3. Generate the barcode. The symbology is rendered with its check digit where applicable.
  4. Download as PNG or SVG. SVG for print, PNG for screens.

Multi-Format Barcode Generator features

  • Code 128, Code 39, EAN-13 and UPC support
  • Check digit calculation for retail formats
  • PNG and SVG export
  • Quiet zones included
  • Format guidance for retail versus internal use
  • Runs entirely in your browser

Frequently asked questions

Which barcode format should I use?

EAN-13 or UPC for retail, Code 128 for warehouse and shipping, Code 39 for older industrial scanners.

Can I invent an EAN-13 number?

No. The leading digits identify a company and must be assigned by GS1. An invented code will collide with a real product.

What is a check digit?

A digit calculated from the others so a scanner can detect a misread. Retail formats require one; it is computed for you here.

Should I export PNG or SVG?

SVG for print, since it scales without blurring. PNG for screens and documents.

Why does my barcode fail to scan?

Usually it was printed too small, scaled non-proportionally, or has no clear quiet zone around it.