Barcode Generator

Generate barcodes in Code 128, EAN-13, UPC-A, Code 39, and QR Code formats.

Appearance

Format Guide

Code 128 — Any text/numbers
Code 39 — Uppercase + numbers
EAN-13 — 12 or 13 digits (products)
EAN-8 — 7 or 8 digits (small items)
UPC-A — 11 or 12 digits (retail)
ITF-14 — 14 digits (shipping)

How It Works

Enter the value to encode, select the barcode format, and download the barcode as SVG or PNG. Includes human-readable text below the barcode.

**Barcode Generator — Create Barcodes for Products and Documents**

Barcodes encode data in a machine-readable format using parallel lines of varying widths. They're essential for retail inventory, document tracking, shipping labels, and product identification. Our generator supports all major 1D and 2D barcode formats.

**Supported Barcode Formats**

**Code 128**
Most flexible 1D barcode. Encodes all 128 ASCII characters. No length limit.
Used for: Shipping labels, internal tracking, industrial applications.

**EAN-13 (European Article Number)**
Global standard for retail products (13 digits). Includes country code, manufacturer code, and check digit.
Used for: Retail products sold in stores globally.

**EAN-8**
Shortened EAN for small packages (8 digits).

**UPC-A (Universal Product Code)**
North American standard for retail products (12 digits).
Used for: Products sold in US and Canada stores.

**Code 39**
Older format encoding letters, numbers, and limited special characters. Self-checking.
Used for: Automotive parts, military, government, healthcare.

**ITF (Interleaved 2 of 5)**
Encodes pairs of digits, very high data density.
Used for: Shipping containers, cartons, warehouse systems.

**PDF417**
Stacked 2D barcode encoding large amounts of data.
Used for: Airline boarding passes, ID cards, shipping.

**Creating Valid EAN/UPC Codes**

EAN-13 and UPC-A require a valid check digit. Our generator computes it automatically — you enter 12 digits (EAN) or 11 digits (UPC) and the check digit is appended.

**Printing Guidelines**

- Minimum quiet zone (white space) on each side: 10× the narrowest bar width
- Minimum X dimension (narrowest bar): 0.3mm (ideal: 0.5mm+)
- Colour: Black bars on white background for maximum scannability
- Print at 300 DPI minimum for reliable scanning

Frequently Asked Questions

EAN-13 for global retail, UPC-A for North American retail. Apply to GS1 for an official company prefix if selling through major retailers.
Technically yes for internal use. For retail use, numbers must be registered through GS1 (gs1.org) to avoid conflicts with other products.
Traditional barcodes are 1D (lines) and encode limited data. QR codes are 2D and can encode much more data. Barcodes are scanned by laser scanners in retail; QR codes are scanned by smartphone cameras.
SVG is recommended for print (scalable, perfect at any size). PNG is fine for digital use. Use 300 DPI PNG for print labels.
A mathematically calculated digit appended to a barcode number that validates the other digits. Scanners verify the check digit to confirm an accurate read. Our generator computes it automatically.