LogoTools
Runs entirely in your browser - nothing is uploaded

A GTIN (Global Trade Item Number) is the umbrella term GS1 uses for the family of product identifiers you'll see as EAN-8, UPC-A (GTIN-12), EAN-13 (GTIN-13) and GTIN-14. They're the same numbering system at different lengths, and every valid code carries a check digit computed from the digits in front of it, so you can convert between lengths without breaking that checksum.

This tool detects which format a code is in, validates its check digit, and converts it to the other three lengths. It also does a GTIN-14 packaging conversion that uses a real GS1 indicator digit instead of padding with a zero.

When you'd use this

Most often: a supplier hands you a 12-digit UPC and your system wants a 13-digit EAN, or a marketplace CSV rejects a barcode because it's the wrong length for the field. Converting by hand means re-deriving the check digit correctly, which is where manual conversions usually go wrong.

It's also useful for building GTIN-14 case/pallet codes for shipping labels, where the leading digit is a real GS1 packaging indicator (1–8) or the variable-measure indicator (9), not just a placeholder zero.

Common errors

"Checksum mismatch" means the last digit of the code you pasted doesn't match what GS1's check-digit algorithm computes from the rest. Either it was mistyped, or it was never a real GTIN.

"Cannot convert without losing significant digits" appears when you try to shorten a code (say, GTIN-14 → GTIN-12) but the digits being stripped aren't all zeros. Nothing is broken there. The code has no valid shorter representation, because a non-zero digit in that position carries meaning.

Frequently asked questions

Does padding a code with zeros change its check digit?

No. GS1's check-digit weighting runs right-to-left from the last digit, so digits added to the left (zero or otherwise) never shift the weights of the existing digits. That's why GTIN-8/12/13 → GTIN-14 is a pure zero-pad with the same check digit at the end, not a recalculation.

What's the difference between a UPC-A and an EAN-13?

A UPC-A is a 12-digit GTIN-12. Converting it to EAN-13 means '0' followed by those 12 digits, with no recalculation needed, since a leading zero doesn't affect the check digit. Most EAN-13 scanners already accept UPC-A codes for this reason.

What does the GTIN-14 indicator digit mean?

It's the leading digit of a GTIN-14, defined by GS1 as a packaging level: 1–8 for different levels of case/carton/pallet packaging, 9 for variable-measure items (like items sold by weight). Unlike plain zero-padding, choosing a real indicator (1–9) means the check digit is recalculated for the new 14-digit code.

Ecommerce & Catalog Cluster

Often used together when preparing marketplace listings - see the full workflow.

EAN / UPC Generator

Generate valid-checksum EAN-13, EAN-8, UPC-A and GTIN-14 product codes in bulk for test catalogs, and validate the check digit of any existing code.

Ecommerce & CatalogOpen Tool

Barcode Generator

Render a scannable EAN-13, UPC-A, CODE128 or ITF-14 barcode from a product code and download it as a PNG for labels and store listings.

Ecommerce & CatalogOpen Tool

SKU Generator

Generate consistent SKU codes in bulk from a custom pattern, with variant permutations, sequential numbering and collision checking. Free, no sign-up.

Ecommerce & CatalogOpen Tool

Product CSV Validator

Check a product CSV for missing columns, broken variant handles, duplicate SKUs, invalid barcodes and bad prices before you import it.

Ecommerce & CatalogOpen Tool

Marketplace Image Checker

Check product images against each marketplace's dimension, aspect ratio, file size and format rules before you upload them.

Ecommerce & CatalogOpen Tool

ISBN / ASIN Validator

Validate ISBN-10 and ISBN-13 check digits, convert between them, and check Amazon ASIN format in bulk.

Ecommerce & CatalogOpen Tool

IBAN Generator

Generate format-valid, checksum-correct IBAN numbers for any supported country for testing and QA, and validate the checksum of any IBAN.

Ecommerce & CatalogOpen Tool

GST Calculator

Add or remove GST at any standard slab rate, split into CGST/SGST for intra-state supply or IGST for inter-state supply.

Ecommerce & CatalogOpen Tool

Profit Margin Calculator

Work out margin and markup from cost and selling price, roll shipping and duty into a per-unit landed cost, or back into the price a target margin needs.

Ecommerce & CatalogOpen Tool

Discount Calculator

Work out stacked/sequential discounts, a Buy-X-Get-Y-free offer's real effective discount, and whether a bundle price beats buying items individually.

Ecommerce & CatalogOpen Tool

Shipping Cost Calculator

Work out volumetric vs actual chargeable weight and the total shipping cost from your own courier's rate card, including fuel surcharge and COD fees.

Ecommerce & CatalogOpen Tool

COD & RTO Cost Calculator

Work out your own RTO rate, what a single return-to-origin actually costs, and how COD's net revenue per order compares to a discounted prepaid option.

Ecommerce & CatalogOpen Tool

Marketplace Fee Calculator

Enter your marketplace's commission, payment gateway, and shipping fees to see the real net payout and margin behind a listing price.

Ecommerce & CatalogOpen Tool