GS1 DataBar Stacked Composite Generator

Generate GS1 DataBar Stacked Composite 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 Composite is

GS1 DataBar Stacked Composite pairs a linear GS1 DataBar Stacked symbol with a 2D Composite Component that carries additional GS1 Application Identifier data above it.

Generate it now

Enter your linear and composite AI data separated by a pipe character, e.g. (01)09521234543213|(17)010200, for a live preview.

Valid input

Input must contain a pipe character ("|") separating the linear component's AI data from the Composite Component's AI data; bwip-js rejects input with no pipe character.

Key options

Supported bwip-js options include dontlint and width. parse is also accepted, but it does not control GS1 AI structure interpretation -- that always happens, as above. parse instead controls whether bwip-js decodes its own caret-escape syntax (e.g. ^048 for a raw byte value) inside an AI's value, in either the linear or Composite Component, before that value is validated; an ordinary AI value with no such escape text renders identically whether parse is set or not.

Output and printing

Export SVG for retail or logistics labels; keep both the linear and composite portions' quiet zones intact when placing the label.

Common uses

Variable-measure retail items, such as fresh produce sold by weight, use GS1 DataBar Stacked Composite to carry a GTIN plus supplementary data such as an expiry date in one compact symbol.

Example

The seeded example, "(01)09521234543213|(17)010200", pairs a GTIN (AI 01) in the linear component with an expiry date (AI 17) in the 2D Composite Component above it -- everything before the pipe renders in the linear DataBar Stacked symbol, everything after it in the composite.

Troubleshooting

Missing the pipe separator between the linear and composite AI data is the most common input error; the encoder raises an explicit error asking for a Composite Component.

Related formats

Related formats: GS1 DataBar Expanded Stacked, GS1 DataBar Omnidirectional, and GS1-128.

FAQ

What does the pipe character do?

It separates the linear GS1 DataBar Stacked component's AI data from the 2D Composite Component's AI data -- bwip-js requires it and rejects input without one.