Use this tool free →

Free Barcode Generator — EAN-13 & Code 128

Create EAN-13 and Code 128 barcodes as sharp PNG images, ready to print on labels.

🔒 Files are processed on your device — nothing is ever uploaded to a server

Download a black-on-white PNG with the number printed underneath. EAN-13 follows the international standard and works with ordinary checkout scanners and stock systems; Code 128 suits your own internal codes. Make as many as you like — your codes are never sent to a server.

Start now — it's free →

How to create a barcode (3 steps)

  1. Choose the format: EAN-13 (a 13-digit product number) or Code 128 (letters and numbers).
  2. Enter your product code or text and pick a size.
  3. Generate and download the PNG for your label or sticker.

Code 128 or EAN-13: choose by the job

In short: inside your own shop or organization, use Code 128. Products going onto retail shelves need a properly issued EAN-13.

Common EAN-13 misunderstandings

Size, height and printing so it scans

Common uses

FAQ

How many digits does EAN-13 need?

Enter 12 digits and the tool calculates the check digit for you, or enter all 13.

How is Code 128 different from EAN-13?

Code 128 takes letters and numbers of variable length, for internal codes like parcel or membership numbers. EAN-13 is the standard retail product number.

Where do official EAN numbers come from?

Retail EAN-13 numbers are issued by GS1 when you register as a member. This tool draws the barcode for numbers you've been assigned.

If I enter 12 digits, does it add the 13th?

Yes. If you enter all 13, the tool checks the last digit and asks you to fix it if it's wrong.

What file do I get, and can I print it straight away?

A PNG on a white background with the number under the bars. Print at actual size or larger, and don't crop off the white border.

Do I need to request numbers for use in my own shop?

No. Use Code 128 and set your own codes. Only products for retail chains or large platforms need a registered EAN-13.

Ready to try?

Free, no sign-up, and your files stay on your device.

Open the tool →

Related tools

QR code generatorQuotation makerImages to PDF