Create standard 1D barcodes in 8 formats โ Code 128, EAN-13, UPC-A, Code 39, ITF-14, MSI, Pharmacode, and Codabar. Customize and download as PNG or SVG โ 100% in your browser.
A barcode is a machine-readable representation of data โ typically numbers or letters โ encoded as a pattern of parallel black and white bars of varying widths. When scanned, the pattern is decoded back into the original data.
Barcodes have been used since the 1970s (the first scan was a pack of Wrigley's gum in 1974) and remain the global standard for retail, logistics, inventory, and manufacturing. There are hundreds of barcode formats, each designed for a specific purpose.
| Format | Character Set | Typical Use |
|---|---|---|
| Code 128 | Full ASCII (0-127) | Shipping, inventory, general-purpose. Compact and versatile. |
| EAN-13 | 13 digits (12 + checksum) | Retail products worldwide (outside US/Canada). |
| UPC-A | 12 digits (11 + checksum) | Retail products in US and Canada. |
| Code 39 | Uppercase A-Z, 0-9, and some symbols | Automotive, defense, ID cards. Older but widely supported. |
| ITF-14 | 14 digits (13 + checksum) | Shipping cartons, corrugated boxes, GTIN-14. |
| MSI | Digits 0-9 only | Inventory control, storage bins, warehouse shelves. |
| Pharmacode | Integers 3-131070 | Pharmaceutical packaging, small spaces. |
| Codabar | Digits 0-9, -, $, :, /, ., + | Blood banks, libraries, courier packages. |
The most versatile format. Encodes any ASCII character and is compact. Three sub-codes (A, B, C) handle different data types, but the library chooses automatically. Best for general-purpose use when you don't have a specific standard to follow.
The international retail standard used on billions of products. It's exactly 13 digits, where the last digit is a checksum. If you enter only 12 digits, the tool calculates the 13th automatically. Used everywhere except the US and Canada.
The North American retail standard. Exactly 12 digits with the last one being a checksum. Similar to EAN-13 but for the US and Canada market.
An older format that's still widely supported. Limited to uppercase letters, digits, and a few symbols (including space, `-`, `.`, `$`, `/`, `+`, `%`). Slower to encode than Code 128 but works on almost any scanner.
A 14-digit format used on shipping cartons. The name "interleaved" means digits are encoded in pairs. The last digit is a checksum. Standard for GTIN-14 codes on corrugated boxes.
A numeric-only format originally from MSI Data Corporation. Used mostly in warehouse and inventory systems. Supports digits only.
A simple numeric format used in pharmaceutical packaging. It's essentially a series of bars with no embedded checksum. Values range from 3 to 131070.
Used in blood banks, libraries, and some logistics operations. Encodes digits and a few special characters. Each barcode starts and ends with a specific letter (A, B, C, or D).
Everything runs in your browser. The barcodes you generate are never uploaded, tracked, or logged. Close the tab and everything is gone.