▌▌▐▌

Barcode Generator

Generate barcodes in Code 128, EAN-13, EAN-8, UPC-A and other formats instantly. Download as SVG or PNG. Free, browser-based.

🖼️ Image Tools Free Browser-based
Tool

Barcode Formats Supported

FormatCharactersCommon Use
CODE 128All ASCIIShipping, logistics, general purpose
EAN-1313 digitsRetail products worldwide
EAN-88 digitsSmall retail packaging
UPC-A12 digitsUS / Canada retail
UPC-E6 digitsCompact UPC for small packages
CODE 39AlphanumericHealthcare, defence, automotive
ITF-1414 digitsCarton / case-level shipping

Tips for Valid Barcodes

EAN-13 requires exactly 13 digits and the last digit is a check digit — enter any 12 digits and the library computes the check digit automatically. UPC-A requires 12 digits. CODE 128 accepts any full ASCII string. ITF-14 must be exactly 14 digits. If the value is invalid for the selected format, an error will appear below the barcode.

Which Barcode Format Should You Use?

  • Retail products (international) — EAN-13. The global standard scanned at supermarket checkouts in over 100 countries. Requires a GS1 company prefix for official commercial use.
  • Retail products (US/Canada) — UPC-A. The North American standard, readable by the same scanners as EAN-13. Also requires a GS1 prefix for commercial use.
  • Shipping and logistics — CODE 128. Handles any alphanumeric data, ideal for order numbers, tracking codes and internal inventory labels where you control the format.
  • Healthcare, automotive, defence — CODE 39. Widely adopted in legacy systems in these industries; supports letters and numbers but not all special characters.
  • Carton / case-level shipping — ITF-14. A 14-digit format used on outer packaging and pallets, designed to be readable through corrugated cardboard.
  • Internal inventory / custom labels — CODE 128 gives the most flexibility with no digit limits and full ASCII support.

Frequently Asked Questions