Generators

Barcode Generator

UPC / EAN

Generate Barcode

Enter text or numbers to generate a professional barcode with customizable options.

Universal format, supports alphanumeric characters

Width Scale: 2

Height: 100px

Margin: 10px

Tool features

Professional barcode generation with comprehensive options
4 features

Barcode Generation

Generate barcodes in multiple industry-standard formats

Customizable Design

Adjust colors, dimensions, and display options

High Quality Output

Professional print-ready barcode images

Multiple Formats

Support for Code 128, EAN-13, UPC, and more

What is a barcode & how it works

Choosing the right symbology for where it is scanned

A barcode encodes a short string as a pattern of bars and spaces that a scanner reads optically. Each symbology has its own rules: some take any ASCII text, others only digits of a fixed length with a check digit, so the right choice depends on where the code will be scanned.

Retail products use EAN-13 (worldwide) or UPC-A (North America), which require numbers issued by GS1. Warehouses, shipping labels and internal asset tags usually use Code 128 or Code 39, which you can fill with your own IDs.

Code 128
Compact, full ASCII; the default choice for labels and logistics.
EAN-13 / UPC-A
Fixed-length retail product codes with a check digit; need GS1 numbers.
Check digit
A final digit calculated from the others so scanners catch misreads.

How to use this tool

Create a barcode in four steps
1
Choose a format
Pick the symbology your scanner or retailer expects, such as Code 128, EAN-13 or UPC.
2
Enter the value
Type the text or number; retail formats need the exact digit count.
3
Style it
Adjust bar width, height, colours and whether the human-readable text is shown.
4
Download and test
Download the image and scan a printed test copy before using it at scale.

Frequently asked questions

Common questions about barcodes
5 Q&A

For products sold in shops, use EAN-13 or UPC-A with a GS1-registered number. For shipping labels, inventory and internal tags, Code 128 is the most compact general-purpose choice. Use ITF-14 for outer cartons.

Not for retail. Retailers require numbers from a GS1 company prefix so they are globally unique. Made-up numbers are fine only in closed internal systems.

EAN-13 takes exactly 12 or 13 digits, and the 13th must be the correct check digit. Enter 12 digits and let the generator calculate it, or check the digit you typed.

Common causes are printing too small, low contrast (keep dark bars on a light background), missing quiet zone margins either side, or blurry low-resolution printing. Scale it up and test with the scanner you will use.

A 1D barcode holds a short ID and suits laser scanners at checkouts. A QR code holds far more data, including URLs, and can be read by any phone camera.