Barcode Generator

Make a barcode for a product, a label or a shelf, and save it as PNG, JPEG or SVG.

Barcode type

Bars
Background

Make a Barcode for Products, Labels and Shelves

Barcode Generator is a free online tool that turns a number or a short text into a barcode you can print: EAN-13, UPC-A, EAN-8, Code 128, Code 39 or ITF-14. For EAN, UPC and ITF-14 it works out the last digit, the check digit, or tells you when the one you typed is wrong. Set the width, height and colors, and save it as a PNG, JPEG or SVG with no watermark. Each barcode is read back by a scanner before you save it.

  • Free, no watermark
  • No sign-up
  • Made in your browser
  • Works on phone and computer

How to Make a Barcode

  1. 1 Choose the Type

    EAN-13 or UPC-A for products sold in shops, EAN-8 for small packs, Code 128 for letters and numbers, Code 39 for labels and badges, ITF-14 for shipping cartons.

  2. 2 Type the Number or Text

    The barcode is drawn as you type. For EAN, UPC and ITF-14 you can leave out the last digit and it is worked out for you.

  3. 3 Save Your Barcode

    Pick PNG, JPEG or SVG and save it, or copy the picture and paste it into your label or design.

Six barcodes on white cards: EAN-13, UPC-A, EAN-8, Code 128, Code 39 and ITF-14

Six Barcode Types

EAN-13 and UPC-A are the barcodes on products in shops; EAN-8 is the short one for small packs. Code 128 takes letters, numbers and symbols and stays short. Code 39 takes capital letters, numbers and a few signs, and older scanners read it. ITF-14 goes on the cartons products are shipped in, with a thick bar above and below it.

An EAN-13 barcode with its last digit circled

The Check Digit Worked Out for You

The last digit of an EAN, UPC or ITF-14 number is a check digit, worked out from the others so a scanner can catch a misread. Type the number without it and it is added; type it in full and it is checked, and if it is wrong you see which digit it should be.

Barcodes in dark brown on a cardboard box, in navy on a cream label and in dark green on a mint tag

Your Colors, or None Behind It

Pick the color of the bars and of the background, or leave the background out for a see-through PNG or SVG to put on your own design. If the colors are too close, or the bars are lighter than the background, a warning tells you that scanners may not read it.

Barcode Generator at a Glance

Barcode typesEAN-13, UPC-A, EAN-8, Code 128, Code 39, ITF-14
Check digitWorked out, or checked if you type it
SizeBars 1 to 8 px wide, 20 to 300 px tall
LookYour colors, a see-through background, the numbers under the bars or not
Saves asPNG, JPEG, SVG
CheckRead back by a scanner before you save
PriceFree, with no watermark and no sign-up
Where it runsIn your browser

Updated December 2, 2026

Frequently Asked Questions

How do I make a barcode?

Choose the type, type your number or text, and save it as a PNG, JPEG or SVG. The barcode is drawn as you type, and a line under it says whether it scans.

Which barcode type should I use?

For a product sold in shops, the type your number came in: EAN-13 in most countries, UPC-A in the United States and Canada, EAN-8 for very small packs. For your own labels, shelves or stock, Code 128, which takes letters and numbers and stays short. Code 39 for older scanners, and ITF-14 for shipping cartons.

Can I make a barcode to sell my product in shops?

You can draw it here, but the number has to come from GS1, the body that gives out product numbers, through its office in your country. Shops look a product up by that number, so a number you make up yourself may belong to someone else. Once you have your number, type it here and save the barcode.

What is the check digit?

The last digit of an EAN, UPC or ITF-14 number. It is worked out from the other digits so a scanner can tell when it has misread one. Leave it out and this tool adds it; type it and the tool checks it.

What size should I print it?

An EAN-13 is about 37 × 26 mm at its normal size, and is usually printed between 80% and 200% of that. Save it as an SVG to print it at any size without losing sharpness. For a PNG or JPEG, use wider bars for a bigger print rather than stretching the picture.

Why won't my barcode scan?

Most often the bars are too pale, the bars are lighter than the background, or the blank margin on each side was cut off. Keep the bars dark on a light background, leave the margin, and don't print it too small. This tool reads each barcode back before you save it and warns you about the colors.

Which file type should I save?

SVG for printing and for design programs, as it stays sharp at any size. PNG for a sharp picture, with a see-through background if you want one. JPEG where only JPEG is accepted; it always has a solid background.

Can I make a QR code here?

Use the QR Code Generator for that, which makes QR codes for links, Wi-Fi, contacts and text. To read a code, use the QR Code Scanner or the Barcode Scanner.

Is it free?

Yes. It is free, with no watermark and no sign-up, and the barcode is made in your browser.

Make Your Barcode