QR & Barcode · Free browser tool

Barcode Developer Tools

Three debugging jobs that come up whenever barcodes meet code: are these two values the same product number, why will this photo not decode, and what exactly does the lookup endpoint return?

Barcode developer tools

Compare two values, screen a photo for the defects that break decoding, and read the exact contract of the product-lookup endpoint. Everything runs in the tab except the endpoint example, which is documented — not called — on this page.

Compare two barcode values

HRI strings are reduced to their element string before comparing, so a parenthesised label and a scanner’s raw output can be compared fairly.

Different values, one is a prefix of the other

GTIN-14 A
—
GTIN-14 B
09506000134352
Common prefix
0 characters
Common suffix
1 character
Character differences
IndexAB
0(0
109
215
3)0
406
590
650
861
903
1004
1103
1215
1332
144∅
153∅
165∅
172∅
18(∅
191∅
200∅
21)∅
22L∅
23O∅
24T∅
25-∅
264∅
272∅
  • The values are different lengths (28 and 14 characters), which already rules out an identical GTIN.

Why will this photo not scan?

Upload a photo of a printed symbol. The analyser measures module width, contrast, quiet zone and cropping, and explains which one is the problem.

Product lookup endpoint

The only barcode-related JSON endpoint this site exposes. It is a proxy, not an open API.

GET /api/product-lookup?gtin=3017620422003

200  { status: "found", product: { ... }, disclosure: "..." }
400  { status: "invalid", message }        // not a GTIN with a valid check digit
404  { status: "not-found", message }
429  { status: "rate-limited", message, retryAfterSeconds }   // + Retry-After
502  { status: "error", reason: "upstream" | "network" | "response", message, upstreamStatus? }
504  { status: "error", reason: "timeout", message }

The endpoint accepts only a GTIN: batch codes, images and arbitrary text are rejected so it cannot be used as a general-purpose fetch proxy. Responses are cached for a short time and every visitor is rate-limited. Data is Open Food Facts under ODbL; images are CC-BY-SA.

Review symbology normalisation, quiet-zone rules and why screen analysis differs from ISO/IEC 15416 verification in the barcode guide.

Processed on your device. Tool inputs are not uploaded or saved by QUICKKIT.

SPECIFICATIONS & EXAMPLES

Barcode Developer Tools: what each check measures

Three separate debugging jobs: whether two values really are the same number, why a photographed symbol will not decode, and what the product-lookup endpoint returns when it fails.

Developer tool specifications

  • Value comparison: Compares two barcode values character by character, including the difference between a 12-digit UPC-A and its 13-digit EAN-13 form with a leading zero.
  • Image screening: Measures pixels per module, dark/light contrast as a WCAG relative luminance ratio, quiet-zone width on all four sides, and whether content runs off the image edge.
  • Grading limits: This is screening, not verification. It never claims ISO/IEC 15416 (linear print) or ISO/IEC 15415 (2D) grading, which need a calibrated verifier with defined aperture and lighting.
  • Endpoint contract: Documents the lookup route's status codes and shape so a failed integration can be distinguished from a missing product before you change any code.
  • Input limits: Image screening decodes locally; very large images are bounded by the browser's own canvas limits, so a full-resolution studio photo is downscaled before analysis.
  • Processing: Comparison, image analysis and the symbol checks all run in the tab. No value, image or header is uploaded.

Debugging examples

  • Two 'identical' numbers: UPC-A 012345678905 and EAN-13 0012345678905 → The difference is a leading zero, not a different product — the comparison shows exactly where the strings diverge
  • Photo will not scan: A phone photo of a Code 128 label → A module-width warning and a clipped quiet zone named as the two faults, with the pixel counts behind each
  • Check digit mismatch: A GTIN and the number printed beneath the symbol → The failing digit position is identified instead of a generic 'invalid barcode'

Values and images stay in page memory. Only the product-lookup route contacts a third party, and only when you run that lookup.

A quick walkthrough

Debug a barcode problem in three steps

  1. Compare the values first. A parenthesised HRI label and a scanner's raw output are normalised before comparison, so (01)09506000134352 and 09506000134352 are reported as the same GTIN rather than as different strings.
  2. Screen the image if a photo will not scan. The analyser measures pixels per module, contrast ratio, quiet zone and whether ink touches an edge — the four defects that account for most failed mobile scans.
  3. Read the failure as a defect, not a grade. A 1-pixel module is a real problem; a 2.4:1 contrast ratio is a real problem. Neither number is an ISO/IEC 15416 or 15415 grade, and the tool says so on the result.
  4. Use the endpoint section as documentation. It lists the exact status codes the product-lookup proxy can return, so a client can tell a missing product from a rate limit from an upstream outage.
