Skip to main content

How to use it

GS1 data builds a GS1 barcode from fields. Enter a GTIN, then add the Application Identifiers you need: expiry date, batch, serial number, weight or any other. Choose the barcode: The generator puts the fields in the order GS1 recommends, adds separators where they’re needed, and checks every value against GS1’s rules before it draws anything. Any barcode makes a barcode from your own data:
  • Product barcodes: UPC-A, UPC-E, EAN-13, EAN-8, ISBN and ISSN (it adds the check digit if you leave it off), and GS1 DataBar, Omnidirectional or Limited (enter the GTIN with its check digit).
  • Logistics and industrial: ITF-14, Interleaved 2 of 5, Code 128, Code 39, Code 93 and Codabar.
  • 2D: QR Code, Data Matrix, PDF417, Aztec, Micro QR Code, MicroPDF417 and MaxiCode.
For QR Code, PDF417, Aztec and Micro QR Code, choose the error correction level for where the code will be used. See How much error correction should I use? Aztec’s level is a target: the writer picks the nearest symbol size, so the finished code can have more or less. Decode it with Barcode anatomy to see the level it got. The generator can’t make postal barcodes, the less common 1D types (Code 11, MSI Plessey and the other 2 of 5 variants), Han Xin, Grid Matrix or GS1 Composite yet. The barcode type’s page says how each is built.

Using the barcodes

  • Use real numbers. The examples use GS1’s demonstration prefix, 952, which never identifies a real product. For products you sell, use GTINs issued to your company by GS1.
  • Keep the white margin. Every barcode includes its quiet zone as solid white, in both the SVG and the PNG. Don’t crop it or make it transparent: in dark mode, an app shows its own dark background through a transparent margin, and the barcode stops scanning.
  • Print at the right size. Download SVG for print: it stays sharp at any size. Check the barcode type’s page for minimum sizes and quiet zones.
  • Test before printing in bulk. Scan a printed sample with the scanners that will read it. To see what’s inside a barcode, use Barcode anatomy.
Every barcode is made in your browser. Nothing you enter is sent anywhere. The first time you make a PDF417, Aztec, Codabar, GS1 DataBar, Micro QR Code, MicroPDF417 or MaxiCode, the page downloads a barcode writer built on ZXing from the jsDelivr CDN. It’s a few hundred kilobytes and carries none of your data. The other types are drawn by the page itself.

Read these in your app

ZipZapKit validates and parses everything this generator makes. See GS1 Application Identifiers, GS1 Digital Link and Validation.