Barcode Maker

Make barcodes for tools, bins, parts, serial numbers and products: Code 128, Code 39, GS1-128, EAN, UPC, ITF-14 and Data Matrix for part marking. Check digits are worked out for you. Download a print-ready PNG or SVG at the real size, or print a sheet. Need a QR code? Use the QR Code Maker. To lay out whole labels with text and your logo, use the Shop Label Designer.

Barcode type

A USB barcode scanner types this into whatever box has the cursor, like a keyboard.
Loading…

Downloads come out at the real size: the PNG is made at your printer's resolution, the SVG in millimetres. Print at 100% scale.

Size and look

Label sheet: many barcodes at once

One barcode per line: what to encode, caption. Paste a column from Excel for a whole tool crib, a rack of bins or a run of serial numbers. It uses the type, size and look chosen above.

Up to 200 barcodes, each at its real size.

How the Barcode Maker Works

A barcode stores text as a row of dark bars and light spaces of a few set widths (or, for Data Matrix, a square grid of cells). The scanner measures the widths, turns them back into characters and checks a built-in check value, so a misread is caught instead of typed in.

This maker encodes your data in the type you choose, adds the start and stop patterns, quiet zones and check digits, and draws it as a vector in real millimetres. The engine runs in your browser as WebAssembly, and nothing you type is sent anywhere. Every barcode type is tested by drawing it and reading it back with an independent decoder.

Which Barcode Type?

TypeHoldsBest for
Code 128Any plain text (ASCII)Tool numbers, part numbers, bins, work orders. Compact, and digit runs are packed two to a bar pattern.
Code 39A–Z, 0–9, space - . $ / + %Older systems and customer label specs that ask for it. Wider than Code 128 for the same text.
GS1-128GS1 data: GTIN, lot, dates, serialsShipping and pallet labels and traceability for a customer that asks for GS1.
EAN-13 / UPC-A / EAN-8Product numbers (GTIN)Products sold in shops. You need numbers issued to your company by GS1.
ITF-14Carton GTIN (14 digits)Printed straight onto corrugated outer boxes, with the bearer frame.
Data MatrixAny text, up to about 1,500 charactersLaser-etched or dot-peened part marks, serial plates and tiny labels. Error correction means it still reads when scratched.

Getting the Size Right

Width = (modules + quiet zones) × narrow bar width (X)
Bar height ≥ 15% of the width, and at least 6.35 mm, for hand scanners
Snapped X = round(X ÷ dot) × dot, dot = 25.4 mm ÷ printer dpi
The quiet zone is the plain margin each end: 10 × X for Code 128, Code 39 and ITF-14, 11 and 7 × X for EAN-13.

Worked example: T0412 in Code 128 is a start code, "T", a switch to the digit-pair set, "04" and "12" packed two digits per character, a check character and a stop: 6 × 11 + 13 = 79 modules, plus 20 for the quiet zones. At the standard 0.33 mm on a 300 dpi printer the bar snaps to 4 dots = 0.339 mm, so the barcode is 99 × 0.339 = 33.5 mm wide. Bar widths that aren't whole printer dots get rounded unevenly by the printer, and that is a common reason a label scans badly; the snap option prevents it.

Barcodes Around the Shop

  • Tool crib: a Code 128 label on every holder or drawer. Scan it into the Tool Crib Tracker or your own spreadsheet to issue and return tools without typos.
  • Jobs: the job or work order number on the traveller, so operators clock on and off by scanning it.
  • Part marking: a Data Matrix with the part number, revision and serial, laser-etched or dot-peened onto the part. Use a cell size the marking machine can make cleanly, often 0.25–0.5 mm.
  • Stores and bins: a sheet of location labels printed in one go from a list.
  • Shipping: GS1-128 or ITF-14 when a customer's supplier manual asks for them.

Tips So Every Barcode Scans

  • Black on white is best. Never print red bars: most scanners use red light, and red bars look the same as white paper to them.
  • Keep the quiet zones clear of text, borders and label edges.
  • Print at 100%. Check the first label with a rule against the size shown under the preview.
  • Match your printer. Pick its resolution (203 dpi for most thermal label printers) and leave "Fit bars to whole printer dots" on.
  • Test with your own scanner before printing hundreds.

Frequently Asked Questions

Not for products sold in shops. Retail numbers (GTINs) must come from GS1, which licenses a company prefix to your business; shops and marketplaces check them. For barcodes used only inside your own shop, use Code 128 or Data Matrix with any numbering you like.

Code 128, unless a customer or system asks for Code 39. Code 128 holds lower-case letters and symbols and is much shorter for the same text, especially numbers. Code 39 needs no check digit and is accepted almost everywhere, which is why older label specifications still use it.

Data Matrix is smaller for the same data, has only one small finder pattern (the L-shaped edge) and reads well from etched or peened metal, so it's the standard for direct part marking in aerospace, automotive and medical work. QR codes are better for links that phones will scan.

Each number in brackets is an Application Identifier saying what follows: (01) GTIN, (10) batch or lot, (11) production date, (17) expiry date, (21) serial number, (37) count. The brackets are printed but not encoded; the maker puts the separators the scanner needs between the fields.

The PNG is made at the printer resolution you pick, so it prints dot for dot at the right size. The SVG is a vector in millimetres for design and label software, laser engravers and print shops.