UPC-A check digit validator
Prefix a 0 to make 13 digits, then apply the same alternating 1/3 weighting as EAN-13.
Try it: a valid example · a broken example
curl 'https://check-digit.gumballtools.com/api/v1/run?input=036000291452&format=upca'
Prefix a 0 to make 13 digits, then apply the same alternating 1/3 weighting as EAN-13.
Try it: a valid example · a broken example
curl 'https://check-digit.gumballtools.com/api/v1/run?input=036000291452&format=upca'