Barcode Generator

Generate Code 128 or EAN-13 barcodes for labels, inventory and products, and download them as PNG or SVG.

FreeNo sign-upRuns in your browserMobile-friendly

Loading tool…

Need help with this tool or found a problem? WhatsApp support Email

What does the Barcode Generator do?

Code 128 encodes letters, numbers and symbols and is widely used for shipping labels, asset tags and inventory. The generator automatically uses the compact numeric mode (set C) for even-length numbers. EAN-13 is the 13-digit retail barcode found on products worldwide; enter 12 digits and the check digit is calculated, or 13 digits to have it validated.

Choose the bar width and height, toggle the human-readable text and download a PNG or a crisp SVG for printing.

How to use the Barcode Generator

  1. Choose Code 128 or EAN-13.
  2. Enter the value.
  3. Adjust bar width, height and text.
  4. Download PNG or SVG and test with a scanner app.

Examples

Inventory tag

“VIPTOOLS-2026” as Code 128 for shelf labels.

EAN-13

590123412345 → check digit 7 → 5901234123457.

Common use cases

  • Inventory and asset labels
  • Small shop products (with valid GS1 numbers)
  • Event tickets and library cards
  • Testing barcode scanners

Features and benefits

  • Private by design — your data is processed on your device and never uploaded.
  • Free with no account, no watermark and no usage limits.
  • Works on phones, tablets and desktops in any modern browser.

Limitations to know

  • EAN-13 numbers for retail must be licensed from GS1; generating an image does not register a number.
  • Print at sufficient size and contrast for scanners.

Frequently asked questions

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

Code 128 encodes any ASCII text and is used in logistics; EAN-13 is a 13-digit product number for retail.

How is the EAN check digit calculated?

Digits are weighted 1 and 3 alternately; the check digit makes the total a multiple of 10.

Can I use these barcodes commercially?

Yes. For retail EAN codes, use numbers issued to your company by GS1.

Embed this tool on your website

Add the free Barcode Generator to your blog or website. Paste the code into your page’s HTML; the tool runs in your visitors’ browsers and stays up to date automatically. Please keep the credit line below the tool.

Free to use on any website. The tool runs inside an iframe served from viptools.pk; nothing your visitors type is sent to your site or ours. Preview the embedded version.

All utility tools