Hire me

Barcode Generator

Create Code 128, EAN-13, UPC and other barcodes for products, labels and inventory, ready to print.

  • Free, no sign-up
  • Created in your browser
  • Works on phone and desktop

Generate common 1D barcodes with JsBarcode, with automatic check-digit validation for EAN and UPC, adjustable bar width, height and colours, and download as high-resolution PNG or vector SVG.

How to make a barcode

  1. Choose the barcode type.
  2. Enter the value. The barcode updates and invalid values are flagged.
  3. Download PNG or SVG and print a test before mass printing.

Which barcode type?

TypeUse
EAN-13 / UPC-ARetail products sold in shops (needs a GS1-registered number)
Code 128Shipping labels, inventory, internal asset tags
Code 39Older industrial and ID systems
ITF-14Outer cartons and cases

Selling in shops?

Retailers require EAN/UPC numbers issued to your company by GS1 (for example GS1 Pakistan). You can draw any valid number here, but only GS1-assigned numbers are accepted by supermarkets.

Frequently asked questions

Why is my EAN-13 invalid?

The 13th digit is a check digit. Enter 12 digits and it is calculated for you, or check the full 13 digits are correct.

Which format is best for printing?

SVG, because it stays sharp at any size. Print with enough white space (quiet zone) on each side.

Updated October 2026 · Built and tested by Sharjeel Tahir · How our tools are tested