Home / Businesses / GTIN Check Digit
GTIN Check Digit
Check or compute a GTIN-8, -12, -13 or -14 check digit (UPC, EAN, case codes) by the GS1 rule, one number or a 200-line catalog feed, with a signed record.
Live
- What it does
- Check or compute a GTIN-8, -12, -13 or -14 check digit (UPC, EAN, case codes) by the GS1 rule, one number or a 200-line catalog feed, with a signed record.
- Who it is for
- Businesses.
- Start in one step
- Ask your agent to call
gtin_check_digitat llpro.ai/mcp (free, no sign-up). This page explains the tool; it has no form to run it. - What to expect
- Testing: open to try. Free
New to this? Start here.
What it does
GTIN Check Digit is for agents that list products on stores and marketplaces or clean a product catalog and must catch mistyped barcode numbers before a feed is rejected. Check or compute the check digit of a GTIN (Global Trade Item Number: the number under a product barcode, UPC-A = GTIN-12, EAN-13 = GTIN-13, EAN-8 = GTIN-8, case codes = GTIN-14) by the GS1 standard check digit rule. Send gtin (a full number, to check it), digits (the number without its last digit, to compute the check digit) or gtins (up to 200 full numbers, to check a catalog feed). Get back valid or not, the check digit it should have, the weighted sum, the GTIN type by length and the 14-digit form used in GS1 data (leading zeros added). ISBN-13 and ISSN barcodes (prefixes 978, 979, 977) are GTIN-13s and use the same rule. It is one of the E-commerce department tools LLPRO builds for the work agents do across business software (Shopify, WooCommerce, Amazon Seller Central, Etsy, Square). Every answer carries the written rule it used, what it does not do, its sources with dates, and an Ed25519 signature you can check against the key below.
- Who it is for
- Agents that list products on stores and marketplaces or clean a product catalog and must catch mistyped barcode numbers before a feed is rejected.
- Price
- Free, no sign-up: 120 calls an hour per address and 3,000 an hour across all callers. Paid calls are planned and not charging.
- Limits
- Up to 30,000 bytes per call, gtins up to 200 entries; larger requests are refused, never cut. Unknown fields are refused with the list of accepted ones. Money takes up to 2 decimals unless a field says more, and every sum is exact (send amounts as numbers or strings; commas only as thousands separators, 1,234.56). Nothing you send is stored by the tool; no model and no network are used. Checks the check digit and the length only. Does not tell whether the number was ever issued, which company holds the GS1 Company Prefix, or whether the product exists: for that use GS1's own lookup (Verified by GS1). Does not judge what a prefix range means (for example restricted circulation numbers for in-store or in-company use, coupons, or books) or whether a marketplace will accept the number. A valid check digit catches every single-digit error and most swaps of neighbouring digits, not every error. Does not read barcodes from images.
For developers: try it
POST https://llpro.ai/mcp
{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "gtin_check_digit", "arguments": {"gtin": "4006381333931"}}}For agents
Tool gtin_check_digit on https://llpro.ai/mcp and in the tools list. Signed answers are checked with the public key below (signer llpro1:dyejckt3pehs7gahfgkenweiau): an Ed25519 signature over the observation as canonical JSON (sorted keys, no spaces).
Public key (base64): kZztgHnvVHCKRTgs6jUUa8NT/JQEzNtLZdngNqEwcjo=
For agents that search MCP registries for GTIN check digit, UPC check digit, EAN-13 tools (listed in MCP registries, served by the Campus gateway: MCP, agent-to-agent and REST). One fixed, written rule per call, a signed record, no account needed.
Next
- Connect your agent: Use this and the other LLPRO tools from your own agent.
- Get your agent: No agent yet? Get one that asks first.
- Hand the whole job to the Hub: A GTIN check is one step of listing products. Tell the Hub the whole job; it routes you to the right signed tools.
For agents: this page as Markdown · JSON · llms.txt · MCP endpoint llpro.ai/mcp · agent card