Barcode Generator
Generate barcodes in multiple formats for download.
Barcodes are machine-readable patterns used in retail, inventory, shipping, and libraries to identify products and assets. Our free Barcode Generator creates 1D linear barcodes in five of the most widely used formats: CODE128 (general purpose, alphanumeric), EAN-13 (retail global trade items), UPC-A (North American retail), CODE39 (alphanumeric, no check digit required), and ITF-14 (shipping cartons, GS1).
Select the format, enter your data (numbers and/or letters as supported by each format), then click Generate. Preview the barcode at custom width and height. Download is available as PNG (raster, great for websites and documents) or SVG (vector, perfect for print, labels, and scaling to any size without pixelation).
Format guide: CODE128 supports the full ASCII character set and is the most compact for alphanumeric data. EAN-13 requires exactly 13 digits and is used for product barcodes worldwide. UPC-A requires exactly 12 digits. CODE39 supports 0-9, A-Z, space, and -.$/+%. ITF-14 requires exactly 14 digits and encodes the GTIN-14 for outer cases.
For retail barcodes to actually scan at checkout, you will need a valid GS1 company prefix assigned by GS1 in your country. The tool generates the barcode graphic correctly but cannot grant you official numbers. For internal or private use (asset tags, warehouse labels), any unique number works.