Barcode Generator

The interactive tool loads here. JavaScript is required to use its controls; the instructions below are available without it.

Create a barcode image from a value using CODE128, EAN-13, UPC or CODE39. Choose a format that matches the reader and workflow that will consume it.

How to use this tool

  1. Enter the value and select the barcode format.
  2. Generate the preview and correct any validation error.
  3. Download the PNG, print at a suitable size and test it with the intended scanner.

How to interpret the result

EAN-13 requires 13 digits and UPC requires 12; valid check digits and format restrictions still apply. A generated barcode does not assign an official retail product number or register it in a product database.

Frequently asked questions

Can I use any text for EAN-13?

No. Numeric retail formats have specific lengths and checks. Use an appropriate general-text symbology such as CODE128 for compatible non-retail workflows.