How it works
Pick the kind of code and type what it should hold.
- EAN-13 and UPC-A: type the number without its last digit and the GS1 check digit is added, or type the whole number to check it. Pick a size from 80% to 200%; the barcode keeps GS1’s quiet zones (11 and 7 narrow bars wide for EAN-13, 9 each side for UPC-A).
- Code 128: any letters, digits and common symbols, for your own labels. Long runs of digits are packed two to a pattern, so long numbers stay short. It keeps 10 narrow bars of clear space each side.
- QR code: a web address or text, a contact card, a Wi-Fi network, a UPI payment request (India, rupees) or a SEPA credit transfer (euro). It uses error correction level M and a margin of four modules.
- What the UPI code holds: one
upi://paylink with your UPI ID (pa), the payee name (pn), the amount if you type one (am, two decimals), the currencyINR(cu) and your note if you add one (tn), for exampleupi://pay?pa=kaveri@examplebank&pn=Kaveri%20Agencies&am=1250.00&cu=INR&tn=Bill%20482. It adds no merchant code or signature.
The check digit, both ways: to make one, weight the digits 1, 3, 1, 3 … from the left, add up, and take the difference to the next multiple of 10. To check a full number, weight all 13 digits 1, 3, … 1 and the sum must end in 0.
The common mistake: scaling a barcode in a page-layout program after download, which changes the bar widths and the quiet zones, or printing it below 80%. Choose the size here and keep the SVG at the size it carries. The other is cropping the clear margins, which stops scanners finding the code.
Download the SVG for print: it carries its size in millimetres. The PNG is drawn at about 600 dpi for that size.
Worked example
Kaveri Agencies, Vijayawada, has the 12-digit number 890765432101 for a 500 g pack of filter coffee (made up for this example). GS1’s method: multiply the digits by 1 and 3 in turn, add them up, and take the difference to the next multiple of 10.
| Digit | 8 | 9 | 0 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| × weight | 1 | 3 | 1 | 3 | 1 | 3 | 1 | 3 | 1 | 3 | 1 | 3 |
| = | 8 | 27 | 0 | 21 | 6 | 15 | 4 | 9 | 2 | 3 | 0 | 3 |
The products add up to 98. The next multiple of 10 is 100, so the check digit is 2 and the full EAN-13 is 8907654321012. At 100% the barcode is 37.29 mm wide including its quiet zones, with bars 22.85 mm high.
| Size | Narrow bar (X) | Width with quiet zones | Bar height |
|---|---|---|---|
| 80% | 0.264 mm | 29.83 mm | 18.28 mm |
| 100% | 0.330 mm | 37.29 mm | 22.85 mm |
| 150% | 0.495 mm | 55.94 mm | 34.28 mm |
| 200% | 0.660 mm | 74.58 mm | 45.70 mm |
Source: GS1 Australia EAN-13 fact sheet, Aug 2026, scaled from the 100% figures.
Notes
- Payments: the UPI and SEPA codes only build the payment request. They do not check that the UPI ID or the account exists. Scan the code with your own app before you print it.
- SEPA codes follow EPC069-12: at most 331 bytes, a name of up to 70 characters and an amount from €0.01 to €999,999,999.99. An RF creditor reference is sent in its own field.
- What this does not do: it does not issue GTINs, make GS1-128 labels with Application Identifiers, or make GS1 Digital Link codes.
In MyRecords
Items in MyRecords carry a barcode, and the till in Point of sale adds an item by scanning it, by code or by name, with the batch or serial asked for when an item needs one. Sales prints barcode labels, Inventory prints QR labels for warehouses, racks and batches, and in India an exact-amount UPI QR from your own UPI ID prints on bills and unpaid invoices.















