Home › Barcode Types › Pharmacode

Pharmacode Barcode Generator

The pharmaceutical packaging code (Laetus). Free, unlimited and instant — with every professional option included.

Use an example — or type your own number or text above.

Your barcode preview will appear here.

Free for personal and commercial use. No watermark, no sign-up.
For razor-sharp printing, download the SVG — it scales to any size.

About Pharmacode Barcodes

Pharmacode (Laetus code) is the pharmaceutical industry’s own tiny code: a single whole number printed on medicine packaging and leaflets so machines can verify that the right leaflet goes in the right box. It reads in one direction and uses thick and thin bars only.

The History of Pharmacode

Pharmacode was created by Laetus, a German packaging-technology company, for a single high-stakes job: making sure pharmaceutical packaging lines never mix components. On a line running thousands of cartons a minute, the wrong leaflet in the wrong box is a recall — or worse. Laetus designed a code so simple that a basic sensor could verify it at full line speed: one number, drawn only with thick and thin bars, read in one direction. The industry adopted it worldwide, and “Laetus code” became a generic term on packaging floors. It is not a retail code and never pretends to be.

How Pharmacode Works

A Pharmacode value is a whole number from 3 to 131070. The encoding is beautifully austere: working from the value, the algorithm emits a sequence of thin bars (worth small increments) and thick bars (worth larger ones) whose pattern uniquely represents the number, read right to left. There are no characters, no check digit, and no start/stop in the alphabetic sense — the geometry is the message. That simplicity is why cameras verify it so reliably, and also why it carries nothing else: no product identity, no batch, just the control number the line was set to expect. Enter your number here and the generator draws the exact bar sequence.

Pharmacode — Key Facts

Pharmacode Sizes and Printing Rules

Pharmacode is usually printed small — often 6–10 mm wide — directly on cartons, leaflets, labels and blister foils, in one colour, by the packaging printer. Precision matters more than size: bar widths must stay within tight tolerance, because thick-versus-thin is the entire alphabet. Print from the SVG on this page rather than a scaled raster image, keep contrast absolute (black on white or the line’s specified colour), and respect the quiet zones. On the line, the code is verified by camera against the job’s expected number — a mismatch stops the belt, which is the system working as designed.

Where Pharmacode Is Used

Beyond medicines, Pharmacode appears wherever packaging components must be matched mechanically: cosmetics cartons and leaflets, medical device packaging, and some food supplement lines. Its presence on a pack tells a story to those who know: this manufacturer runs automated component verification. Consumers never interact with it — the EAN-13 elsewhere on the same box is for the till — and that division of labour is deliberate.

Pharmacode in Practice

Because Pharmacode is a control number, governance is everything: each product and component gets its assigned number from the company’s master list, and two components must never share one. The code has no room to explain itself — if the leaflet and carton numbers agree, the line runs. When you introduce a new leaflet revision, assign a new Pharmacode, generate the artwork here, and update the line’s expected value in the same change request.

How to Create a Pharmacode Barcode

  1. Enter the content in the box above — the generator is already set to Pharmacode, with a working example filled in. Type or paste your own number or text.
  2. Adjust the style — bar width, height, quiet zone, colours, the text under the bars and its font. The preview updates as you change things.
  3. Download a print-ready PNG, a razor-sharp SVG, or a JPG — or switch to Serial Numbers / Bulk List above to create many at once.

Getting the Best Result from This Generator

Every option above the preview exists because a real labelling job needed it. Bar width sets the thickness of the narrowest bar — raise it for labels that travel far or are scanned at a distance, lower it only when space genuinely runs out. Barcode height does not change the data, but taller bars are dramatically easier to scan, especially handheld. The quiet zone slider controls the blank margin the scanner needs to find the symbol; the default suits most labels, and crowded artwork is the only reason to touch it. The text settings control the human-readable line under the bars — keep it on for anything people also read, and pick OCR-B for the classic machine-printed look. Colours should stay dark-on-light; the transparent background option is for placing the code over your own light artwork in a design program. Finally, the download size matters: SVG is a vector that stays perfect at any scale and is always the professional choice, while the 3x and 4x PNG options exist for software that cannot take vectors. Set the options once, watch the preview, and only then download.

Pharmacode vs the Alternatives

