Skip to content

GS1 DataBar generator

Pick the DataBar version, then type 13 digits and the check digit is added, or all 14 and it is checked. Expanded and Expanded Stacked take Application Identifiers such as a weight, an expiry date or a lot.

13 digits, or 14 with the check digit. For an EAN-13 or UPC-A, put zeros in front to make 14.

One row with a 14-digit GTIN.

36.3 × 14.52 mm printed size, module 0.33 mm.Encodes 09501101530003

Need many? Make a batch or a label sheet.

Print check: whole dots and a read-back test

Use the resolution in your printer’s settings or data sheet.

At 300 dpi one dot is 0.085 mm, so your module of 0.33 mm is 3.9 dots. A printer places whole dots, so bars of the same width may come out a dot apart in width.

Read-back test

This is a quick test of the data, not a print-quality grade, and your scanner may behave differently. Test-scan a real print before a run.

Size and colour

mm
mm
mod.
#000000
#FFFFFF

What is GS1 DataBar?

GS1 DataBar is a family of GS1 barcodes for items that are too small for an EAN-13 and for data an EAN-13 cannot hold. Four versions carry one thing, a 14-digit GTIN: Omnidirectional and Limited as a single row of bars, Stacked and Stacked Omnidirectional cut into two rows so the symbol is narrower. Expanded carries a GTIN together with other GS1 data, written as Application Identifiers (for example a weight, an expiry date or a lot), and Expanded Stacked is the same data cut into two or more rows.

The ISO standard for GS1 DataBar says that GS1 DataBar Limited encodes a 14-digit GS1 item identification with a leading digit of zero or one in a linear symbol for use on small items that will not be scanned at the point-of-sale. The stacked variations are two-row symbols. GS1 DataBar Stacked encodes a 14-digit GS1 item identification in a linear symbol and is not suitable for omnidirectional scanning, while GS1 DataBar Omnidirectional and GS1 DataBar Stacked Omnidirectional encode a 14-digit GS1 item identification (often referred to as a Global Trade Item Number, or GTIN) in a linear symbol that can be scanned omnidirectionally by suitably programmed point-of-sale scanners.

The version picker above draws all six. Limited is drawn only for GTINs that start with 0 or 1, which is the rule the encoder behind this page enforces; for any other GTIN use Omnidirectional or a stacked version. The last digit of a GTIN is a check digit worked out from the other thirteen with the GS1 mod 10 method; it is added or verified for you, as on the EAN-13 page.

Where it is used

  • Small items where an EAN-13 does not fit
  • Narrow labels, where a stacked version trades width for height
  • Fresh food sold by weight or with an expiry date (Expanded)
  • Coupons and promotions (Expanded)
  • Labels that must carry a GTIN and a lot or date (Expanded)

What it holds

What a GS1 DataBar barcode holds
GS1 DataBar
Omnidirectional, LimitedOne GTIN of 14 digits in a single row, the last digit being the check digit (Limited: GTINs starting with 0 or 1)
Stacked, Stacked OmnidirectionalThe same GTIN in two rows: short rows for Stacked, tall rows for Stacked Omnidirectional
Expanded, Expanded StackedA GTIN plus other Application Identifiers, written in brackets, in one row or several
Check digitGS1 mod 10, added here when you type 13 digits
Human-readable textThe GTIN in the form (01) followed by its 14 digits

Printing GS1 DataBar barcodes

  • To draw the number of an EAN-13 or UPC-A, put zeros in front to make 14 digits: one for an EAN-13, two for a UPC-A. The check digit does not change.
  • Ask the retailer or marketplace whether it accepts GS1 DataBar before you print. For ordinary shop items, EAN-13 and UPC-A are the formats every checkout takes.
  • Keep the bar height the generator starts with unless your label forces less: the symbol is a tight pattern and short bars leave a scanner little to catch.
  • Print one sample on the printer and label stock you will use, and scan it with the scanners that have to read it, before a full run.

Need a sheet of them? The batch generator makes up to 1,000 GS1 DataBar barcodes at once and lays them out on Letter or A4 label sheets.

Where the numbers come from

A GS1 DataBar barcode is only as good as the number in it. For products sold through retailers, the number is a GTIN built from a GS1 Company Prefix that the brand owner licenses from its local GS1 office, and retailers check numbers against GS1 records. The guide from GS1 New Zealand linked below walks through that process as one example.

This site draws barcodes for numbers you already have. It does not issue, sell or register GS1 numbers, and a correct check digit does not mean a number is registered.

Questions about GS1 DataBar

Can I use my EAN-13 or UPC number in a GS1 DataBar?

Yes, because a DataBar holds a GTIN of 14 digits. Put one zero in front of an EAN-13 (or two in front of a UPC-A) and type all 14 digits: the check digit stays the same, and it is verified here. If you type only 13 digits, they are read as the first 13 digits of a GTIN-14 and a check digit is added.

What is DataBar Expanded?

The member of the family that holds more than a GTIN. Pick “Expanded” (or “Expanded Stacked”) in the version list and write each Application Identifier in brackets, for example (01)09501101530003(3103)000123, a GTIN with a net weight of 0.123 kg. The encoder checks the length and format of every AI it knows.

Which GS1 DataBar version should I draw?

The one your trading partner or the label specification names. If nobody names one, Omnidirectional is the plain single-row version for a GTIN. Pick a stacked version when the label is too narrow for one row: the symbol gets narrower and taller. Limited is a single row for GTINs that start with 0 or 1. Draw the version you are asked for and test-scan a print.

Why does DataBar Limited refuse my number?

Limited is drawn only for GTINs whose first digit is 0 or 1; the encoder behind this page rejects any other. A GTIN-14 made from an EAN-13 or UPC-A number starts with 0, so those work. For a GTIN that starts with another digit, use Omnidirectional or a stacked version.

Why can I not set the bar height of a stacked version?

The stacked versions are drawn with the row heights of the symbol itself, set by the encoder, so there is no bar height or text line to change. Change the module width to make the whole symbol larger or smaller; the size in millimetres is shown under the drawing.

Will a checkout read a GS1 DataBar?

It depends on the scanner and on the rules of the retailer. Many scanners read DataBar, but some older ones do not, and some retailers and marketplaces accept only EAN-13 and UPC-A. Ask before you print.

Does the print check test GS1 DataBar?

For DataBar Omnidirectional, Limited, Stacked and Stacked Omnidirectional, yes: it shows how many printer dots a module takes, offers whole-dot widths, then reads the drawn symbol directly in your browser using ISO/IEC 24724 decoding tables (including widths, finder patterns and checksum validation), both as drawn and with the bars one dot wider and narrower. DataBar Expanded gets the same test, with one difference: the reader used here is not fully reliable for it, so “Reads correctly” is a real result but “No result from this reader” says nothing about your barcode; test-scan a real print. Expanded Stacked has no read-back. The test checks the data and the size, not your printer or paper. The Scanner page reads DataBar Omnidirectional, Limited, Stacked and Expanded from the camera or from a picture.

Sources