Home › Blog › How to make a barcode
QR and Barcode Tools guide

How to make a barcode

Shop products use EAN and UPC codes; warehouses and labels use Code 128 and Code 39. Choose the type, enter your number or text and download the barcode.

Open the Barcode Generator tool

Step by step

  1. Choose the type. Pick Code 128, Code 39, EAN-13, EAN-8 or UPC-A.
  2. Enter the value. Type the number or text. The check digit is added for EAN and UPC.
  3. Download. Save the barcode as PNG or SVG.

Tips for better results

  • For EAN and UPC enter the digits without the check digit; it is added for you.
  • Print at the size you need and leave blank space on both sides.
  • Real EAN and UPC numbers for shops are issued by GS1; a generated barcode with a made-up number is fine for testing and internal use.

Limits to know

  • Formats: PNG and SVG images
  • Size: Up to a few hundred characters
  • Notes: Draws barcodes for the value you give. It does not issue product numbers (GS1) and does not read barcodes.

At a glance

ToolBarcode Generator
CategoryQR and Barcode Tools
Works withPNG and SVG images
Size limitUp to a few hundred characters
Where it runsIn your browser tab; your input is not uploaded
CostFree, no sign-up

Frequently asked questions

Which type should I use?

EAN-13 or UPC-A for retail products, Code 128 for shipping labels and inventory, Code 39 for simple labels and ID badges.

Does the tool give me a valid product number?

No. Numbers for selling in shops are issued by GS1. This tool draws the barcode for the number you provide.

Is the check digit right?

Yes. It is calculated with the standard algorithm, and if you enter a full number the tool checks it.

If something does not work

  • The result says a value is invalid. Check that every field has a number in the allowed range; the message names the field.
  • The numbers look different from another calculator. Rounding, rate and date conventions differ between calculators. Compare the assumptions shown with the result.
  • The page does not update. Reload it and try again; if it still fails, report it.
  • Is the answer advice? No. Results are estimates for general information.

Still stuck? Use Report a Problem and tell us the tool, your browser and what happened, or read the Help Center.

Related tools and guides

More tools like this are in QR and Barcode Tools, or browse all tools.