Barcode Generator

Generate Code 128, EAN-13, and UPC-A barcodes and download them as crisp SVG.

Popular toolCompress an imageShrink JPG & PNG file sizes without the quality tax.Open
Type a value to generate a Code 128 barcode.

Code 128 encodes any text — names, SKUs, URLs. EAN-13 and UPC-A are the retail product codes you see on packaging; they accept digits only (any text or numbers). The barcode is vector SVG, so it stays sharp at any print size.

generated on your device · nothing is uploaded

How to generate a barcode

Type the value you want to encode and pick a format. The barcode renders live below with the value printed underneath. When it looks right, download it as an SVG to print or place.

Choosing a format

Use Code 128 for free-form text and internal codes. Use EAN-13 or UPC-A only when you have a real product number of the correct length — these are validated, so a wrong-length value won't produce a scannable code.

Questions

Which barcode formats are supported?
Code 128 for any text or numbers, plus the retail product symbologies EAN-13 and UPC-A. Code 128 is the right choice for SKUs, asset tags, and internal labels; EAN and UPC are for products sold at retail.
Why won't my EAN-13 or UPC barcode generate?
Those formats accept digits only and a fixed length — 12 or 13 digits for EAN-13, 11 or 12 for UPC-A. If the value is the wrong length or contains letters, the tool tells you instead of drawing an invalid code.
What format is the download?
The barcode is vector SVG, so it stays perfectly sharp at any size — ideal for printing on labels or packaging. Open it in any design tool or drop it straight into a document.