Labelmodule

About Labelmodule

Labelmodule is a free barcode generator for sellers, warehouses and makers. This page explains how the codes are produced, which standards the sizes and check digits follow and how we test that they scan.

How the codes are made

Codes are encoded and drawn in your browser by bwip-js, an open-source barcode library. PNG, SVG and PDF files are built from the same drawing, so a PDF or SVG keeps exact bar widths at any size.

GTIN check digits (UPC, EAN, ITF-14 and AI 01 in GS1-128) are calculated with the GS1 modulo-10 rule; if you type a full number, a wrong check digit is shown instead of being silently replaced.

Standards behind sizes and rules

Module widths, bar heights and quiet zones on the generator and guide pages come from these specifications:

  • GS1 General Specifications: UPC-A, UPC-E, EAN-13, EAN-8, ITF-14, GS1-128 and GS1 DataMatrix (number structure, magnification 80–200%, quiet zones, Application Identifiers).
  • ISO/IEC 15417 (Code 128), ISO/IEC 16388 (Code 39), ISO/IEC 15438 (PDF417), ISO/IEC 16022 (Data Matrix), ISO/IEC 18004 (QR Code).
  • Label sheet presets: the published label sizes and margins of common A4 and US Letter sticker sheets, entered as measurements, not brand templates.

How we test that codes scan

Every code type was generated for more than 50 sample values and decoded by an independent reader, zxing-cpp, in PNG, SVG and PDF; every sample decoded back to the value typed in.

The barcode scanner on this site uses the same reader, zxing-cpp, built for the browser. Every code type the generators make was scanned with it from downloaded PNG and SVG files and through a camera feed.

Contact, Wi-Fi, logo and custom QR codes are decoded again on the page before they can be downloaded; custom colours must also pass a 4.5:1 contrast check. In testing, contact and Wi-Fi codes with commas, semicolons, quotes and accented letters, and logo codes with six different logos at 12–30% of the code width, all decoded from the downloaded PNG, SVG and PDF files.

Address label PDFs (Noto Sans embedded, with Polish, Czech, German, French and Russian test addresses) were measured for every sheet layout: each line sits in its own label, the text block is centred on the label within 0.2 mm, and nothing prints outside the labels.

Scanning on paper also depends on the printer and the label: print at 100% and keep the module at or above the minimum shown under the code.

What we do not do

We do not issue, sell or register barcode numbers. UPC and EAN numbers for retail products come from GS1; the guide on getting barcode numbers explains how.

Nothing you type is uploaded: there is no account, no analytics and no cookies. The privacy policy has the details.