UPC has valid format
What this tool does
This tool checks if a Universal Product Code follows the correct structure. It helps you ensure product codes are valid before using them in reports or systems. It solves the problem of entering incorrect codes that might cause errors later.
When to use it
- Verifying product codes before adding them to a catalog.
- Cleaning up lists of product numbers to remove invalid entries.
- Checking codes received from suppliers for basic correctness.
- Validating data imported from external sources.
What to expect
You will receive a simple yes or no answer. This tells you if the code provided is structurally correct. No other details about the product itself are returned.
Limitations
- It only checks the number sequence and checksum, not if the product exists.
- It does not verify if the code is currently in use by a brand.
- It cannot detect codes that are valid in format but assigned to the wrong item.
When it fails
- No product code was provided in the input field.
- The input contains non-digit characters that prevent processing.
Good to know
- A valid format does not guarantee the product is real or active.
- Codes with leading zeros should be included as part of the full sequence.
Input data
| Parameter | Required | Example | Description |
|---|---|---|---|
upc | Yes | 635753490879 | Enter the 12-digit UPC code you want to check. The tool will ignore any non-digit characters (like spaces or dashes) and only look at the numbers. |
Output data
| Field | Description |
|---|---|
result | Returns true if the code has the correct 12-digit format and check digit, or false if it does not. |