# Barcode Generator — Code 128, EAN-13 & UPC, Free

> Generate Code 128, Code 39, EAN-13, and UPC barcodes in your browser. Download a PNG without signup or upload.

Source: https://toolpantry.app/barcode-generator

## About

Generate common retail and inventory barcodes locally. Choose a format, enter a value, and download a crisp PNG.

## Quick answer

**How do I generate a barcode?** Enter the value, pick a symbology (Code 128, Code 39, EAN-13, or UPC), and download a PNG. Barcodes are rendered locally — no number is stored or sent anywhere.

## How to generate a barcode

1. **Enter the value** — the numbers or text the barcode should encode.
2. **Choose a symbology** — Code 128 and Code 39 for internal use; EAN-13 and UPC for retail-style codes.
3. **Download the PNG** — rendered locally at print-friendly resolution.

## Which symbology to pick

- **Code 128** — compact and flexible; the workhorse for inventory, shipping, and asset labels
- **Code 39** — simple and widely readable; older scanners and industry standards
- **EAN-13 / UPC** — the retail formats you see on products

## Good to know

For real retail products, EAN/UPC numbers must come from GS1 (membership required) — you cannot invent one and sell it in stores. For internal labels there is no such restriction; Code 128 is the usual choice. Print barcodes at least 2.5 cm wide with a clear quiet zone, and test-scan before a full print run. QR codes instead? Use the [QR code generator](https://toolpantry.app/qr-code-generator).

## Notes

EAN-13 and UPC values must contain the correct number of digits. Code 128 is the most flexible choice for internal labels.

## FAQ

**Which barcode format should I choose?**

Use Code 128 for general inventory or internal labels. Use EAN-13 or UPC-A when a retailer or scanner specifically requires that standard.

**Are these official retail barcodes?**

The generator draws the barcode pattern. Product identifiers still need to come from the relevant standards body or your inventory system.
