Skip to content

GS1-128 Generator

PHP 8 Bootstrap 5 Vanilla JS picqer/barcode bwip-js TCPDF PHPUnit 10

Project Overview

A free online generator that converts EAN-13 or GTIN-14 product codes into standards-compliant GS1-128 (EAN-128) barcodes — the symbology used on shipping cartons and pallets across warehouses and logistics. Optional Application Identifiers add batch numbers, best-before dates, net weights and serials, with every input validated against GS1 rules before a barcode is produced.

The Problem It Solves

Retailers and distributors increasingly demand GS1-128 labelling on outer cases, but small suppliers usually have only the EAN-13 from the retail pack. Translating one into the other — building the GTIN-14 with the right indicator digit, recalculating the check digit, choosing valid AI combinations and formatting dates the GS1 way — is exactly the kind of fiddly, error-prone work that gets shipments rejected at the warehouse gate.

The Approach

A guided five-step wizard asks one question at a time, validates instantly, and shows a live barcode preview as you go. Power users can skip the wizard entirely and bulk-import rows from CSV or XML. Barcodes render server-side to PNG, SVG or print-ready PDF.

Live Demo

The generator runs right here on attv.uk — no signup, free to use. Convert an EAN-13 from any product on your desk into a GS1-128 with batch and best-before AIs, then download it as PNG, SVG or PDF.

Key Features

  • EAN-13 / GTIN-14 to GS1-128 conversion with automatic check-digit calculation
  • Application Identifiers: batch/lot, production and best-before dates, net weight, serial numbers — with AI-combination validation
  • Guided 5-step wizard with instant validation feedback and live preview
  • Bulk generation from CSV or XML import
  • Output to PNG, SVG and print-ready PDF (TCPDF)
  • No database required — stateless PHP, easy to self-host

Screenshots

Why look at screenshots? The real thing is one click away.