Barcode formats

barcode types,explained.

The different kinds of barcodes look alike but do different jobs. See each one, find the one you need in two clicks, then make it.

which one do I need?

Pick what you are labelling. We show the right format and a live example.

Use this
The two families

lines or squares.

Every barcode is either 1D (a row of lines) or 2D (a grid). That one difference decides how much it holds and what can scan it.

1D, linear

Data is stored in the widths of the bars. Holds a short number or code, usually under 20 to 30 characters. Read by any laser or camera scanner at the shop counter.

  • EAN-13
  • UPC-A
  • EAN-8
  • Code 128
  • ITF-14
2D, matrix

Data is stored in a grid of squares, both across and down. Holds links, text or payment details, and still scans if part of it is damaged. Phone cameras read it.

  • QR code
Every format we make

six formats, side by side.

Each card shows a real, scannable example. Hover to scan it, then open the generator with that format ready.

Quick compare

the cheat sheet.

Save this table. It answers most "which barcode" questions in one look.

FormatHoldsYou typeCheck digitNeeds GS1 number?Best for
EAN-1313 digits12 digitsAdded for youYes, for retailProducts sold in India, Europe, Asia
UPC-A12 digits11 digitsAdded for youYes, for retailProducts sold in the USA and Canada
Code 128Letters, numbers, symbolsAny textBuilt into the barsNoSKUs, stock, bins, asset tags
ITF-1414 digits13 digitsAdded for youYes, for retail supplyOuter cartons and cases
EAN-88 digits7 digitsAdded for youYesVery small packs
QR codeLinks, text, UPI, contactsAny textError correction insteadNoLinks, menus, payments, manuals
Other names you will hear

and a few more.

These exist and you may be asked for them. We are honest about which ones ownbarcode makes today.

ISBN

The book number. An ISBN-13 barcode is an EAN-13 that starts with 978 or 979, so you can make its bars as EAN-13. The number itself comes from your country's ISBN agency.

Use EAN-13
GS1-128

Code 128 with GS1 rules, used to add batch, expiry or weight on cases and pallets.

Make it in the GS1 builder
Data Matrix

A small square 2D code. Common on medicines and electronics parts where space is tight.

Make it in the GS1 builder
Code 39

An older text barcode still used in some factories and ID cards. Code 128 does the same job in less space.

Make Code 39
Codabar

An old format seen on library books, blood bags and courier slips. Rarely needed for new labels.

Not in ownbarcode yet
Before you print

the barcode vs. the number.

₹0
Making the barcode image uses your barcode number

Any number you type turns into bars here, using your barcode number. That is all the image is: your number, drawn as lines.

GS1
The number may need to be registered

Shops and most marketplaces check that an EAN-13, UPC-A or ITF-14 number belongs to your brand. In India those numbers come from GS1 India. For your own stock, Code 128 and QR need no registration.

Questions

people also ask.

All answers
Which barcode type should I use for products sold in India?

EAN-13. It is the 13-digit barcode used on retail products in India, Europe and most of Asia. Shops and marketplaces usually ask for a GS1-registered EAN-13 number.

What is the difference between EAN-13 and UPC-A?

UPC-A has 12 digits and is used mainly in the USA and Canada. EAN-13 has 13 digits and is used almost everywhere else. A UPC-A code can be written as an EAN-13 by adding a 0 at the front.

What is Code 128 used for?

Your own SKUs, inventory, bins, asset tags and shipping labels. It holds letters, numbers and symbols and does not need a GS1 number.

What is Code 128C?

Code 128 has three character sets: A, B and C. Set C packs two digits into each symbol, so long numbers make a shorter barcode. Our Code 128 switches to set C on its own when it sees runs of digits, so you never have to pick.

Is a QR code a barcode?

Yes, a 2D one. It stores data in a grid of squares instead of lines, so it holds much more, like a link, a UPI ID or contact details, and phone cameras can read it.

know your format? make it now.

EAN-13, UPC-A, Code 128, ITF-14, EAN-8 and QR. PNG or SVG, sized for your label.

Open the generator

Guides for this task