Letters, digits and standard ASCII symbols. The usual choice for internal labels, assets and shipping.
Leave empty to print the encoded value.
Size, text and colours
Preview size 0 x 0px. PNG at 3x is about 0 x 0px.
Selling in shops? Retail EAN and UPC numbers must come from GS1 (or a licensed reseller) so they are unique to your company. Made-up numbers work for internal use only.
How to use
Pick the format and enter a value
Choose a format from the grouped list, then type your number or text. For EAN, UPC and ITF-14 you can leave off the check digit and the tool adds it. A working sample appears if your value does not fit the format.
Set size, text and colours
Adjust bar width, height, quiet zone and rotation, then the font, size, style and position of the text, or replace it with your own. Pick bar and background colours, or a transparent background.
Download one or many
Press SVG, PNG, JPG or WebP, or PDF at exact size. For many barcodes, switch to Bulk and label sheets, paste a list or build a sequence, then download a ZIP or a label sheet PDF.
Why Barcode Generator
- 22 formats, from Code 128 and GS1-128 to EAN-13, UPC-A, ITF-14 and Codabar.
- Check digits calculated and verified as you type.
- Bulk lists and numbered sequences to a ZIP or a printable label sheet.
- SVG, PNG, JPG, WebP and exact-size PDF, with no account.
Barcode formats and where each is used
Pick the format your scanner, warehouse system or retailer asks for. For retail, the number matters as much as the image: EAN-13 and UPC-A numbers on products sold in shops must come from GS1, the organisation that issues company prefixes. For anything used only inside your business, Code 128 is the usual choice because it takes letters, digits and symbols at any length.
| Format | What it holds | Typical use |
|---|---|---|
| Code 128 (auto, A, B, C) | Letters, digits and ASCII symbols | Shipping labels, inventory, asset tags |
| GS1-128 | GS1 application identifiers and data | Pallet and carton labels, expiry and batch data |
| EAN-13 | 13 digits including a check digit | Retail products in most countries |
| UPC-A | 12 digits including a check digit | Retail products in the US and Canada |
| EAN-8 and UPC-E | 8 digits | Small retail packs |
| EAN-5 and EAN-2 | 5 or 2 digits | Add-ons for book prices and magazine issues |
| ITF-14 | 14 digits | Outer cartons and cases |
| ITF | An even number of digits | Warehousing and distribution |
| Code 39 and Code 93 | Uppercase letters, digits and a few symbols | Older industrial and government systems |
| Codabar | Digits and - $ : / . + | Libraries, blood banks, courier forms |
| MSI (4 check options) | Digits | Shelf labels and stock control |
| Pharmacode | A number from 3 to 131070 | Pharmaceutical packaging control |
Numbering a batch of labels
The sequence builder in Bulk mode writes numbered values for you, so you do not need a spreadsheet for simple runs. Set a prefix, a start and end number, a step, how many digits to pad to, and an optional suffix, then press Fill the list.
For retail formats, use digits only and set the padding to the length without the check digit, such as 12 for EAN-13. The tool then adds a correct check digit to every barcode. Up to 10,000 values fit in one run.
| Settings | Values produced |
|---|---|
| Prefix INV-, start 1, end 3, digits 4 | INV-0001, INV-0002, INV-0003 |
| Prefix BIN-A, start 10, end 50, step 10 | BIN-A10, BIN-A20, BIN-A30, BIN-A40, BIN-A50 |
| Prefix 890123, start 1, end 2, digits 6 (EAN-13) | 890123000001 and 890123000002, check digits added |