Barcode Generator

Generate barcodes in 8 encoding formats

Runs in your browserUtility04Generators

What is Barcode Generator?

This barcode generator supports the common one-dimensional symbologies, including CODE128, CODE39, EAN-13, EAN-8, UPC-A and ITF-14, and outputs vector SVG so the result scales to any size for print. Each format enforces its own content rules and tells you why an input was rejected. Generation happens locally in your browser.

How to use Barcode Generator

  1. 1Choose an encoding format: CODE128 for general use, EAN-13 for retail products.
  2. 2Enter the content — if it breaks the format's rules, the reason is shown inline.
  3. 3Right-click to save or copy the SVG for print.

Frequently asked questions

What is the difference between CODE128 and EAN-13?+

CODE128 is a general-purpose symbology: it encodes the full ASCII range at any length, which suits internal use such as bin locations and asset tags. EAN-13 is the retail product barcode: exactly 13 digits with the last one a check digit, and you need a GS1-issued company prefix before you can use it on products you sell.

Why does EAN-13 accept 12 digits?+

Because the thirteenth digit is a check digit derived from the first twelve. Pass 12 digits and the check digit is appended for you; pass 13 and the last digit is verified instead, so you get an error if it does not match.

Related tools

All tools