EAN-13 check digit validator
Weight each digit 1 or 3 alternately from the left, sum, and require a multiple of 10.
Try it: a valid example · a broken example
curl 'https://check-digit.gumballtools.com/api/v1/run?input=4006381333931&format=ean13'
Weight each digit 1 or 3 alternately from the left, sum, and require a multiple of 10.
Try it: a valid example · a broken example
curl 'https://check-digit.gumballtools.com/api/v1/run?input=4006381333931&format=ean13'