1

Choose Symbology

Select the barcode type from the dropdown (Code 128 is the most versatile).

2

Enter Data

Follow the exact rules shown in the hint below. Check digit is added automatically where needed.

3

Generate & Download

Live preview updates instantly. Click PNG or SVG to download.

All generators

Code 128 accepts any printable ASCII characters.

90° = vertical barcode (shelf strips).

Saved as your-name.png / your-name.svg.

Symbology constraints

Code 128 — Most versatile. Encodes the full ASCII set. Ideal for shipping labels, inventory and general use.

Code 39 — Limited character set (A–Z, 0–9, and a few symbols). Self-checking but lower density than Code 128.

EAN-13 / EAN-8 / UPC-A — Retail product codes. Require a precise number of digits; the final check digit is calculated automatically if omitted.

ITF — Interleaved 2 of 5. Digits only, even length. Commonly used for carton identification.

Enter valid data to generate
 

How to generate a barcode

1

Choose symbology

Code 128 for general use; EAN-13/UPC for retail products.

2

Enter valid data

The hint under the field shows the exact rules. Check digits are computed for you.

3

Download

SVG for print shops, PNG for documents and labels.

Formats at a glance

Barcode FAQ

Which format do I need for a product I sell?

Retail products require a GS1-issued EAN-13 or UPC-A number — the barcode just encodes it. Generate the number first at gs1.org, then create the barcode here.

Why does it say "invalid check digit"?

Retail formats end with a calculated check digit. Either delete the last digit (we compute it) or use the digit we suggest in the error message.

What does the EAN-13 prefix mean?

The first 2–3 digits are a country/region code: 450–459 and 490–499 = Japan, 500–509 = UK, 690–699 = China, 890 = India, 0–13 = USA/Canada. The payload line below the preview shows yours when you type an EAN.

How wide will the printed barcode be?

Width in mm ≈ bar-width × 0.33 × module count. A Code 128 encoding 10 chars at width 2 comes out ≈ 45–50 mm — comfortably scannable. If it needs to fit a fixed space, lower bar width first, then height.

Is the output print-quality?

Yes — SVG is pure vector, so it prints crisply at any size, from tiny labels to pallet signage. For print, keep line color near-black and the background white or very light; colored bars scan poorly.