Supported Formats
Our free barcode generator runs entirely in your browser. No software to download, no account to create. Just pick a format, enter your data, and download.
Select from Code 128, UPC-A, EAN-13, Code 39, ITF-14, Data Matrix, or PDF417. Not sure which to use? See the format guide below.
Type your product number, text, or serial number. Each format has specific data requirements (like 12 digits for UPC-A) shown in the placeholder text.
Change the bar color, background color, or scale using the settings in the toolbar. The default black on white works for most use cases.
Download as PNG for screens or SVG for print. SVG files scale to any size, making them perfect for product labels and packaging.
Different barcode formats exist because different industries have different needs. Here is a quick comparison to help you choose the right format for your project.
| Format | Data Type | Length | Best For |
|---|---|---|---|
| Code 128 | Letters, numbers, symbols | Variable | General purpose, logistics, healthcare |
| UPC-A | Numbers only | 12 digits | US/Canada retail products |
| EAN-13 | Numbers only | 13 digits | International retail products |
| EAN-8 | Numbers only | 8 digits | Small retail packages |
| Code 39 | Uppercase letters, numbers | Variable | Government, military, ID badges |
| ITF-14 | Numbers only | 14 digits | Shipping cartons, outer packaging |
| Data Matrix | Letters, numbers, binary | Up to 2,335 chars | Electronics, healthcare, small parts |
| PDF417 | Letters, numbers, binary | Up to 1,850 chars | IDs, boarding passes, government docs |
Need a GS1 number? Our barcode generator creates the barcode image from whatever data you provide. If you need a unique UPC or EAN product number for retail, you must obtain it from GS1 . Once you have your number, use our generator to create the barcode image for free.
Barcodes generate in your browser. Nothing is sent to any server, ever.
No loading spinners, no server round trips. Click Generate and it's done.
Try our QR Code Generator for URLs, WiFi, and contact cards.
Common questions about our free barcode generator.