100% Client-Side Processing

Your data never leaves your browser

No uploads
No storage
Instant processing

Barcode Generator

Generate various barcode types (CODE128, EAN-13, UPC, etc.) with adjustable size. Export as SVG. Fully private—rendered in your browser.

Barcode Generator

Choose the barcode type.

Alphanumeric supported

Supports: CODE128, CODE39, EAN-13/8, UPC-A, ITF, MSI, Codabar, Pharmacode

Tip: Input requirements differ per symbology (e.g., EAN-13 requires 12 digits; UPC-A requires 11 digits; pharmacode uses numbers only).

What is a Barcode Generator?

Create machine‑readable labels for fast scanning. This tool supports multiple barcode symbologies and renders them locally for privacy and speed.

Supported Barcode Types

CODE 128

High-density alphanumeric

  • • Supports: ASCII 0-127
  • • Length: Variable
  • • Common in: Logistics, shipping, retail

CODE 39

Alphanumeric with limited symbols

  • • Supports: A-Z, 0-9, - . $ / + % space
  • • Length: Variable (use * for start/stop)
  • • Common in: Inventory, ID cards, automotive

EAN-13

Global retail product codes

  • • Format: 12 digits (13th is checksum)
  • • Example: 5901234123457
  • • Common in: Retail products worldwide

UPC-A

North American retail standard

  • • Format: 11 digits (12th is checksum)
  • • Example: 123456789012
  • • Common in: US/Canada retail

ITF (Interleaved 2 of 5)

Numeric only, high density

  • • Supports: 0-9 (even length)
  • • Example: 12345678
  • • Common in: Warehousing, distribution

MSI

Numeric with check digit

  • • Supports: 0-9
  • • Example: 1234567
  • • Common in: Inventory management

Codabar

Numeric with start/stop chars

  • • Supports: 0-9, - $ : / . +
  • • Example: A123456B
  • • Common in: Libraries, blood banks

Pharmacode

Numeric, compact

  • • Supports: 0-9
  • • Example: 1234
  • • Common in: Pharmaceutical packaging

How to use

  1. Select barcode type from the dropdown
  2. Enter your text (format varies by type)
  3. Adjust size and appearance as needed
  4. Click "Copy SVG" or "Download SVG" to save

Printing Tips

  • • Use at least 300 DPI for print quality
  • • Minimum recommended width: 1.5" (38mm)
  • • Test scan before large print runs
  • • Ensure sufficient contrast (black on white)

How to create a Code 39 barcode

  1. Enter text (A–Z, 0–9, space, - . $ / + %).
  2. Adjust width and height for your layout.
  3. Toggle human‑readable text if needed.
  4. Download the SVG for crisp print and scaling.

Printing best practices

  • Use high contrast (dark bars on light background).
  • Keep quiet zones (margins) around the barcode.
  • Prefer vector (SVG) instead of raster images.
  • Test with multiple scanners before bulk printing.

FAQs

Is my data sent to a server?
No. All barcodes are generated locally in your browser.
Which barcode types are supported?
We support multiple types: CODE128, CODE39, EAN-13, EAN-8, UPC-A, ITF, MSI, Codabar, and Pharmacode. Each has specific use cases and character requirements.
Which characters can I encode?
It depends on the barcode type. CODE128 supports all ASCII 0-127. CODE39 supports A–Z, 0–9, and - . $ / + %. Numeric-only types like EAN-13 only support 0-9. See the documentation above for full details.