Good to know

Developer questions, answered

Is the image analyser a barcode verifier?

No. A verifier measures symbol contrast, modulation, defects and decode under calibrated lighting with a defined aperture, and issues a grade under ISO/IEC 15416 for linear symbols or ISO/IEC 15415 for 2D symbols. This tool measures pixels per module, WCAG-style contrast ratio, quiet zone in pixels and edge cropping. Those catch the common printing and photography mistakes, but they are not a grade and must not be presented as one.

Why do two identical-looking values compare as different?

Usually one of them carries a check character or a normalisation difference the other does not: a Code 128 check digit, a trailing space, a full-width character, or a UPC-A versus EAN-13 notation of the same number. The comparison table shows the first differing index and the differing characters, which identifies the offending character immediately.

What does 'same GTIN, different notation' mean?

It means both values are the same product number written with different zero padding — a common difference between a 12-digit UPC-A and its 13-digit EAN form, or a 13-digit GTIN and its 14-digit form. They will scan to the same product, so the comparison reports them as the same GTIN rather than as a mismatch.

Why does a valid GTIN still fail the check-digit test in the comparison?

Because the last digit is not the check digit for the preceding ones, or the number is 7, 9, 10 or 11 digits long and therefore not a GTIN at all. The table reports the expected digit, which makes a transcription error visible; it never silently 'fixes' the value.

Does any of this upload my data or photo?

No. The comparison runs in memory, and the image is read through a canvas element inside the tab. The endpoint section is static documentation — this page does not call it.

COMPARISON

Barcode Developer Tools: how it compares, and when to use something else

Barcode Developer Tools compared against a hosted code generator or lookup service — what runs locally in this workspace, what rules are enforced, and where another kind of tool is the better fit.

This tool on QUICKKIT compared with A hosted code generator or lookup service

Verified behaviour of this tool against the alternative approach a searcher is usually weighing it against.
What mattersThis tool on QUICKKITA hosted code generator or lookup service
Where your data is processedIn this browser tab. Your input is read, processed and exported on your own device, no copy is created on a QUICKKIT server, and closing the page clears it. There is therefore no retained file, no server-side queue and no deletion window to take on trust.Uploaded to the provider's infrastructure, processed there and returned. Retention and deletion are policy statements that cannot be verified from outside, however sincere they are.
Cost, signup and quotasFree in the browser with no account, no trial gate and no watermark; limits come from tab memory and documented scope rather than a paid quota.Often gated behind account registration, usage quotas or paid team seats once you export, save history or run recurring workflows.
Who it is forDevelopers who need the specification-level detail: check-digit derivation per symbology, GS1-128 AI structure and GS separators, quiet-zone minima, module widths and millimetre sizing at 300 dpi, and vector export that stays vector.A commercial barcode SDK provides certified encoders, print-quality verification against ISO/IEC 15416 or 15415, and support — which is what a production line actually needs.
VerificationStructure and geometry are validated, and an independent decode confirms the symbol reads back. That is not a print-quality grade.A certified verifier with calibrated lighting produces the grade a retail compliance programme requires, and no browser tool can.
LicensingIt cannot allocate a GTIN or a company prefix, and it will not silently recalculate a GTIN or SSCC check digit you got wrong — refusing is safer than guessing at an identifier.GS1 is the only source for a prefix, and a licensed data provider for allocation.

When something else is the better choice

  • You need a GS1-licensed company prefix, a GTIN allocation, or a GS1 verification certificate for a retail listing. GS1 directly for the prefix and allocation, and a certified verification bureau for the print-quality grade. These tools compute correct check digits, enforce quiet zones and validate GS1-128 application identifiers, but they are not a GS1 bureau and cannot issue either.
  • You need a product name, description or price resolved from an identifier at catalogue scale. A licensed product database with a batch API. The lookup available here reads one consented GTIN at a time against a single open dataset, and returns no record rather than inferring one.
  • You need a print-quality grade against ISO/IEC 15416 or 15415 with calibrated lighting. A certified barcode verifier. A browser can confirm a symbol decodes and that its geometry is within specification; it cannot produce the grade a retail compliance programme requires.

Use Barcode Developer Tools on QUICKKIT when you want a fast, browser-based workflow without creating an account or handing inputs to a third-party queue; choose a hosted code generator or lookup service when you need a gs1-licensed company prefix, a gtin allocation, or a gs1 verification certificate for a retail listing..