Skip to content
AnyToolBox

Search tools

Find a tool by name or keyword

Barcode Generator

Generate Code 128, EAN-13, UPC-A, Code 39, ITF-14 and more, with check digits added automatically.

100% Client-Side

Pick a barcode format, enter the value and download it as PNG or SVG.

How to use the Barcode Generator

  1. 1

    Choose a format — Code 128 for general use, EAN-13 or UPC-A for retail products.

  2. 2

    Type the value. For EAN, UPC and ITF-14 you can leave out the last digit and we'll calculate the check digit.

  3. 3

    Adjust bar width, height, text and colors.

  4. 4

    Download a print-quality PNG or a scalable SVG.

Frequently asked questions

Code 128 encodes letters, numbers and symbols and is the best general choice. Retail products need EAN-13 (worldwide) or UPC-A (North America), and shipping cartons use ITF-14.

The barcode image itself is free to use. For retail, the number must be one registered to your company with GS1 — stores reject made-up EAN or UPC numbers.

The last digit of EAN, UPC and ITF-14 codes is calculated from the others so scanners can detect misreads. Enter one digit fewer and we add it, or enter the full number and we verify it.

Download the SVG for print — it scales without blur. Keep the white margin around the bars, and print in dark ink on a light background for reliable scanning.

Missing a feature or tool?

Tell us what would make Barcode Generator more useful, or what to build next.