← Products

Barcode generator

Apps

How to make a barcode

Choose a type, type the number, and the barcode is drawn in your browser. Nothing is uploaded, and the check digit is calculated for you. Free, no account.

  1. Choose the type

    EAN-13 for a product in a shop, UPC-A for North America, Code 128 for a label with letters and numbers, Code 39 for an older industrial label.

  2. Type the number

    EAN-13 takes 12 digits and adds the thirteenth; 13 digits are checked. UPC-A takes 11 and adds the twelfth. Code 128 and Code 39 take text.

  3. Check the bars

    The number under the bars is what a scanner reads. The check line says whether a typed check digit is right.

  4. Download

    SVG stays sharp at any size; PNG is ready to paste into a document.

Frequently asked questions

Not answered here? Ask Yangopen

What check digit will EAN-13 use?

Type the first 12 digits and the page calculates the 13th, the one a scanner uses to know the number was read correctly. 400638133393 becomes 4006381333931.

What if I type 13 digits?

The page checks the last digit against the first 12 and says whether the barcode is valid. A wrong digit is shown, not hidden.

Which Code 128 does it use?

Code 128 with automatic B and C: a long run of digits uses the shorter C set, and letters use B. The checksum is added by the encoder.

Can I use it on a product I sell?

An EAN-13 or UPC-A number identifies a product, and the number must be one you are entitled to use. This page draws the barcode; it does not register a number with GS1.

Is my number uploaded?

No. Everything runs in your browser; the number is not sent anywhere.