February 1, 2027New requirements for 2 groups: dairy products; perfume, cosmetics and household chemicals · What to do
EN
Sign inTry for free

Free · works in the browser

Online barcode generator

Enter 12 digits, and the generator adds the check digit and draws an EAN-13 barcode. EAN-8 and Code 128 for item numbers are here too. Download a PNG or SVG, or print an A4 sheet with as many barcodes as you need.

Barcode type

Example:

Barcodes are built in your browser, and the numbers aren’t sent anywhere.

Example
Scale

The GS1 standard allows EAN-13 and EAN-8 at 80 to 200% scale. At 100%, the module is 0.33 mm.

Copy

A4 sheet

How to make a barcode

  1. Choose the type: EAN-13 for a product, EAN-8 for a small package, Code 128 for an item number or a box number.
  2. Enter the number. For EAN-13, 12 digits are enough, for EAN-8 seven: the generator calculates and adds the check digit. If you enter the whole number, the generator checks the last digit.
  3. Choose the scale and download the barcode as PNG or SVG.
  4. Need many barcodes? Set how many in the “A4 sheet” block and download a PDF or print the sheet. Paste different numbers as a list, one per line.

Which barcode to choose

BarcodeWhat it encodesWhere it’s needed
EAN-1313 digits: the GTIN-13 product number, the last digit is the check digitRetail goods and marketplace products, cards in the National Catalog
EAN-88 digits: the GTIN-8 product numberSmall packages where EAN-13 doesn’t fit
Code 128Latin letters, digits and symbols, up to 48 characters hereItem numbers, box and storage bin numbers, internal accounting

For boxes and pallets, GS1 has its own SSCC numbers, printed as a GS1-128 barcode in the SSCC generator.

Where an EAN-13 number comes from

The number under an EAN-13 barcode is called a GTIN-13. Its first digits make up the company prefix issued by a national GS1 organization. In Russia, that’s GS1 RUS with prefixes from 460 to 469. The company assigns the remaining digits to its products itself, and the last digit is the check digit.

The prefix shows where the company prefix was issued, not the country of production: a company can make its goods in any country. The generator draws a barcode from your number but doesn’t issue numbers. A number made up at random may match someone else’s product. For internal accounting, GS1 reserved numbers with prefixes from 200 to 299: such barcodes work inside your own warehouse or store.

For Chestny ZNAK, the product number is written as a GTIN-14: the thirteen EAN-13 digits with a leading zero, and the generator shows it next to the barcode. Chestny ZNAK technical GTINs start with 029 and are created for marking existing stock and re-marking. Product numbers are explained in detail in the article “GTIN in marking”.

How to print a barcode

At 100% scale, the EAN-13 module is 0.33 mm, and the barcode with its white margins and digits takes 37.29 × 25.93 mm. The GS1 standard allows 80 to 200% scale. Print without fit to page and don’t trim the white margins on the sides: without them, a scanner may fail to read the barcode.

On an A4 sheet, the barcodes are laid out in a grid with 8 mm margins, and the generator shows how many will fit. If the sheet will be cut, turn on the cut lines. For a label printer, a label of the right size is handier: a label with a barcode and your own text is drawn by the GTIN check, and for Wildberries and Ozon there’s a label with DataMatrix and the product barcode.

Barcodes and marking codes

An EAN-13 barcode is the same on every unit of one product: it tells the checkout what the product is. A Chestny ZNAK marking code is unique to each unit; Chestny ZNAK issues it, and it’s printed as a square DataMatrix. The marking code contains the same GTIN product number, but the product barcode doesn’t replace the marking code.

A label with a marking code is made by the KIZ generator, a code from a package is checked by the marking code check, and any barcode can be read with a phone camera in the online scanner.

Questions

Frequently asked questions about barcodes

Didn't find an answer? Write to us, and an expert will reply in 15 minutes on average. More answers in the knowledge base and blog.

How do I make an EAN-13 barcode online?

Choose EAN-13 and enter the first 12 digits of the number: the generator calculates the check digit, adds it and draws the barcode. If you enter all 13 digits, the generator checks the last one and suggests the correct one if it doesn’t match. The barcode downloads as PNG or SVG, and an A4 sheet with as many barcodes as you need can be downloaded as a PDF or printed right away.

Where do I get a number for a product barcode?

GTIN product numbers for EAN-13 and EAN-8 are issued by a national GS1 organization, in Russia by GS1 RUS: a company joins the association, gets a prefix and assigns numbers to its products. The generator doesn’t issue numbers, it draws a barcode from yours. A number made up at random may match someone else’s product. For internal accounting, GS1 reserved numbers with prefixes from 200 to 299.

How is the check digit calculated?

The digits of the number except the last are multiplied by 3 and 1 in turn, starting from the right, and added up. The check digit brings the sum up to the nearest multiple of 10. The step-by-step calculation is shown by the GTIN check.

How does EAN-13 differ from EAN-8 and Code 128?

EAN-13 and EAN-8 encode only the digits of a product number. EAN-13 is on most retail goods; EAN-8 is shorter and is used on small packages where EAN-13 doesn’t fit. Code 128 encodes Latin letters, digits and symbols and is used to print item numbers, box numbers and storage bin numbers.

What size is an EAN-13 barcode?

At 100% scale, the barcode module is 0.33 mm, and an EAN-13 with its white margins and digits takes 37.29 × 25.93 mm. The GS1 standard allows 80 to 200% scale. The white margins on the sides are part of the barcode: without them, a scanner may fail to read it.

How do I print many barcodes on one sheet?

In the “A4 sheet” block, set how many barcodes you need. The generator lays them out in a grid with 8 mm margins and shows how many fit on a sheet. Download the PDF or click “Print” and print at 100% scale, without fit to page. For different numbers, choose “List”: each valid number goes on the sheet as many times as the number of copies you set.

Does an EAN-13 barcode replace a Chestny ZNAK marking code?

No. An EAN-13 holds only the product number, which is the same on all units of one item. Each unit has its own marking code; Chestny ZNAK issues it, and it’s printed as a DataMatrix. A label with a marking code is made by the KIZ generator, and a Wildberries and Ozon label with DataMatrix and the product barcode is put together by the marketplace label tool.

Does the generator send numbers to a server?

No. Barcodes, PNG, SVG and PDF files are built in your browser, and numbers and texts aren’t sent anywhere.

Labels with marking codes in Truemark

Cards from the National Catalog, ordering codes for them, labels with DataMatrix and EAN-13 in one template. 7 days free.

Or leave a request

We’ll answer about volumes, pricing and getting started. Leave your phone or email and your question in the request form.