GS1 DataBar Stacked Generator

Generate GS1 DataBar Stacked barcodes in your browser with live preview, validation, and PNG/SVG export.

Advanced options
Enter a value to see a live preview.
Options

These map directly to real generator options; anything not listed here is available under Advanced options above.

What GS1 DataBar Stacked is

GS1 DataBar Stacked is a plain GS1 DataBar family member, distinct from the already-covered GS1 DataBar Stacked Composite (which adds a linked 2D composite component). bwip-js forces its own drawing mode to "stacked" and delegates entirely to its DataBar Omnidirectional encoder -- confirmed directly, and confirmed by a byte-for-byte render comparison: this capability's own default render is byte-identical to calling the DataBar Omnidirectional encoder directly with format forced to "stacked"; a caller-supplied format override (e.g. "omni") is silently discarded.

Generate it now

Enter a GTIN with the (01) Application Identifier to see a live preview.

Valid input

The value must be 17 or 18 characters ("GS1 DataBar Stacked must be 13 or 14 digits") and must begin with the (01) Application Identifier ("GS1 DataBar Stacked must begin with (01) application identifier"), containing only digits after that. With 17 characters (a 13-digit GTIN, no check digit), bwip-js computes and appends its own GTIN check digit; with 18 characters, it verifies the trailing digit and rejects a mismatch ("Incorrect GS1 DataBar Stacked check digit provided").

Key options

Supported options include height and width. Neither is declared by this capability's own function -- both are forwarded, still unresolved, to its DataBar Omnidirectional delegate, which owns the real behavior for each (the same pass-through shape already documented for pharmacode/industrial2of5 elsewhere in this catalog). width is a physical print dimension in millimetres, not a module count.

Output and printing

Export SVG for vector-precise label artwork or PNG for a quick proof.

Common uses

GS1 DataBar Stacked is used for small retail items (like fresh produce) that need a compact, multi-row linear GTIN symbol where a full-width single-row barcode would not fit the label.

Example

See the live preview above, seeded with a bwip-js-verified valid GTIN.

Size guidance

width is a physical millimetre dimension for the linear component, distinct from the fixed module count the symbol's own data encoding uses -- fixing it stretches or compresses the printed symbol to that width.

Troubleshooting

A rejected render is usually the wrong character count (17 or 18 only), a missing (01) Application Identifier, a check digit mismatch, or an explicit width of 0 ("width must be from 0.01 to 50" -- omit the option entirely to auto-size instead).

Related formats

Related formats: GS1 DataBar Stacked Composite (the related-but-distinct DataBar family member with a linked 2D composite component, already in this catalog, permanent cohort) and GS1 DataBar Expanded (a different multi-row-capable DataBar family member, already in this catalog).

FAQ

Is GS1 DataBar Stacked the same as GS1 DataBar Stacked Composite?

No -- they are different DataBar family members. This capability renders only the linear (stacked) component; DataBar Stacked Composite adds a linked 2D composite component on top of an equivalent linear symbol.