In short
To generate a barcode, choose the type (EAN-13 for retail products, Code 128 for labels and inventory, ITF-14 for cartons…), enter the value, and download the PNG or SVG. For EAN, UPC and ITF-14, type the number without its last digit and the check digit is added automatically.
Barcodes vs QR codes
Linear barcodes (1D) store a short number or code in vertical bars and are read by laser and camera scanners at checkouts, warehouses and libraries. QR codes (2D) store much more information and are designed for phones. Many businesses need both: a barcode for the point of sale and a QR code for customers.
This generator supports the most common symbologies: EAN-13 (retail products worldwide), EAN-8 (small packages), UPC-A (USA and Canada), Code 128 (letters and digits, shipping and inventory), Code 39 (industry, ID badges) and ITF-14 (outer cartons). It validates the input and computes the GS1 check digit automatically.
Important: to sell products in retail stores, your EAN/UPC numbers must come from GS1, the organization that assigns company prefixes. This tool draws the barcode; it does not assign numbers.
How to create a barcode
Choose the barcode type
Pick the symbology required by your retailer, carrier or system.
Enter the value
For EAN-13 type 12 digits (we add the 13th), or 13 digits to verify an existing code.
Adjust the appearance
Bar width, height, colors, text size and margins. Keep dark bars on a light background.
Download
Download SVG for print and packaging artwork, or PNG at 2×, 4× or 8× resolution.
Common uses
Retail products
EAN-13 and UPC-A codes on packaging scanned at the checkout.
Inventory and assets
Code 128 labels for stock, tools, IT equipment and documents.
Shipping
ITF-14 on cartons and Code 128 on parcel labels.
Badges and tickets
Code 39 or Code 128 for employee IDs, library cards and event tickets.
Printing tips
- Use black bars on a white background; red bars are invisible to many laser scanners.
- Respect the quiet zone (blank margin) on both sides of the barcode.
- Don’t squeeze the barcode horizontally — scale it proportionally.
- Print at least the standard size for EAN-13 (about 37 × 26 mm at 100%) when possible.
- Test the printed barcode with the scanner that will actually read it.