Utilities

Barcode Generator

Generate Code 128, EAN-13, UPC-A, Code 39 and more barcode formats online — then download as SVG for print or PNG for digital use.

Code 128 EAN-13 UPC-A Code 39 Download SVG Download PNG
Get started free Sign in

Free · No credit card · 50 credits/day

Barcode format comparison

Format Data supported Best used for
Code 128 All 128 ASCII chars, any length Shipping labels, logistics, warehousing — most versatile format
EAN-13 13 digits only Retail products worldwide — the standard grocery store barcode
UPC-A 12 digits only Retail products in USA and Canada — subset of EAN-13
Code 39 A–Z, 0–9, some symbols Healthcare, military, automotive — older systems, easy to print
EAN-8 8 digits only Small product packaging where EAN-13 is too wide
ITF-14 14 digits Outer cartons and shipping containers (GS1 standard)

Frequently asked questions

What is the difference between Code 128, EAN-13 and Code 39?

Code 128: all 128 ASCII chars, any length — used in shipping (FedEx, UPS, DHL), warehousing, internal logistics. Most versatile. EAN-13: 13 digits only — universal retail product barcode. UPC-A: 12 digits — North American retail subset of EAN-13. Code 39: A-Z, 0-9, some symbols — healthcare, military, automotive; larger than Code 128 for the same data.

What is the difference between a barcode and a QR code?

Traditional barcodes are 1D — data in vertical line widths, read horizontally, limited to ~80 chars. QR codes are 2D — data in a square grid, read from any angle, up to 4,296 alphanumeric chars, includes error correction (works with 30% damage). Use barcodes for retail POS, inventory and shipping (legacy scanner compatibility); use QR codes for URLs, large data and marketing.

Do I need a GS1 number to create an EAN-13 barcode?

For retail store sales: yes — register with GS1 in your country to get a company prefix and officially unique GTINs. For internal use only (inventory, shipping, internal labels): no — use any barcode with any data you choose. The generator can create any barcode including GS1-compliant ones, but getting an official company prefix must be done through your national GS1 organisation.

What file format should I download — SVG or PNG?

SVG: vector, scales to any size without quality loss, ideal for print and packaging. Very small file size. PNG: raster, fixed resolution — export at 300+ DPI for print. Use SVG when sending to a printer or when the barcode appears at different sizes. Use PNG for software that doesn't support SVG, web use, or Word/Google Docs. Always preserve the quiet zone (white border) — scanners require it.

Related tools

More conversion and generation tools.

Roman Numeral Converter

Convert Arabic ↔ Roman numerals in both directions.

Unit Converter

Convert between length, mass, temperature, speed and more.

Character & Word Counter

Count characters and words with live platform limits.

Generate any barcode format in seconds

Free account. 50 credits per day. Access to 75+ tools instantly.

Create free account →