How to create one in 3 steps
- Enter your details in the form above — only the fields for this type, nothing extra.
- Check the live preview and customise the colour, background and size (256, 512 or 1024 px) to match your brand or print.
- Click Download PNG, test-scan the code once with your phone, then print it or share it wherever your audience is.
About this Pharmacode
Pharmacode (Laetus code) is unlike every other barcode here: it encodes a single whole number (3 to 131,070) as a pattern of narrow and wide bars, read in one defined direction. Pharmaceutical packaging lines use it to verify that a carton, leaflet, label and blister all belong to the same product before the pack is sealed.
It carries no check digit and no human-readable structure — its job is machine matching at production speed, in one or two colours (Pharmacode can even be printed in a single colour track on the pack edge). Reading it backwards produces a different number, so line scanners are mounted to read in the correct direction.
Best uses
- Pharmaceutical cartons and leaflets
- Blister-pack verification
- Packaging-line component matching
- Medical-device packaging
Put the code exactly where the decision is made — on the table, the counter, the packaging, the invitation or the screen — and give people one short line of instruction such as “Scan to open” or “Scan to pay”. Print codes at least 2 cm wide with a quiet white border and strong contrast so older phone cameras read them quickly; for posters scanned from a distance, use the 1024 px size and print bigger — a good guide is roughly one tenth of the scanning distance.
How it works
The generator enforces the valid 3–131,070 range and encodes with the standard bar rules (narrow = 1 step, wide = 2), so line-verification scanners read the intended value.
Worked example
A contract packer assigns code 75531 to a leaflet revision. Cartons, leaflets and labels printed with the matching Pharmacode are cross-checked by the line camera; a mismatch stops the belt before a wrong leaflet ships.
Frequently Asked Questions
Is this Pharmacode generator free?
Yes. Loona’s Pharmacode generator is completely free with no signup, no watermark and no limit on how many codes you create, for personal or commercial use.
Will my QR code expire?
No. Loona creates static QR codes: your information is encoded directly inside the QR pattern itself, not stored on a server or hidden behind a paid redirect. A code you print today will keep working as long as the destination itself stays active.
Is my information private on this Pharmacode page?
Yes. Generation happens 100% in your browser using JavaScript. Nothing you enter is sent to or stored on any server.
Can Pharmacode store a batch number or expiry?
No — it is one integer only, used as an ID that a database resolves. Anything richer needs Data Matrix or GS1-128.
Why does my Pharmacode scan as a different number?
It was probably read in the wrong direction. Pharmacode is directional by design; production scanners are fixed to read it the intended way.
Related QR Code Generators
The high-density all-rounder for logistics and inventory.
The retail product standard outside North America.
Tiny 2D codes for parts, electronics and pharma.
Every common 1D symbology in one tool.
Test-scan any code with your camera.
Embed this tool on your website — free
Add this tool to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the tool to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.