Free GS1 DataBar Barcode Generator (Omnidirectional)
GS1 DataBar Omnidirectional holds one thing: a product's 14-digit GTIN, the number an EAN-13 or UPC-A carries. Type it after (01), check that it scans and download it.
A GTIN as (01) and its 14 digits, e.g. (01)09501101530003. Leave off the last digit and the check digit is added.
The blank margin left and right of the bars, in modules (the width of the narrowest bar). GS1 DataBar needs none.
Made in your browser; nothing you type is sent to QRdx. WebP and AVIF are encoded by QRdx's server when you pick them, and nothing is kept.
Where GS1 DataBar barcodes are used
Retail items too small for an EAN-13 or UPC-A: its bars are as wide as an EAN-13's but much shorter. Checkout scanners read it from any angle, like an EAN-13.
Not every scanner has GS1 DataBar switched on. Ask the retailer that will scan it before you print, and use EAN-13 or UPC-A when in doubt.
Do I need GS1 numbers for GS1 DataBar?
Yes. The GTIN it holds is built from a GS1 company prefix, like the number in an EAN-13 or UPC-A.
A GTIN is licensed, not bought outright: you join GS1 (or the GS1 organization in your country), get a company prefix and number your products from it. Large retailers and marketplaces check GTINs against GS1's registry, so numbers resold from someone else's prefix can be rejected.
GS1 DataBar input and check digit
What it takes
A GTIN as (01) and its 14 digits, e.g. (01)09501101530003. Leave off the last digit and the check digit is added.
Example
(01)09501101530003- (01) 09501101530003
- GTIN of the product or case
Write the GTIN after (01), as 14 digits: (01)09501101530003. A 13-digit EAN-13 number becomes a GTIN with a 0 in front, and a 12-digit UPC-A number with two.
Leave off the last digit and the check digit is added; enter all 14 and it's checked. The brackets aren't encoded; they show that (01), the GTIN, follows.
GS1 DataBar holds nothing but the GTIN. For a weight, a price, a batch or a date, use GS1 DataBar Expanded, which takes the same (AI)value input.
The check digit of 0950110153000, worked out
| Digit | 0 | 9 | 5 | 0 | 1 | 1 | 0 | 1 | 5 | 3 | 0 | 0 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Weight | ×3 | ×1 | ×3 | ×1 | ×3 | ×1 | ×3 | ×1 | ×3 | ×1 | ×3 | ×1 | ×3 |
| Product | 0 | 9 | 15 | 0 | 3 | 1 | 0 | 1 | 15 | 3 | 0 | 0 | 0 |
The products add up to 47. Adding 3 makes 50, the next multiple of 10, so the check digit is 3.
GS1 DataBar barcode size
| Example as SVG, PDF or EPS | 46.6 × 19.2 mm |
|---|---|
| Module (narrowest bar) | 0.353 mm |
| Bar height | 15 mm |
| Quiet zone | None required each side; the generator starts with 10 |
- The downloads use a 0.353 mm module and 15 mm bars. GS1 asks for bars at least 33 modules high, 11.6 mm at this module.
- The bars are 96 modules wide, 33.5 mm here: about the width of an EAN-13's bars at the same module. The printed GTIN is a little wider than the bars, so the file is wider too.
GS1 DataBar barcode API
The same barcode is an image URL, with no API key: put it in an img tag, a label template or a product feed. It checks the value the way this page does, and allows 300 requests a minute per IP address. The barcode API docs list every option.
SVG image
https://api.qrdx.dev/v1/barcode?format=gs1-databar&data=(01)09501101530003PNG, 3 pixels per module
https://api.qrdx.dev/v1/barcode?format=gs1-databar&data=(01)09501101530003&type=png&scale=3In a web page
<img src="https://api.qrdx.dev/v1/barcode?format=gs1-databar&data=(01)09501101530003" alt="GS1 DataBar (01)09501101530003" />GS1 DataBar barcode FAQ
What does a scanner return?
The digits 01 and the GTIN, 16 in all, sometimes after a symbology identifier (]e0), and with no brackets. The scan check here accepts both forms.
My scanner reads EAN-13 but not this. Why?
Most likely GS1 DataBar is switched off in its settings. Many scanners let you turn each symbology on or off; check the manual for GS1 DataBar, which older documents call RSS-14.
Can it hold a weight or an expiry date?
No, only the GTIN. GS1 DataBar Expanded holds the GTIN with other Application Identifiers, such as (3103) for a weight or (17) for an expiry date.
Other barcode types
All 20 barcode typesBarcodes are static: the data is in the bars, so they work offline and never expire. For a link people scan with a phone camera, use one of the QR code generators.