QR & Barcode

Barcode Generator — Create Code 128, EAN, UPC & Code 39 Barcodes

Generate vector SVG and high-resolution PNG barcodes in your browser.

  • Runs in your browser
  • Nothing is uploaded
  • No signup required

Barcode Data & Symbology

Enter the value to encode. Format-specific checksums are verified automatically.

Live Preview

Appearance & Dimensions

Default: Black (#000000)
Default: White (#ffffff)

Barcodes are generated entirely inside your browser. No barcode values or data are sent to our server.

Linear barcodes are essential for retail product labeling, inventory management, warehouse shipping cartons, book publishing, and library cataloging.

This tool generates standards-compliant barcodes across all major 1D symbologies with automated Modulo-10 checksum validation, customizable bar widths, margins, colors, and downloadable vector SVG and high-resolution PNG formats.

How to use this tool

  1. Select your barcode symbology from the dropdown (e.g., Code 128 for general inventory, EAN-13 for international retail, or UPC-A for North America).
  2. Enter your data value. The tool automatically verifies required lengths and check digits.
  3. Customize bar width, height, colors, and whether human-readable text is displayed beneath the bars.
  4. Click "Download SVG" for scalable vector printing or "Download PNG" for digital use.

Guide to Common Barcode Symbologies

Code 128: The most versatile high-density format, supporting all ASCII letters, numbers, and symbols. Widely used for logistics, shipping, and inventory.

EAN-13 & UPC-A: The global standard for retail point-of-sale scanning. EAN-13 uses 13 digits worldwide; UPC-A uses 12 digits primarily in the United States and Canada.

Code 39: Widely used in automotive, government, and defense systems. Supports uppercase letters and numbers.

ITF-14: Interleaved 2 of 5 format used on corrugated master shipping cartons.

Frequently asked questions

What is the difference between a Barcode and a QR Code?

A barcode is a one-dimensional (1D) linear code holding numeric or short alphanumeric data (typically 12–20 characters) scanned with red laser scanners. A QR code is a two-dimensional (2D) matrix holding up to several thousand characters readable by smartphone cameras.

Can I use the generated SVG for commercial printing and product packaging?

Yes. The SVG download is a scalable vector graphic that prints crisply at any DPI without blurring or pixelation.

How is the EAN-13 / UPC check digit calculated?

The engine computes the standard Modulo-10 weighted checksum across the preceding digits automatically. If you provide 12 digits for EAN-13, the 13th check digit is calculated for you.