How to create a Italian Pharmacode barcode
- Enter your data in the box above. Enter 8 digits and the check digit is calculated, or 9 digits and the check digit is verified. The printed text shows an "A" before the number, as on Italian packs.
- The barcode updates live as you type. Open Customize to change the bar height, colors, rotation or quiet zone.
- Click Download PNG for labels and documents, or SVG / PDF for print and packaging design.
- Test it with our online barcode scanner before you print a large run.
What is an Italian Pharmacode barcode?
Code 32, also called the Italian Pharmacode or Codice Farmaceutico, is the barcode used to identify pharmaceutical products sold in Italy. It encodes the product's 9-digit AIC code (8 digits plus a check digit) issued under the Italian medicines authority.
The 9-digit number is converted to a 6-character base-32 value and printed as a Code 39 barcode, which is why the bars look like Code 39. The human-readable line shows the original number with a leading "A".
Where Italian Pharmacode is used
- Medicines sold in Italian pharmacies
- Italian pharmacy stock control and dispensing
- Pharmaceutical wholesale in Italy
- Over-the-counter products and parapharmacy items in Italy
Italian Pharmacode specifications
| Type | Linear (1D), Code 39 based |
|---|---|
| Characters | Digits 0–9 |
| Length | 9 digits (8 + check digit) |
| Check digit | Modulo 10, added or verified automatically |
| Encoding | Number converted to 6 base-32 characters |
| Human-readable | A + 9 digits |
Tips for a barcode that scans first time
- Type the number without the leading "A"; it is added to the printed text for you.
- Code 39 is wide, so allow enough space and a quiet zone of at least 10 narrow bars each side.
- Print in black on white for reliable scanning in pharmacy scanners.
Frequently asked questions
What is Code 32 used for?
Code 32 identifies medicines and pharmacy products in Italy. Pharmacies and wholesalers scan it to dispense, track stock and claim reimbursement.
Why does an Italian Pharmacode start with A?
The "A" is printed before the 9-digit number in the human-readable text by convention. It is not part of the AIC code you enter.
Is Code 32 the same as Code 39?
Code 32 uses Code 39 bars, but the number is first converted to base 32. A plain Code 39 reader shows the 6 converted characters unless it is set to decode Code 32.
Do I need to calculate the check digit?
No. Enter 8 digits and the check digit is added. If you enter 9 digits, the last one is checked and you will see an error if it is wrong.
Where do I get an AIC code?
AIC codes are issued with the marketing authorisation for a medicine in Italy. This tool only turns an existing code into a barcode.
What is the German equivalent?
Germany uses the PZN (Pharmazentralnummer), also printed in Code 39.