Skip to main content

Barcode Generator

Create Code 128, EAN-13, UPC-A and ITF-14 barcodes as SVG or PNG

Content

Letters, digits, spaces and symbols (printable ASCII).

Barcode preview

Code 128 barcode for SHIP-2026-10-0042
Encoded value
SHIP-2026-10-0042
Size
462 × 162 px
PNG
PNG 2×: 924 × 324 px

Options

2 px
100 px
PNG scale
Advanced
Bar color
Background
20 px
2 px
20 px

The preview does not certify scan or print quality: test-scan printed labels, keep the quiet zone, and scale width and height together. Retail numbers (EAN/UPC) are assigned through GS1; creating an image does not register a number.

What does the Barcode Generator do?

It turns an identifier into a one-dimensional barcode you can preview, copy and export. Choose a symbology, type the value, and the preview updates as you type. Bars are drawn as vector shapes, so the SVG stays sharp at any print size.

Supported formats and validation
  • •Code 128: printable ASCII text such as order or shipping references.
  • •EAN-13, EAN-8, UPC-A and ITF-14: enter the data digits and the check digit is calculated, or enter the full number and the check digit is verified.
  • •Code 39 and Code 93: uppercase letters, digits and - . $ / + % (lowercase is converted).
  • •MSI: digits with an optional Mod 10, Mod 11, Mod 1010 or Mod 1110 check digit.
  • •Codabar: digits and - $ : / . + with A–D start/stop letters.
  • •Pharmacode: a whole number from 3 to 131070.

Each format shows a specific message explaining what to fix.

Export and print tips
  • •Download SVG for print and design tools; it keeps hard edges at any size.
  • •Download PNG at 1×–4× for documents and web pages; whole-number scales keep bars on full pixels.
  • •Keep dark bars on a light background and leave the quiet zone around the code.
  • •Resize width and height together, and test-scan a printed sample before production use.
Privacy and GS1 numbers

Encoding and image export run entirely in your browser; values are not uploaded or stored. Generating an EAN or UPC image does not assign, register or license a product number. Retail GTINs come from GS1 or your organization’s numbering process.

Frequently asked questions
Does generating an EAN or UPC barcode register a product number?
No. The tool only encodes the number you enter. Retail GTINs for EAN and UPC barcodes are assigned through GS1 or your organization's numbering process.
Do I need to enter the check digit?
No. For EAN-13, EAN-8, UPC-A and ITF-14 you can enter only the data digits and the check digit is calculated. If you enter the full number, the check digit is verified and a mismatch shows the expected digit.
Should I use SVG or PNG?
Use SVG for print and design tools because it keeps hard bar edges at any size. Use PNG at a whole-number scale for documents and web pages, and test-scan a printed sample before production use.

CodingTool is officially live on