Pharmacode versus EAN-13: they share boxes but not jobs — EAN identifies the product to the world; Pharmacode matches components inside the factory. Versus Data Matrix: regulated medicines increasingly carry a GS1 DataMatrix with serialisation data for the supply chain, while Pharmacode remains the line-side component check. Versus Code 39 and friends: those encode text for people’s systems; Pharmacode encodes one number for machines.

Common Pharmacode Mistakes to Avoid

Why a Pharmacode Barcode Fails to Scan — Troubleshooting

When a freshly printed Pharmacode refuses to scan, the cause is almost never the data — it is the physics of the print. Work through the usual suspects in order. Contrast: scanners see in shades of red light, so black bars on white are the gold standard; red, orange and metallic bars can be nearly invisible, and a dark background with light bars defeats most readers entirely. Quiet zone: the blank margin around the symbol is part of the code — if text, borders or the edge of the label crowd it, the scanner cannot find where the code starts. Size: a symbol shrunk below its sensible minimum merges its fine bars into grey mush; print bigger or simplify the data. Print quality: inkjet bleed, a worn thermal head and low-resolution images all fatten or break bars — print from the SVG, at 100% size, on the best printer setting. Damage and gloss: creases, lamination glare and curved surfaces each steal a slice of the symbol; matte labels placed flat scan best. The professional habit that prevents all of it: print one label, scan it with the actual device that will be used, in the actual lighting, before printing the batch.

A Short Pharmacode Glossary

Five terms explain nearly everything about working with Pharmacode. The symbology is the language itself — the set of rules that turns data into bars and back; Pharmacode is one symbology among the twenty-one on this site. The X-dimension is the width of the narrowest bar or space, and every other measurement — total size, quiet zone, print tolerance — is expressed as a multiple of it. The quiet zone is the blank margin at both ends of the symbol; scanners use it to recognise where the code begins, and stealing it is the most common cause of failure. A check digit is a final character calculated from all the others, letting the scanner prove the read is correct instead of merely plausible. And the human-readable line is the printed text beneath the bars — there for people, ignored by scanners, and worth keeping accurate because when a scan fails, a human types exactly what it says. Keep these five straight and the rest of this page — and any barcode specification you are handed — becomes easy reading.

Barcode Print Quality, Explained Simply

Professionals grade printed barcodes from A (excellent) to F (fail) with a device called a verifier, which measures contrast, bar accuracy and defects against the standard for the symbology. You do not need a verifier for everyday work, but the grades explain what “good” means: a Grade A symbol has crisp edges, bars within a hair of their intended widths, and strong contrast. Home and office printing usually lands at B or C — perfectly serviceable for internal labels, shelf edges and documents. Retail packaging and supply-chain labels are held to higher bars because they must scan first time, every time, on equipment you do not control. The practical translation: generate from a proper encoder (as this page does), print from vector artwork, keep contrast absolute, respect the quiet zone, and test-scan. Follow those five rules and your Pharmacode labels will behave like professionally produced ones, because the difference was never the price of the software — it is the discipline of the print.

Pharmacode — Questions & Answers

Is Pharmacode the barcode scanned at the pharmacy till?

No — the till scans the product’s EAN-13. Pharmacode works inside the factory, matching cartons, leaflets and labels during packaging. The two systems often sit side by side on the same box.

Can Pharmacode be scanned at a shop till?

No — and it is not meant to be. Tills read the product’s EAN-13. Pharmacode is read by packaging-line cameras and dedicated checkers inside the factory to verify that cartons, leaflets and labels belong together.

Is this Pharmacode generator free?

Yes — completely free and unlimited. Create as many barcodes as you like and download them as PNG, SVG or JPG with no watermark and no sign-up. Everything is generated in your browser; nothing is uploaded.

How do I print my Pharmacode barcode correctly?

Download the SVG for perfectly sharp printing at any size, or a PNG at Print quality (3x) or higher. Keep the quiet zone (the empty margin) around the code, print a test copy, and scan it with a phone or scanner before a big print run.

Can I make many Pharmacode barcodes at once?

Yes — the Serial Numbers tab on this page generates a running series, and the Bulk List tab turns a pasted list (one value per line) into barcodes you can download together as a ZIP file or print as a sheet.

More Barcode Generators

Data Matrix GeneratorAztec Code GeneratorPDF417 GeneratorCode 128 GeneratorEAN-13 GeneratorUPC-A GeneratorCode 39 GeneratorQR Code Generator