GS1-128 barcode generator

Create GS1-128 barcodes with Application Identifiers for GTIN, batch, expiry and SSCC pallet labels.

  • Free · no watermark
  • Runs in your browser
1 · Formattype: 'gs1-128'
Retail
Logistics
Industrial
Application Identifiers in brackets, e.g. (01)…(17)…
Ready — 28 characters encoded
3 · Bars
60 px
Module width
10 px · 5.0 X
4 · Text
14 px
5 · Color
Bars
Background
6 · Rotation
Live previewGS1-128
100%
(01)09506000134352(17)261231
Modules
178
X-dimension
0.479 mm
Size
90.0 × 25.4 mm
Status
Valid
Export

Vector · best for print · 90.0 mm wide

Specs
Check digit
Mod 103, built in
Quiet zone
5.0 X
Bar height
14.4 mm
Human text
Below
etiket · label.ts
import { barcode } from 'etiket'

const svg = barcode('(01)09506000134352(17)261231', {
  type: 'gs1-128',
  height: 60,
  barWidth: 2,
  showText: true,
  textPosition: 'bottom',
  fontSize: 14,
  margin: 10,
  background: '#FFFFFF',
})

About GS1-128

What is a GS1-128 barcode?

GS1-128 is Code 128 with a defined structure: every field starts with an Application Identifier in brackets, such as (01) GTIN, (10) batch, (17) expiry date or (00) SSCC. Trading partners read product and shipment data from a single scan.

Data
Up to 48 characters of AI data
Characters
Numeric and alphanumeric fields, each introduced by an Application Identifier.
Check digit
Mod 103, built in
Print size
For logistics labels, X between 0.495 and 1.016 mm and a bar height of at least 31.75 mm
Used for
SSCC pallet labels, batch and expiry data

How to create a GS1-128 barcode

  1. 1
    Enter your data
    Type or paste the text to encode — application Identifiers in brackets, e.g. (01)…(17)….
  2. 2
    Adjust bars and text
    Set bar height, module width and quiet zone, and choose whether to print the human-readable text.
  3. 3
    Set the print size
    Enter the final width in mm, cm, inches or pixels. The X-dimension and height update as you type.
  4. 4
    Download and test
    Export SVG for print or PNG at 300–600 dpi, then run a test scan before you print a full batch.
Other barcode generators

FAQ

GS1-128 questions

More answers in the general FAQ and the barcode size guide.

How do I create a GS1-128 barcode?

Choose GS1-128 in the format list, enter your data (application Identifiers in brackets, e.g. (01)…(17)…), set the print width, then download SVG or PNG.

What data can a GS1-128 barcode hold?

Up to 48 characters of AI data. Numeric and alphanumeric fields, each introduced by an Application Identifier.

What size should a GS1-128 barcode be?

For logistics labels, X between 0.495 and 1.016 mm and a bar height of at least 31.75 mm. Keep the quiet zone clear and print dark bars on a light background.

Is this GS1-128 generator free for commercial use?

Yes. There is no watermark, sign-up or usage limit, and barcodes are generated in your browser — your data is never uploaded.