When generating the GS1 Digital Link URI for encoding in a 2D barcode, is it ok to include additional details or sub-directories/sub-folders before the GS1 identifier (e.g. "01/" or other valid AIs)?

Modified on Fri, 23 May at 7:16 AM

Examples for clarity:
https://www.example.com/[subfolder]/[subfolder]/01/[GTIN]

or https://www.example.com/[subfolder]/8003/[GRAI]


Yes, It is ok and valid to add extra details to your GS1 Digital Link URIs before the GS1 identifier. Just make sure that:

  • it doesn’t make the entire URL unnecessarily long, resulting in an overly large 2D barcode
  • it doesn’t contain “/01/” (or any other GS1 identifiers) as this would prematurely indicate the start of the GTIN (or other GS1 identification keys)


Tip: Adding additional details or sub-directories/sub-folders before the GS1 identifier remains valid because everything to the left of the actual GS1 identifiers is not part of the identification of the item.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article