Skip to content

Barcode Generator

Create Code128 or EAN-13 barcode images

Preparing the tool…
No file selected

How to generate a barcode

  1. Enter your code

    Type the value to encode — product digits for EAN-13 or any ASCII text for Code128.

  2. Choose the format

    Select Code128 for general use or EAN-13 for retail product numbers.

  3. Download the PNG

    Save the high-contrast barcode image for printing or embedding — generated locally.

Frequently asked questions

Which barcode formats are supported?

Code128, which encodes 1 to 80 printable ASCII characters, and EAN-13, which requires exactly 13 digits with a valid check digit as used on retail products.

Why was my EAN-13 rejected?

EAN-13 needs exactly 13 numeric digits and the final digit must be the correct check digit computed from the first twelve. A wrong or missing check digit is rejected instead of producing an unscannable code.

What characters can Code128 hold?

Any printable ASCII character — letters, digits and symbols — between 1 and 80 characters. Control characters and non-ASCII text such as emoji are not encodable in this symbology.

Is the barcode generated on a server?

No. The barcode is rendered to a PNG entirely in your browser — no upload, no account, and your data never leaves your device.

Linear barcodes, validated

Here is what each format is for, and when converting codes into barcode PNGs is the right move.

What is Code128?

A high-density linear symbology that encodes the full printable ASCII range. The go-to for internal labels, asset tags, serial numbers and shipment codes.

What is EAN-13?

The 13-digit retail product barcode used worldwide at point of sale. Its last digit is a check digit — this tool validates it so you never print an invalid code.

When you need it

Use Code128 for inventory and internal tracking labels, and EAN-13 only for genuine retail product numbers with a valid check digit. Print at sufficient size on light backgrounds; scanners struggle with tiny or low-contrast bars.

Your file tools, one click away

Install ToolMink to open it from your desktop or home screen.