Skip to content
XUtilHub

Barcode Generator – Code 128, EAN-13, UPC-A, Code 39

Create barcodes online in Code 128, EAN-13, UPC-A, EAN-8, Code 39 and ITF-14, with automatic check digits. Download as PNG or SVG.

  • Free, no sign-up
  • Runs in your browser, nothing uploaded

About the Barcode Generator

Generate scannable barcodes for products, inventory, labels and ID cards. Choose the barcode type, enter the value and download a high-resolution PNG or a scalable SVG.

Key features

  • Code 128, EAN-13, UPC-A, EAN-8, Code 39 and ITF-14
  • Automatic check digits
  • Adjustable bar width, height and colour
  • Show or hide the text under the bars
  • High-resolution PNG and scalable SVG
  • Validates your input

Create scannable barcodes

Choose a barcode type, enter the value and download your barcode. The preview updates as you type and tells you if the value isn't valid for the chosen type.

Barcode types

TypeCharactersTypical use
Code 128Letters, numbers, symbolsShipping labels, inventory, assets
EAN-1313 digitsRetail products worldwide
UPC-A12 digitsRetail products in the US and Canada
EAN-88 digitsSmall retail packages
Code 39Uppercase letters, digits, - . $ / + %ID badges, industry
ITF-1414 digitsCartons and shipping cases

Printing tips

  • Keep dark bars on a light background; scanners need contrast.
  • Leave a quiet zone: empty space on both sides of the barcode.
  • Test-scan your printed barcode with a phone app before printing in bulk.

QR code generator, QR code scanner, and business card maker.

How to use the Barcode Generator

  1. Enter your names, keywords or value, or keep the examples.
  2. Choose the options you want, such as region, format or platform.
  3. Click the generate button. Every click gives fresh, random results.
  4. Copy or download what you need. Nothing is sent to a server.

Frequently asked questions

Which barcode type should I use?

Code 128 for general labels, inventory and shipping (it handles letters and numbers). EAN-13 or UPC-A for retail products sold in shops. Code 39 for ID cards and some industrial systems. ITF-14 for outer cartons.

Can I make an EAN barcode for my product?

You can create the image here, but retail EAN and UPC numbers must be issued to your company by GS1 (or your country's GS1 office). Shops and marketplaces check that numbers are registered.

What is a check digit?

The last digit of an EAN or UPC number, calculated from the others so scanners can detect misreads. Enter 12 digits for EAN-13 and the 13th is added automatically.

PNG or SVG?

SVG scales to any size without blurring, so it's best for printing and design software. PNG is easiest for documents and websites.

Is the randomness fair?

Yes. Team splits, draws and brackets use your browser's cryptographically secure random number generator with unbiased shuffling, so every arrangement is equally likely.

Is the test data real?

No. Names are common names combined at random, emails use the reserved example.com domains, and US and UK phone numbers come from ranges reserved for fiction. Don't use generated data to contact anyone.

Is anything I enter saved?

No. Everything runs in your browser and nothing is uploaded.

Last updated:

Related Generators tools