2D code decoder for medicine packs
Paste what a barcode app reads from the square code, or tap a sample. Everything runs in your browser.
- GTIN (01)
- Serial (21) Unique to one box
- Batch (10) Shared by the production run
- Expiry (17)
How to use it
- Read the codeScan the square code with any barcode or QR app and copy the text it shows.
- Paste it hereThe decoder recognises bracketed codes, raw scanner output with or without separators, and web-link style codes.
- Check the fieldsCompare the GTIN, batch, expiry and serial with the text printed beside the code on the pack.
- Verify the packTo check the serial against DRAP's records, use the medicine scanner.
For what each field means, read GTIN, serial, batch and expiry explained.
Questions
What does a medicine 2D code contain?
Four GS1 fields: (01) the 14-digit GTIN, (17) the expiry date as YYMMDD, (10) the batch or lot number and (21) a unique serial number for that pack.
Does decoding verify the medicine?
No. Decoding only reads what is printed in the code. To check the pack against DRAP's records, use the medicine scanner.
Why does the decoder say the check digit is wrong?
The last digit of a GTIN is calculated from the others. A wrong check digit almost always means the code was misread; scan or type it again.