Barcode Maker
Set a label width and height in millimetres, pick 203, 300 or 600 DPI, and download a print-ready barcode PNG that is exactly that size.
This is the generator for people who already know their label size. Set the width and height in millimetres, choose the print resolution, and the output PNG is exactly that size — a barcode scaled to fit the label with a margin you control, not a barcode you then have to resize in another program.
Why the DPI setting matters
Every barcode problem at the printer traces back to resolution. A barcode sized in millimetres but exported at screen resolution (96 DPI) will look fine on screen and print as grey mush with soft bar edges, and a scanner will refuse it.
- 203 DPI — the standard for most desktop thermal label printers (Zebra, Brother, Dymo). Choose this if you are printing on thermal label stock.
- 300 DPI — laser printers and better thermal printers. The safe default for anything going through an office printer.
- 600 DPI — needed only for very small symbols, such as a 25 mm label holding an EAN-13 at the bottom of its allowed size range.
The file you download has the pixel dimensions the chosen DPI requires, so when you place it at the right physical size it prints 1:1.
Sizing rules worth knowing
- EAN-13 and UPC-A nominal size is 37.29 × 25.93 mm. Scanners accept roughly 80%–200% of that, so 30 mm wide is the practical floor and 75 mm the ceiling.
- Code 128 has no fixed nominal size, but the narrow bar must stay at or above 0.25 mm for most scanners, which limits how much data fits on a narrow label. If the code has to shrink, encode less: drop the prefix, shorten the serial.
- ITF-14 is printed big on purpose — 13 mm tall bars on corrugated board, with a thick bearer bar around the symbol so the cardboard texture does not break the scan.
- Quiet zone — ten times the narrow bar width on each side, never under 2.5 mm. The margin field here handles it; do not set it to zero to squeeze in more data.
Common label stocks
| Label | Typical use | Fits an EAN-13? |
|---|---|---|
| 25 × 15 mm | Small parts, jewellery | No — too narrow |
| 38 × 25 mm | Retail products, bottles | Yes, at nominal size |
| 50 × 25 mm | Shipping, warehouse bins | Yes, with room for text |
| 57 × 32 mm | Address and product labels | Yes, comfortably |
| 100 × 50 mm | Cartons, pallets | Yes, plus address block |
| 100 × 150 mm | 4×6 shipping labels | Yes, plus full address |
A 38 × 25 mm label is the tightest stock that still holds a compliant EAN-13. Below that you are either shrinking the symbol out of spec or switching to EAN-8.
Printing a sheet of them
This tool exports one label per download. For a whole sheet, use the bulk barcode generator — it takes a list of values and returns a ZIP of PNGs at 300 DPI that you can drop into a mail-merge document or a label layout.
If you are still choosing the printer itself, how to choose a barcode printer covers the resolution, media and connectivity decisions that actually matter.
Related
- Barcode label sizes — the full table with sheet counts
- UPC generator — UPC-A and UPC-E with check digit
- Barcode types — which symbology fits which label
Need a different symbology? The main generator covers nine of them, including Code 128, EAN-13 and ITF-14.
All barcode types