Skip to content
TR ToolRux

Barcode Generator

Generate scannable barcodes in 5 formats — customise colors, size, and rotation. Download as PNG, JPEG, or SVG. Batch mode for bulk generation.

Barcode Preview

Input

Accepts: ASCII 32–12611/80
1px5px
40px300px
📖 Learn More

Everything you need to know

Free Online Barcode Generator

Create professional, scannable barcodes instantly without installing software or signing up for an account. Choose from five industry-standard formats, customise colors and dimensions, and export as PNG, JPEG, or scalable SVG. Everything runs in your browser — your data stays private.

Five Barcode Formats

This tool supports the most widely used linear barcode symbologies:

  • Code 128B: High-density format supporting all printable ASCII characters (32–126). Used in shipping, logistics, and general labelling. Includes automatic modular checksum.
  • Code 39: Alphanumeric format supporting uppercase letters, digits, and common symbols. Popular in automotive, defence, and healthcare industries. Self-checking symbology.
  • EAN-13: The international retail barcode standard. Enter 12 digits and the tool auto-calculates the 13th check digit. Used on consumer products worldwide.
  • EAN-8: Compact 8-digit version of EAN-13 for small products. Enter 7 digits for automatic check digit calculation.
  • UPC-A: The 12-digit US retail standard. Enter 11 digits and the check digit is calculated automatically. Found on virtually every product in North American stores.

Advanced Customisation

Expand the Advanced Options panel for full creative control. Choose custom bar and background colors with a visual color picker or enter hex values directly. Toggle the human-readable text label on or off and adjust its font size from 8px to 24px. Rotate the barcode 0°, 90°, 180°, or 270° for vertical label orientations. Adjust bar width from 1–5 pixels per module and height from 40–300 pixels for maximum scanning flexibility.

Multiple Download Formats

Download barcodes in three formats: PNG for general use, JPEG for smaller file sizes, and SVG vector for print production that scales to any size without losing quality. You can also copy the barcode image to your clipboard for quick pasting into documents, emails, or design tools.

Batch Generation

Switch to Batch Mode to generate multiple barcodes at once. Enter one value per line — product codes, tracking numbers, or serial numbers — and generate all barcodes with a single click. Download the entire batch as individual PNG files. Ideal for inventory labelling, warehouse management, and bulk product tagging.

Direct Printing

Click the Print button to open the barcode in a print-optimised window. Print directly to label printers, standard inkjet or laser printers, or save as PDF through the print dialog. The barcode is rendered at full resolution for reliable scanning.

Live Preview

The barcode updates in real-time as you type, change formats, adjust colors, or modify dimensions. No need to click a generate button — every change is reflected instantly in the preview.

Automatic Check Digits

For EAN-13, EAN-8, and UPC-A formats, enter only the data digits and the tool automatically calculates and appends the correct check digit. Code 128B also includes automatic modular checksum calculation. Input validation warns you immediately about invalid characters or incorrect digit counts for each format.

Common Use Cases

  • Inventory management: Label products, shelves, and bins with unique identifiers.
  • Shipping labels: Encode tracking numbers for parcels and packages.
  • Retail products: Generate EAN-13, EAN-8, or UPC-A barcodes for consumer goods.
  • Asset tracking: Tag laptops, equipment, and office furniture.
  • Event tickets: Print scannable ticket IDs for conferences and meetups.
  • Library cataloguing: Generate barcodes for book ISBNs and call numbers.
  • Manufacturing: Label parts, assemblies, and work-in-progress items.

Privacy and Performance

All barcode generation happens entirely in your browser using the HTML Canvas API. No data is transmitted to any server. The tool works offline once loaded, and there are no usage limits or watermarks.

Related Tools

Generate QR codes with the QR Code Generator. Convert text encodings with the Base64 Encoder/Decoder. Format data with the JSON Formatter.