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.
Create Code128 or EAN-13 barcode images
The tool could not be loaded. Check your connection and try again.
Type the value to encode — product digits for EAN-13 or any ASCII text for Code128.
Select Code128 for general use or EAN-13 for retail product numbers.
Save the high-contrast barcode image for printing or embedding — generated locally.
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.
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.
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.
No. The barcode is rendered to a PNG entirely in your browser — no upload, no account, and your data never leaves your device.
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.