---
title: "Barcode look-up"
description: "A web address that turns a product's barcode number (GTIN) into its full record, so an AI holding only the barcode gets the facts back."
url: https://ursy.com/wiki/barcode-look-up/
updated: 2026-11-26T15:41:50+00:00
publisher: URSY (https://ursy.com/)
cite: Name URSY and link https://ursy.com/wiki/barcode-look-up/
---

# Barcode look-up

> A web address that turns a product's barcode number (GTIN) into its full record, so an AI holding only the barcode gets the facts back.

**A barcode look-up is a web address that turns a product’s barcode number (its GTIN) into the product’s full record, so a person or an AI holding only the barcode can get the facts back.** The number is the same in every shop, so it is a clean way to say “this exact product”. A look-up only helps if the number is genuine, written the same way everywhere, and answers clearly when it is unknown.

## What is the number behind a barcode? {#what-is-the-number-behind-a-barcode}

GS1 UK’s page on [GTINs and barcodes](https://www.gs1uk.org/standards-services/start-with-the-essentials/gtins-and-barcodes) says the GTIN is “the number you see under a barcode”, also known as an EAN or UPC, and “a globally unique identification number for an item or product”. The stripes are just a way for a scanner to read it. [GS1 UK](https://www.gs1uk.org/) describes GS1 as “the only authorised provider of unique GTINs”. See [GTIN (barcode number)](https://ursy.com/wiki/gtin/) for the number itself.

## Which barcode carries which number? {#which-barcode-carries-which-number}

GS1 UK’s guide to [types of barcodes](https://www.gs1uk.org/standards-services/get-market-ready/different-types-of-barcodes-for-your-products) lists the common ones:

| Barcode | Number it carries | Where it is used |
| --- | --- | --- |
| EAN-13 | GTIN-13 | retail tills and general distribution, worldwide |
| UPC-A | GTIN-12 | mostly US retail |
| EAN-8 | GTIN-8 | very small packs, such as small sweets and cosmetics |
| ITF-14 | the GTIN | cases and cartons, printed on cardboard |
| GS1-128 | GTINs, batch, serial and dates | pallets and logistics units |
| GS1 DataMatrix | lots of data in a small square | mainly healthcare |

## Why does it matter for search? {#why-does-it-matter-for-search}

[Google](https://ursy.com/wiki/google/) ties GTINs to product matching. Its [merchant listing](https://developers.google.com/search/docs/appearance/structured-data/merchant-listing) guide says to “Include all applicable global identifiers” and to “use the most specific GTIN that applies to your product”. In [Google Merchant Center](https://ursy.com/wiki/google-merchant-center/), the [GTIN attribute](https://support.google.com/merchants/answer/6324461) is “Recommended for all products with a GTIN assigned by the manufacturer”. Google says a product that has a GTIN and leaves it out “could be disapproved”, and missing or wrong GTINs “may have limited visibility”. See [Merchant Center disapprovals](https://ursy.com/wiki/merchant-center-disapprovals/), [free product listings](https://ursy.com/wiki/free-product-listings/) and [Shopping ads](https://ursy.com/wiki/shopping-ads/). The same number belongs in a [Meta catalogue](https://ursy.com/wiki/meta-catalogue/) and any other product feed you send out.

## Why does it matter for AI answers? {#why-does-it-matter-for-ai-answers}

An [AI assistant](https://ursy.com/wiki/ai-assistant/) comparing products has to know that two pages describe the same thing. Names change from shop to shop; the GTIN does not. A barcode on your page, in your [product structured data](https://ursy.com/wiki/product-structured-data/) and in your [shopping feed](https://ursy.com/wiki/shopping-feed/) ties them together as one [entity](https://ursy.com/wiki/entity/). Shops that copy the manufacturer’s text end up with [duplicate product descriptions](https://ursy.com/wiki/duplicate-product-descriptions/); the GTIN still ties every copy to one product. A wrong or reused number does the opposite: it can merge your product with someone else’s, the kind of mix-up behind an [AI hallucination](https://ursy.com/wiki/ai-hallucination/). As [AI agents](https://ursy.com/wiki/ai-agent/) start buying for people, see [agentic commerce](https://ursy.com/wiki/agentic-commerce/), an exact product number matters more, not less. See [selling through ChatGPT](https://ursy.com/wiki/selling-through-chatgpt/).

## How is the number written? {#how-is-the-number-written}

There are three common forms, and they disagree on leading zeros:

- **Schema.org.**  The [gtin](https://schema.org/gtin) property takes “an all-numeric string of either 8, 12, 13 or 14 digits, or a “GS1 Digital Link” URL based on such a string”. It says “Left-padding of the gtin values is not required or encouraged”, and the value should have a valid GS1 check digit.
- **Google.**  The merchant listing guide says “Make sure the GTIN value is in the numerical form; we don’t support the URL form for GTINs.” Its example uses `"gtin14": "00012345600012"`.
- **GS1 Digital Link.**  The web address form pads every GTIN to 14 digits (see below).

So in your [schema markup](https://ursy.com/wiki/schema-markup/), use the plain number as it is printed. In a web address, use the padded Digital Link form.

## What is GS1 Digital Link? {#what-is-gs1-digital-link}

GS1 publishes the [Digital Link standards](https://ref.gs1.org/standards/digital-link/) for putting its identifiers into web addresses. One explains the address syntax. Another, the GS1-Conformant Resolver Standard, covers “Resolving GS1 identification keys to one or more sources of related information and/or services”. That is exactly what a barcode look-up does. The [URI syntax standard](https://ref.gs1.org/standards/digital-link/uri-syntax/) (release 1.7.0, ratified August 2026) gives this as the canonical address for the GTIN `9520123456788`:

```
https://id.gs1.org/01/09520123456788
```

The `01` marks the number that follows as a GTIN. The barcode has 13 digits, but the address has 14: the standard says GTIN-8, GTIN-12 and GTIN-13 numbers get leading zeros to reach 14. More can follow. A batch number (`10`) or serial number (`21`) goes in the path; an expiry date (`17`, as YYMMDD) goes in the query string.

## A worked example {#a-worked-example}

A garden centre wants a look-up so that anyone holding a barcode can reach the right product. It plans the rules first:

1. **Clean the input.**  Remove spaces and dashes. Google’s Merchant Center help says it accepts them but ignores them; a look-up should do the same.
2. **Normalise.**  Pad to 14 digits inside the look-up, so `9520123456788` and `09520123456788` find the same product. They are the same GTIN.
3. **Validate.**  Reject a number with the wrong length or a wrong check digit, with a plain message.
4. **Keep the address simple.**  One short, stable [URL](https://ursy.com/wiki/url/) pattern, such as `/barcode/9520123456788`, is easy to share and to test. See [SEO-friendly URL](https://ursy.com/wiki/seo-friendly-url/).
5. **Answer.**  A known barcode sends a [301 redirect](https://ursy.com/wiki/301-vs-302-redirect/) to the product page, the one named in its [canonical tag](https://ursy.com/wiki/canonical-tag/). Each size or flavour has its own GTIN, so each lands on its own variant.
6. **Say “not found” properly.**  An unknown barcode returns a real 404 with a short page, not the home page. See [404 and 410](https://ursy.com/wiki/404-and-410/) and [soft 404](https://ursy.com/wiki/soft-404/).

In the product’s structured data the same number appears as printed:

```
"gtin13": "9520123456788",
```

## Where do genuine numbers come from? {#where-do-genuine-numbers-come-from}

From GS1, through membership. GS1 UK’s [get a barcode](https://www.gs1uk.org/about-us/membership/get-a-barcode) page says membership is based on annual turnover and the number of barcodes you need, starting at £50 a year for 10 barcodes (24 November 2026, excluding VAT). It says the numbers are “permanently registered in the global GS1 database”. GS1 UK warns that a number bought elsewhere may already be used by another organisation: “It may not even be a genuine GTIN.” That can get products delisted by marketplaces or rejected by retailers. Google’s help says the same in its own way: only submit a GTIN if you are sure it is correct, never make one up, and give each variant its own number. It also refuses GTINs in the restricted prefixes 02, 04 and 2, and the coupon ranges 05, 98 and 99.

## Can I check a number someone else gave me? {#can-i-check-a-number-someone-else-gave-me}

Yes, within limits. GS1 UK’s [Verified by GS1](https://www.gs1uk.org/our-services/data-services/verified-by-gs1/search-verified-by-gs1) search checks a product’s identity against data from manufacturers, and “is limited to 30 searches per day”. The [GTIN Check API](https://www.gs1uk.org/standards-services/data-services/gtin-check-api) checks three things: the number’s format, whether its company prefix is licensed to a GS1 member, and whether it matches a record in the GS1 Global Product Registry. GS1 UK says it is built for GS1 UK partners who have been given a key.

## Common mistakes {#common-mistakes}

- Storing barcodes as numbers in a spreadsheet, which silently drops the leading zeros.
- Putting your own stock code in the `gtin` field. A [SKU](https://ursy.com/wiki/what-is-a-sku/) is yours; a GTIN is issued through GS1. Google defines `sku` as “The merchant-specific identifier for the product”.
- Putting a Digital Link address in Google’s GTIN field. Google wants the number.
- One GTIN on every colour and size.
- Different numbers on the page, in the schema and in the feed.
- A look-up that sends every unknown barcode to the home page.

## How to check it {#how-to-check-it}

1. Run the [Schema Markup Checker](https://ursy.com/schema-checker/) on a product page and find `gtin`, `gtin13` or `gtin14`. If it is missing, the [schema generator](https://ursy.com/schema-generator/) writes the markup, and the [structured data facts extractor](https://ursy.com/webmaster-tools/structured-data-facts-extractor/) lists what is already there.
2. Check the number matches the barcode on the pack, digit for digit, and that each variant has its own.
3. Run the [Product Page Checker](https://ursy.com/product-page-checker/) for schema, images, reviews and delivery details together, and the [online shop checker](https://ursy.com/online-shop-checker/) for the whole shop.
4. Check your feed with the [product feed checker](https://ursy.com/product-feed-checker/). If you build it from a spreadsheet, convert it with the [CSV to JSON converter](https://ursy.com/webmaster-tools/csv-to-json-converter/) and look for lost zeros.
5. Make sure every copy agrees. The [AI Consistency Checker](https://ursy.com/ai-consistency-checker/) compares the page, schema, [llms.txt](https://ursy.com/wiki/llms-txt/) and feeds. The [llms.txt Checker](https://ursy.com/llms-txt-checker/) and the [Markdown Version Checker](https://ursy.com/markdown-version-checker/) show what AI reads.
6. Test the look-up itself. The [Redirect Checker](https://ursy.com/redirect-checker/) follows a known barcode to its product page. The [HTTP Header Checker](https://ursy.com/http-header-checker/) should show a 404 for a made-up barcode. The [Canonical Tag Checker](https://ursy.com/canonical-checker/) confirms the page it lands on.
7. Run [Can Google index this page?](https://ursy.com/indexability-checker/) on the product page, and the [Image SEO Checker](https://ursy.com/image-seo-checker/) on its pictures. See [image SEO](https://ursy.com/wiki/image-seo/).
8. Run the [AI Readiness Checker](https://ursy.com/ai-readiness-checker/) for the whole site.

Single checks on each tool page: free, no account (2 a day). The full audit: a free account (sign in with an emailed code), 1 a day. In URSY Pro, opening in stages: the [product schema monitor](https://ursy.com/pro/product-schema-monitor/), the [Truth Spine for products](https://ursy.com/pro/truth-spine-products/), with every product fact and its receipt, and [AI shopping feeds](https://ursy.com/pro/ai-shopping-feeds/).

## What URSY.com counts {#what-ursy-counts}

We count reads, not pages: a [bot](https://ursy.com/wiki/bot-web-robot/) reading the same page 10 times is 10 requests, and “pages read” figures use distinct paths. So we can show whether [AI crawlers](https://ursy.com/wiki/ai-crawler/) ever fetch your product pages and look-up addresses. Bot names are checked against 18 official IP lists, and query strings are never stored, only the path. See our [methodology](https://ursy.com/methodology/).

## Questions {#questions}

### Is a barcode the same as a GTIN? {#is-a-barcode-the-same-as-a-gtin}

Not quite. The GTIN is the number; the barcode is the printed symbol a scanner reads. GS1 UK calls the GTIN “the number you see under a barcode”.

### Should I add leading zeros? {#should-i-add-leading-zeros}

Not in your schema markup: schema.org says padding is not required or encouraged. A GS1 Digital Link address always uses 14 digits.

### Can I make up a GTIN for my own products? {#can-i-make-up-a-gtin-for-my-own-products}

No. Genuine GTINs come through GS1, and Google says never to guess or make one up.

### What if my product has no GTIN? {#what-if-my-product-has-no-gtin}

Google says products without a GTIN do not need one. Its merchant listing guide also lists `mpn`, “The manufacturer part number”.

### Can I look up any barcode for free? {#can-i-look-up-any-barcode-for-free}

GS1 UK’s Verified by GS1 search allows 30 searches a day.

## Related words {#related-words}

- [GTIN (barcode number)](https://ursy.com/wiki/gtin/)
- [Product structured data](https://ursy.com/wiki/product-structured-data/)
- [What Is a SKU?](https://ursy.com/wiki/what-is-a-sku/)
- [Google Merchant Center](https://ursy.com/wiki/google-merchant-center/)
- [Shopping feed](https://ursy.com/wiki/shopping-feed/)
- [Schema markup](https://ursy.com/wiki/schema-markup/)
- [JSON-LD](https://ursy.com/wiki/json-ld/)
- [Ecommerce SEO](https://ursy.com/wiki/ecommerce-seo/)
- [Agentic commerce](https://ursy.com/wiki/agentic-commerce/)

## Sources {#sources}

- [Schema.org: gtin](https://schema.org/gtin), checked 24 November 2026
- [GS1: Digital Link standards](https://ref.gs1.org/standards/digital-link/), checked 24 November 2026
- [GS1: Digital Link URI syntax, release 1.7.0](https://ref.gs1.org/standards/digital-link/uri-syntax/), checked 24 November 2026
- [Google Search Central: Merchant listing structured data](https://developers.google.com/search/docs/appearance/structured-data/merchant-listing), checked 24 November 2026
- [Google Merchant Center Help: GTIN [gtin]](https://support.google.com/merchants/answer/6324461), checked 24 November 2026
- [GS1 UK: home page](https://www.gs1uk.org/), checked 24 November 2026
- [GS1 UK: GTINs and barcodes](https://www.gs1uk.org/standards-services/start-with-the-essentials/gtins-and-barcodes), checked 24 November 2026
- [GS1 UK: Different types of barcodes for your products](https://www.gs1uk.org/standards-services/get-market-ready/different-types-of-barcodes-for-your-products), checked 24 November 2026
- [GS1 UK: Search Verified by GS1](https://www.gs1uk.org/our-services/data-services/verified-by-gs1/search-verified-by-gs1), checked 24 November 2026
- [GS1 UK: GTIN Check API](https://www.gs1uk.org/standards-services/data-services/gtin-check-api), checked 24 November 2026
- [GS1 UK: Get a barcode](https://www.gs1uk.org/about-us/membership/get-a-barcode), checked 24 November 2026

*Updated 24 November 2026 by URSY.com.*
