ZeroUtil

Barcode Generator

Generate barcodes in CODE128, EAN-13, UPC, CODE39 and more formats.

2
100px

How to Use the Barcode Generator

Enter text or a number in the input field. Select a barcode format from the dropdown, customize the appearance, and download your barcode as PNG or SVG. The barcode updates in real time as you type.

Supported Barcode Formats

  • CODE128 — versatile format that encodes all 128 ASCII characters. Ideal for shipping labels, inventory and general use.
  • EAN-13 — 13-digit international product barcode used in retail worldwide. Enter 12 digits and the check digit is calculated automatically.
  • EAN-8 — compact 8-digit barcode for small products where an EAN-13 won't fit.
  • UPC-A — 12-digit barcode standard used in North American retail. Enter 11 digits and the check digit is appended.
  • CODE39 — alphanumeric barcode widely used in non-retail industries like automotive and defense.
  • ITF-14 — 14-digit numeric barcode used on shipping cartons and outer packaging.
  • MSI — numeric barcode commonly used for inventory control and warehouse shelving.
  • Pharmacode — numeric barcode used in pharmaceutical packaging. Encodes numbers from 3 to 131,070.

Customization Options

Adjust the bar width and height with sliders. Toggle text visibility below the barcode, choose a font size, and pick custom colors for both the bars and background. These options let you match the barcode to your label or packaging design.

Download & Export

Download your barcode as a high-resolution PNG image for print or a scalable SVG file for web and professional design workflows. Both formats are generated entirely in your browser — no data is sent to any server.

Frequently Asked Questions

What barcode format should I use?

For general use, CODE128 is the most versatile — it supports letters and numbers. For retail products, use EAN-13 (international) or UPC-A (North America). For shipping cartons, ITF-14 is the standard. CODE39 is common in logistics and government applications.

How many digits do EAN and UPC barcodes require?

EAN-13 needs 12 or 13 digits, EAN-8 needs 7 or 8 digits, and UPC-A needs 11 or 12 digits. If you enter one fewer digit, the check digit is calculated automatically. If you include the check digit, it must be correct or the barcode will fail validation.

Can I use this barcode for commercial products?

This tool generates standard barcode images, but you still need a valid GS1 company prefix to use EAN or UPC codes on retail products. The barcode itself is just a visual encoding of the number you provide.

Is the barcode generated on a server?

No. The barcode is generated entirely in your browser using JavaScript. No data is uploaded to any server. Your input stays private on your device.

What is the difference between PNG and SVG downloads?

PNG is a raster image at 2x resolution, suitable for printing and general use. SVG is a vector format that scales to any size without losing quality, making it ideal for professional print workflows and graphic design software.

Ad

More QR & Barcode