India · Dubai · Delivering worldwide+91 86603 71224info@pyalm.com
Free Tools

UAE Tatmeen Serialization: The GS1 DataMatrix Explained

UAE Tatmeen tracks pharmaceuticals with a GS1 DataMatrix carrying GTIN, serial, batch, and expiry. Here's what each field is and how to generate a test code.

Editorial disclosure: Pyalm publishes and maintains the products and free tools discussed on this site. Regulatory statements are linked to primary sources where applicable. No independent professional review is claimed unless a reviewer is explicitly named.

What Tatmeen is

Tatmeen is the UAE's national track-and-trace system for pharmaceuticals and medical products. It relies on a 2D GS1 DataMatrix barcode on each pack that uniquely identifies it. The free Tatmeen DataMatrix Generator builds compliant test codes.

The four data elements

The DataMatrix encodes four pieces of data using GS1 Application Identifiers:

  • (01) GTIN — the 14-digit Global Trade Item Number.
  • (21) Serial number — a unique serial for that individual pack.
  • (10) Batch / lot — the production batch.
  • (17) Expiry date — in YYMMDD format.

Why the structure matters

A serialization barcode isn't just any 2D code — the data must appear in the right order with the correct Application Identifiers, or scanners and the Tatmeen system will reject it. Our generator assembles the encoded string as (01)(21)(10)(17) automatically and renders a scannable DataMatrix.

Testing vs production

Use this tool to generate and test codes against your scanners and labels. For live serialization and reporting, follow the official Tatmeen onboarding and use an approved system.

Use the free Tatmeen DataMatrix Generator | Barcode Generator

Keep reading

More from Pyalm

Oct 16, 2026

How to Format and Validate JSON (and Fix the 6 Most Common Errors)

Why JSON breaks, how to read a validator's error message, and a quick routine for pretty-printing, minifying and fixing JSON from APIs, logs and config files.

Oct 16, 2026

How to Compare Two JSON Files (Without Drowning in Diff Noise)

Text diffs flag reordered keys and whitespace as changes. Here's how a structural JSON comparison works, and how to use it to review API changes, configs and migrations.

Oct 16, 2026

Regex Cheat Sheet with Real Examples (Emails, Phones, Dates, UAE TRN)

A practical regular expression cheat sheet — the syntax you actually use, plus tested patterns for emails, UAE and Indian phone numbers, dates and tax numbers.

Oct 16, 2026

URL Encoding Explained: %20, + and When to Encode

What percent-encoding is, why spaces become %20, the difference between encodeURI and encodeURIComponent, and how to avoid double-encoding bugs.

Oct 16, 2026

Unix Timestamps Explained: Epoch Time, Seconds vs Milliseconds and Time Zones

What epoch time is, why it's the standard way to store dates, how to tell seconds from milliseconds, and how to avoid the time-zone bugs it causes.

Oct 16, 2026

Minify vs Beautify: What Code Minification Does and When to Use It

How minifying JavaScript, CSS and HTML shrinks files, how much it really saves, and when to beautify minified code to debug it.

Explore Pyalm Products & Tools

Practical software and technology services from India and Dubai — from websites and automation to WhatsApp, AI identity, and accounting products.

Services Free Tools Products