Free GS1 2D Barcode Generator

Primary key

Choose the key type and type in its value.

Key type

Key qualifiers

They narrow the key down to a variant, a batch or a single item.

Application Identifiers

Further data, such as dates. They go at the end of the address.

Hundreds of codes at once

Make codes for many products and batches in one sheet. Paste your data from Excel or drag a row down, and the next batch numbers and dates fill in by themselves. Download every code in one file.

Create an account

The bulk generator is available from the Starter plan.

The bulk generator's sheet: five batches of one product, each with its date and QR code

How to generate a usable GS1 2D barcode

This generator creates GS1 DataMatrix, GS1 QR, Data Matrix with a GS1 Digital Link URI, and QR Code with a GS1 Digital Link URI. Start with a valid GS1 primary identifier, choose the symbol for your scanning scenario, then download and test the result on the final material.

What data do you need?

A primary identifier such as a valid GTIN is required. Add a batch, serial number, expiry date, or another qualifier only when it belongs to the intended use case. Sample GTINs are for testing, not for identifying products placed on the market.

QR Code or Data Matrix?

A QR Code with a GS1 Digital Link URI is the practical choice when consumers need to scan with a phone. Data Matrix is more compact and suits controlled workflows with compatible scanners. Confirm the capabilities of the point-of-sale system before rollout.

How should X-dimension be set?

X-dimension is the width of the smallest module in the symbol. The generator shows the physical print size and warns when the chosen value falls outside the GS1 reference range. Final size still needs verification for the material, printer, and scanner.

From identifier to test print

  1. 1Choose the primary GS1 key and enter a value with a correct check digit.
  2. 2Add only the key qualifiers and attributes needed for the product or process.
  3. 3Choose the symbol type and review the encoded data and human-readable interpretation.
  4. 4Set the X-dimension and download an SVG or PNG file.
  5. 5Print the code at its final size and test it on the finished package with the devices used in practice.

Frequently asked questions

Yes. The generator is free, works in your browser, and needs no account. You download each code as an SVG or PNG file.

A QR Code with GS1 Digital Link stores the GS1 data as a web address, so a phone's default camera opens it as a link. GS1 QR stores the same data as GS1 element strings for business scanners. A phone can read it only with a specialised app.

Choose SVG for packaging and print. It is a vector file, so the code stays sharp at any size. PNG is an image with a fixed number of pixels, so set the resolution (DPI) to match your printer before you download it.

Choose a domain you will control for as long as the packaging is on the market, because the address cannot change once it is printed. The generator offers Thing Identity, the GS1 Resolver at id.gs1.org, and any address you enter yourself.

Yes, as long as the resolver on the code's domain lets you. The address in the code stays fixed, and the resolver on that domain decides where it leads, so you change the destination there without reprinting.

Yes, with the bulk generator in a Thing Identity account, available from the Starter plan. Paste data from Excel or drag a row down to fill in the next batch numbers and dates. You download every code in one file.

We use cookies

We use cookies to ensure you get the best experience on our website. For more information on how we use cookies, please see our Cookie Policy.