Create real, scannable barcodes
This free barcode generator makes print-ready barcodes for retail products, inventory, shipping and documents. It calculates check digits automatically, warns you when a number is invalid, sets the correct quiet zones and exports vector SVG or PDF so barcodes stay crisp on any printer.
Which barcode do I need?
| Barcode | Used for |
|---|---|
| EAN-13 | Retail products worldwide, ISBN books |
| UPC-A | Retail products in the USA and Canada, Amazon US |
| Code 128 | SKUs, inventory, shipping labels (letters + numbers) |
| Code 39 | Industry, ID badges, older systems |
| ITF-14 | Outer cartons and cases |
| GS1-128 | Logistics labels with batch, expiry and weight |
| Data Matrix / QR / PDF417 / Aztec | 2D codes for small parts, tickets and documents |
Important: barcode numbers for retail
The generator draws a correct barcode for any number, but to sell in supermarkets and on most marketplaces your EAN/UPC numbers must be licensed from GS1 (your national GS1 office, e.g. GS1 Pakistan or GS1 US). Amazon checks numbers against the GS1 database. For internal stock, use Code 128 with your own SKUs.
Printing tips
- Print EAN/UPC at 80–200% of nominal size (100% EAN-13 ≈ 37.3 × 25.9 mm).
- Black bars on white is the safest combination; never print red bars.
- Keep the white quiet zone on both sides.
- Thermal printers: choose 203 or 300 DPI to match your printer.
Making labels? Use the label sheets option, or the shipping label generator for parcels.
Not sure which barcode you need?
| Your situation | Barcode |
|---|---|
| Selling in shops or on Amazon worldwide | EAN-13 (or UPC-A in the US and Canada) |
| Very small packages | EAN-8 or UPC-E |
| Shipping cartons with several units | ITF-14 |
| Your own stock, SKU and shelf labels | Code 128 (letters and numbers) |
| Logistics labels with batch, expiry or weight | GS1-128 |
| Tiny items with lots of data | Data Matrix |
| ID cards, tickets and documents | PDF417 or Aztec |
| Libraries, labs, older systems | Code 39, Codabar, Code 93, ITF |
Click the situation buttons at the top and the right type is chosen for you.
Check digits and validation
EAN, UPC and ITF codes end in a check digit. Type the number without it and the generator adds it; type the full number and it is verified. Invalid characters for the chosen type are flagged before you download.
Print it right
- The PDF (exact size) prints at the real millimetre size — print at 100%, not “fit to page”.
- Use SVG for packaging designers, PNG at 300 DPI for labels.
- Dark bars on white, with white space on both sides.
- For many products, use Bulk & labels to make a ZIP or print label sheets.