QR Code Studio

GS1 Digital Link QR Code Generator

Create a standards-oriented GS1 Digital Link QR code from a GTIN. Add optional product variant, batch or lot and serial qualifiers, then customize and export the QR code.

Need the QR on an invoice? Use the Invoice Maker to create the invoice, add payment details and generate a QR for the saved invoice.
Static GS1 Digital Link
This generator keeps the GS1 Digital Link URI directly inside the QR code. Premium QR dynamic redirects are not used for GS1 Digital Link codes.
Waiting
Enter a GTIN with a valid GS1 check digit.
Default: https://id.gs1.org. A custom resolver must use HTTPS.
Optional Key Qualifiers
Premium QR Codes emits qualifiers in GS1 Digital Link path order: AI 22, AI 10, then AI 21.
GTIN validation is enforced again on the server. Valid GTIN-8, GTIN-12 and GTIN-13 values are normalized to the 14-digit representation used by this GS1 Digital Link implementation.

Advanced Customization
Standard
AI Art Blend
Neon Cyber
3D Isometric
Liquid Metal
Halftone
Standard Solid
✨ Liquid Glass Mode
Square
Dot Matrix
Rounded
💎 Diamond
✨ Starry
➕ Cross / Plus
Square Eye
Circle Eye
Rounded
Square Pupil
Circle Pupil
Rounded
No Frame
Scan Me Box Banner
Designer
Colors & Gradients
Branding
Logo & Social Icon
Export
QR Code Size
512px
Enter the required fields to preview your QR code.
Generated QR code preview
PROFESSIONAL EXPORT STUDIO Production-ready QR export
PNG · 2048×2048 px · Current QR background
SVG remains vector. PNG, WEBP and JPG are rasterized in your browser. Transparent background is unavailable for JPG.
QR INTELLIGENCE
Waiting for QR code Generate a QR code to analyze scan readiness.
-- /100 EST. READINESS
QR STRUCTURE
PAYLOAD
CONTRAST
LOGO SAFETY
STYLE RISK
ERROR RESILIENCE
MIN. PRINT SIZE
DEPLOYMENT
Your QR code has not been analyzed yet.
AUTOMATIC DESIGN SAFETY Logo & Design Preflight
SAFE
Safety score
QR structure
Logo footprint
Minimum contrast
Generate a QR code to run design preflight.
Preflight guidance only. Real Scan Lab performs decoder verification.
PRINT-SIZE INTELLIGENCE Physical QR Print Guidance
Waiting for QR code
QR STRUCTURE
INCLUDING QUIET ZONE
RECOMMENDED MINIMUM
PREFERRED PRINT SIZE
MODULE SIZE AT PREFERRED
QR DENSITY
SUITABLE DEPLOYMENT
Generate a QR code to calculate physical print guidance.
Physical-size recommendations are preflight guidance, not a universal scanner or print guarantee.
QR VERIFICATION CERTIFICATE Decoder Verification Record
Not verified
Run Real Scan Lab before generating a certificate.
DEPLOYMENT PROFILES Optimize for where your QR will be used
Digital / Screen

    Selecting a profile does not change the QR until you apply it.
    QR KNOWLEDGE STUDIO

    GS1 Digital Link QR Code Generator

    Quick answer: A GS1 Digital Link QR code encodes a product's GTIN as an HTTPS URL using the GS1 Digital Link URI syntax defined at ref. gs1. org. Scanning it resolves to a product page, traceability record, or other linked data. GS1 Sunrise 2027 targets replacing EAN-13 and UPC-A barcodes with 2D codes at retail point-of-sale by 2027.

    Runs in your browser No data upload Custom design SVG, PNG, WEBP, JPG

    How to create a GS1 Digital Link QR code

    1. Enter the GTIN for your product. GTINs are 8, 12, 13, or 14 digits. This generator normalises the input to GTIN-14 format by zero-padding to 14 digits.
    2. Verify the GTIN check digit. The last digit of every GTIN is a mod-10 (Luhn-algorithm) check digit calculated from the preceding digits. The generator validates this automatically. A GTIN with an incorrect check digit will be rejected.
    3. Enter the resolver domain. The default GS1 resolver is id.gs1.org. If your organisation operates a private resolver, enter that domain instead.
    4. Add optional qualifiers in GS1 Application Identifier order: batch/lot (AI 10), serial number (AI 21), consumer product variant (AI 22), and expiry date (AI 17) if applicable.
    5. Export PNG, SVG, WEBP or JPG at up to 4096 px.

    Note: a real retail GTIN must be licensed from GS1. You cannot invent a GTIN for a product that will be sold through retail channels. Contact gs1.org to obtain a GS1 Company Prefix for your organisation.

    The QR code is generated in your browser. Nothing you enter is sent to a server.

    What a GS1 Digital Link QR code is

    A GS1 Digital Link QR code is a standard QR code — following ISO/IEC 18004:2015 — whose payload is an HTTPS URL structured according to the GS1 Digital Link URI syntax standard, published at ref.gs1.org. Unlike a plain URL QR or a product-specific shortlink, a GS1 Digital Link URI follows a normative structure that allows any GS1-compliant resolver to decode the product identity from the URL path itself, without prior knowledge of the specific retailer or brand.

    The GTIN — Global Trade Item Number — is the primary product identifier in the GS1 system. The same identifier underlies the EAN-13 barcode on a grocery product and the UPC-A barcode on a North American retail item. A GS1 Digital Link URI encodes the GTIN in the URL path, along with optional qualifiers such as a batch number, serial number, or expiry date. Resolving the URL connects the physical product to its digital record.

    GS1 — the international standards organisation that administers the GTIN system — requires companies to license a GS1 Company Prefix before using GTINs commercially on retail products. A GTIN cannot be invented: it must be allocated from a licensed prefix. This generator encodes any 14-digit number that passes the mod-10 check-digit validation, but a number without a licensed GS1 prefix is not a valid commercial GTIN and cannot be used on retail packaging.

    GS1 Digital Link URI syntax

    Primary key path structure

    The GS1 Digital Link URI syntax, sourced from the normative standard at ref.gs1.org, follows this structure:

    https://<domain>/<AI>/<value>[/<qualifier-AI>/<value>][?<attribute>=<value>]

    The primary key for a product is GTIN, encoded with GS1 Application Identifier 01:

    https://id.gs1.org/01/09506000134352

    URI segmentMeaningExample
    domainResolver domain — gs1.org or privateid.gs1.org
    /01/AI 01 — GTIN primary key indicator/01/
    14-digit valueGTIN-14 normalised value09506000134352

    The GTIN-14 is the normalised form: all shorter GTINs (GTIN-8, GTIN-12, GTIN-13) are padded with leading zeros to 14 digits. A GTIN-13 (EAN-13) of 5012345678900 becomes 05012345678900 in the Digital Link URI.

    GS1 Application Identifier qualifier order

    GS1 Digital Link supports key qualifiers appended to the primary key in a defined order. The order is normative — placing qualifiers out of sequence produces a non-conformant URI.

    AIQualifier nameExample URI segmentNotes
    10Batch or lot number/10/ABC123Alphanumeric, up to 20 characters
    21Serial number/21/SN00001Alphanumeric, up to 20 characters
    22Consumer product variant/22/V1Alphanumeric, up to 20 characters
    17Expiry date/17/241231YYMMDD format

    A URI with batch and serial qualifiers:

    https://id.gs1.org/01/09506000134352/10/ABC1/21/SN00001

    Qualifiers must appear after the primary key in the order defined in the GS1 Digital Link standard. Attributes that do not have AI path equivalents are expressed as query string parameters.

    GTIN-14 normalisation and the mod-10 check digit

    Every GTIN ends with a check digit calculated using the mod-10 (Luhn) algorithm:

    1. Starting from the second-to-last digit and moving left, multiply alternating digits by 3 and 1 (beginning with 3 for the rightmost multiplied digit).
    2. Sum all the products.
    3. The check digit is the number that, when added to the sum, produces a multiple of 10. If the sum already ends in 0, the check digit is 0.

    Example: for the GTIN-13 prefix 501234567890, the sum of the weighted digits is 72. The check digit is 8 (72 + 8 = 80). The complete GTIN-13 is 5012345678908.

    This is the same algorithm used for EAN-13 and UPC-A barcodes. A GTIN with an incorrect check digit is invalid and will be rejected by GS1 resolvers and retail scanning systems.

    The resolver domain

    The default GS1 resolver at id.gs1.org is operated by GS1 Global and resolves GTINs to links registered in the GS1 registry. Organisations can also operate private resolvers under their own domain. A private resolver URI might look like:

    https://resolver.example-brand.com/01/09506000134352

    The resolver domain does not change the GTIN or the qualifier path. Any GS1-compliant decoder can extract the GTIN from the URL regardless of which domain hosts the resolver.

    When to use a GS1 Digital Link QR code

    Product packaging for retail supply chains. A GS1 Digital Link QR code can coexist with a traditional EAN-13 barcode on packaging today, and is designed to replace the linear barcode at point-of-sale as scanners are upgraded.

    Traceability and recall management. Encoding a batch/lot qualifier (AI 10) and a serial number (AI 21) enables item-level traceability. In a recall event, the QR code allows rapid identification of affected batches without manual record lookup.

    Pharmaceutical and healthcare labelling. Medical devices and pharmaceutical products increasingly require serialised identification. A GS1 Digital Link URI encodes serial numbers alongside the GTIN in a single scannable code.

    Consumer engagement. Scanning a product QR code can resolve to recipe suggestions, sustainability information, or loyalty programme links — uses not possible with a linear barcode. The resolver redirects to different destinations depending on who is scanning (consumer app vs. retail POS system).

    Expiry date encoding. A GS1 Digital Link code with the AI 17 expiry date qualifier allows retail scanners to validate freshness at checkout and supports automated markdown and waste-reduction workflows.

    Design and print requirements

    Maintain a four-module quiet zone on all sides, as specified in ISO/IEC 18004:2015 section 6.3.3.

    For retail packaging, GS1 General Specifications define minimum symbol sizes and X-dimension (module size) requirements for GS1 barcodes. Consult the GS1 General Specifications directly for the required X-dimension at the intended scan distance. The general guidance of 2 cm minimum for close-range scanning applies to QR codes used in non-retail contexts; retail specifications are more prescriptive.

    Use error correction level M as a default. Error correction level M recovers approximately 15 percent of damaged codewords. For packaging subject to physical handling or variable print quality, level Q (approximately 25 percent recovery) provides additional resilience.

    Maintain strong dark-on-light contrast. GS1 General Specifications define minimum print quality grades for scannable barcodes. A GS1 Digital Link QR code printed on retail packaging must pass the same print quality assessment as any GS1 symbol.

    Troubleshooting: why your GS1 Digital Link QR code is not resolving

    The GTIN has an incorrect check digit. A wrong check digit produces a URI that encodes an invalid GTIN. GS1 resolvers reject invalid GTINs. Recalculate the check digit using the mod-10 algorithm or use the generator's built-in validation.

    The GTIN is not registered with a GS1 resolver. Generating a valid GS1 Digital Link URI does not register the GTIN with any resolver. If the GTIN has not been registered with id.gs1.org or a private resolver, scanning the code returns a 404 or an empty response. Register the product at gs1.org.

    The qualifier order is wrong. GS1 Digital Link qualifiers must appear in the normative order defined in the GS1 standard. An out-of-order qualifier produces a URI that some GS1 decoders will reject.

    The domain is incorrect. A private resolver URI that contains a typo or an expired domain will produce a code that scans but cannot resolve.

    The scanning app does not support GS1 Digital Link. Consumer camera apps typically open the URL in a browser, which works. Retail POS scanners must be configured to decode GS1 Digital Link and extract the GTIN and qualifiers. Confirm the target scanning system supports GS1 Digital Link decoding before deploying.

    GS1 Digital Link and Sunrise 2027

    GS1 Sunrise 2027 is a GS1-led initiative targeting the retail point-of-sale readiness for 2D codes — including QR codes carrying GS1 Digital Link URIs — by the year 2027. The initiative calls on retailers and scanner manufacturers to ensure that point-of-sale systems can decode both the traditional EAN-13/UPC-A linear barcodes and 2D codes carrying GS1 Digital Link data by that date.

    The strategic driver is clear: a GS1 Digital Link QR code can carry the GTIN (which existing retail scanners need for price lookup) plus batch, serial, and expiry data (which existing linear barcodes cannot carry) in a single symbol. If a retailer's scanner can decode GS1 Digital Link, that single QR code replaces the stack of separate linear barcodes that pharmaceutical, food, and consumer goods manufacturers currently print on packaging.

    For brands, the Sunrise 2027 transition means that a GS1 Digital Link QR code added to packaging today is forward-compatible with retail POS scanning by 2027 while also serving consumer engagement use cases now — through a smartphone camera and browser — without waiting for scanner upgrades.

    GS1 has not mandated a specific compliance date beyond the readiness target. "Sunrise" refers to the date after which 2D readiness is expected, not a hard switch-off of 1D barcodes. The transition timeline for any specific market or retailer should be verified against current GS1 guidance at gs1.org.

    GS1 Digital Link versus a plain URL QR code

    FeatureGS1 Digital Link QR codePlain URL QR code
    Payload structureNormative GS1 URI with AI pathAny URL
    Decodable by GS1 scannersYes — GTIN and qualifiers extractedNo — only the raw URL is extracted
    Carries product identityYes, via GTIN primary keyOnly if the URL itself encodes it
    Resolver requiredYes, for digital contentNo — URL points directly to content
    Check digit validationYes — mod-10 on GTINNo
    Requires GS1 licenceYes — GTIN must be licensedNo
    Suitable for retail POSYes — after Sunrise 2027 readinessNo

    What this GS1 Digital Link QR Code Generator gives you

    This browser-based tool builds a GS1 Digital Link web URI from a GTIN and supported qualifiers such as batch, serial or consumer product variant. It is designed for connected packaging, product information, traceability, recalls and retailer-ready 2D migration work. The live preview updates while you edit, which makes it easier to catch a missing field or an unexpectedly dense symbol before download.

    You can adjust matrix patterns, finder-eye styles, foreground and background colours, gradients, frames, size and an optional logo. Exports are available as SVG, PNG, WEBP and JPG at 512, 1024, 2048 or 4096 pixels. SVG is the practical choice for professional print. A high-resolution PNG suits office documents and digital artwork.

    The static payload is constructed in your browser. The information entered into the generator does not need to be uploaded to create the QR image. The tool formats a URI but does not license a GTIN, create resolver infrastructure or certify compliance with a retailer’s implementation requirements.

    Using this QR code in Bahrain and abroad

    Bahrain brands and importers should coordinate with GS1 Bahrain, retailers and trading partners before changing production packaging or point-of-sale identifiers.

    Use British English spelling in customer-facing copy when that matches your organisation’s house style, and provide Arabic wording where the audience expects it. Keep the action after scanning obvious. A short line beside the symbol such as “Scan to save the contact” or “Scan to open the location” gives people confidence before they point their camera.

    Test the final design on current iPhone and Android devices. Test it again after printing on the actual paper, sticker, card, sign or packaging material. Bahrain’s bright outdoor light can expose glare and low-contrast problems that are less obvious on a computer screen. For international use, confirm country codes, currencies, time zones, regional app availability and payment-network compatibility.

    EDITOR’S CHECKLIST

    Before you publish

    • Correct QR payload type
    • Complete and verified data
    • Four-module quiet zone
    • Strong foreground contrast
    • Proportional square scaling
    • Logo kept within safe limits
    • SVG or high-resolution PNG
    • Final-size device scan test
    Return to generator ↑
    QR CODE FAQ

    Frequently asked questions

    Open a question to read a concise technical answer.

    01What is a GS1 Digital Link QR code?+

    A GS1 Digital Link QR code encodes a product's GTIN as an HTTPS URL following the GS1 Digital Link URI syntax defined at ref.gs1.org. Scanning it can resolve to a product page, traceability record, or nutritional data via a GS1 Digital Link Resolver. It is designed to replace traditional EAN-13 and UPC-A linear barcodes at retail point-of-sale.

    02How is a GS1 Digital Link different from a standard URL QR code?+

    A plain URL QR code encodes any arbitrary URL. A GS1 Digital Link QR code encodes a URL in a normative structure defined by GS1, with the GTIN encoded as the primary key in the URL path using Application Identifier 01. GS1-compliant point-of-sale scanners can extract the GTIN and qualifiers directly from the URL path without needing to connect to the resolver.

    03What is GTIN-14 normalisation?+

    All GTIN variants — GTIN-8, GTIN-12 (UPC-A), GTIN-13 (EAN-13) — are padded with leading zeros to 14 digits for use in a GS1 Digital Link URI. A GTIN-13 of 5012345678908 becomes 05012345678908 in the URI path. The check digit is always the last digit and is calculated using the mod-10 (Luhn) algorithm.

    04What is the mod-10 check digit for a GTIN?+

    The mod-10 check digit is calculated by multiplying alternating digits from right to left by 3 and 1, summing the products, and appending the digit that makes the total a multiple of 10. This is the same algorithm used for EAN-13 and UPC-A barcodes. A GTIN with an incorrect check digit is invalid and will be rejected by GS1 resolvers.

    05What GS1 Application Identifier qualifiers can I add to a GS1 Digital Link?+

    The key qualifiers for GTIN-based GS1 Digital Links are: AI 10 for batch or lot number, AI 21 for serial number, AI 22 for consumer product variant (CPV), and AI 17 for expiry date in YYMMDD format. Qualifiers must appear in the normative order defined in the GS1 Digital Link standard at ref.gs1.org.

    06Can a GS1 Digital Link QR code replace an EAN-13 barcode on retail packaging?+

    Yes — after the point-of-sale scanner is upgraded to support GS1 Digital Link decoding. GS1 Sunrise 2027 is the initiative targeting retail scanner readiness for 2D codes by 2027. Until a retailer's scanners support GS1 Digital Link, the GS1 Digital Link QR code can be printed alongside the EAN-13 barcode on the same packaging.

    07Does a GS1 Digital Link QR code require a real GTIN?+

    Yes. A real retail GTIN must be licensed from GS1 via a GS1 Company Prefix. You cannot invent a GTIN for a product that will be sold through retail channels. This generator validates the mod-10 check digit but does not verify whether the GTIN is licensed. An unlicensed GTIN is not a valid commercial product identifier.

    08What is GS1 Sunrise 2027?+

    GS1 Sunrise 2027 is a GS1 initiative targeting retail point-of-sale readiness for 2D codes — including GS1 Digital Link QR codes — by 2027. It calls on retailers and scanner manufacturers to ensure POS systems can decode both traditional 1D barcodes and 2D codes carrying GS1 Digital Link data. GS1 has not mandated a hard switch-off of 1D barcodes; Sunrise refers to the readiness target date.

    09What is the GS1 Digital Link Resolver?+

    The GS1 Digital Link Resolver is a service that maps a GS1 Digital Link URI to one or more digital resources — such as a product page, a PDF data sheet, or a regulatory document — depending on the scanning context. GS1 operates a default resolver at id.gs1.org. Organisations can also operate private resolvers under their own domain. The resolver is separate from the QR code: generating the code does not register the product with any resolver.

    10What is the difference between the /10/, /21/, and /22/ qualifiers in a GS1 Digital Link?+

    Application Identifier 10 encodes a batch or lot number — used for traceability and recall management. AI 21 encodes a unique serial number — used for item-level identification. AI 22 encodes a consumer product variant (CPV) — used to distinguish product versions such as colour or size within the same GTIN. All three are path qualifiers appended after the /01/<GTIN> primary key in the defined order.