Skip to content
OddsockLocal
Local
Source text

Formatting

2 wordsRuns in this browser. Nothing is uploaded.

How to use

  1. Pick the symbology your scanner expects. Retail shelves are EAN-13 or UPC-A. Internal letters are Code 128.
  2. Type content that fits that symbology.
  3. Choose SVG unless you specifically need a PNG.
  4. Scan the print with the actual scanner. A phone camera is not a retail scanner.

What is Barcode maker?

A barcode symbology is a contract about the characters, not a style. Code 128 takes general text, which is why a SKU like HELLO-42 belongs there. EAN-13 and UPC-A are retail formats: digits only, with a check digit. EAN-8 is the short retail form. Code 39 is an older uppercase set. ITF is interleaved pairs of digits. This page lets you pick the symbology. The EAN page and the UPC page are the same encoders with the format already chosen.

Read more

EAN-13 needs 12 or 13 digits and a check digit. Give it 12 digits and the check digit is computed and appended. Give it 13 and the last digit has to already be the correct check, or the code is rejected rather than printed wrong. A 12-digit string 400638133393 becomes the bars for 4006381333931. The same 12 digits with a wrong final 9, if you pass 13 characters, does not encode. Content is limited to 256 characters even on Code 128.

SVG is the print file, because the bars stay crisp. PNG is there when a tool wants pixels. Leave a quiet margin around the bars. This page draws that margin. Do not crop it off in the layout.

Use cases

  • A warehouse label uses Code 128 for an internal SKU that contains letters.
  • A product sticker uses EAN-13 once the 12 data digits are known.
  • A North American shelf label uses UPC-A from an 11-digit body.
  • A legacy scanner that only reads Code 39 gets an uppercase code.
  • A carton mark uses ITF because the scanner on the dock expects interleaved digits.

An internal code in Code 128

Symbology CODE128, content hello, SVG.

An SVG of a Code 128 barcode for the text hello. The same screen set to EAN-13 would refuse hello, because EAN-13 needs 12 or 13 digits and a valid check digit.

Why use Oddsock

Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.

Related tools

Using this tool

12 or 13. Twelve digits and the page adds the check digit. Thirteen digits and the last one must already be the correct check, or the barcode is rejected.