Skip to main content
Alona Tool – Free Online Tools

Barcode Generator

Popular Runs in Your Browser

Generate high-definition barcodes in Code 128, EAN-13, UPC-A, Code 39, and ITF formats. Perfect for inventory, shipping labels, and retail packaging.

Browser-based: this tool works on your device and does not send your input to an Alona Tool server. See the Privacy Policy for details.
Fast Processing

Loading Barcode Generator… This tool is an interactive page and needs JavaScript enabled in your browser.

Example Usage & Test Cases

Code 128 Inventory
Input Scenario:
INV-2026-9874
Generated Result:
Standard Code 128 barcode

How It Works

1

Uses standard symbology algorithms to calculate bar widths, quiet zones, and check digits, rendering pure vector SVG and high-DPI raster output.

Frequently Asked Questions

Yes! Generated barcodes strictly follow ISO/IEC 15417 symbology specifications and scan cleanly with commercial handheld scanners.

Related Tools

Industrial & Retail 1D Barcode Generator

Create crisp vector barcodes ready for thermal label printers or commercial packaging.

Linear barcodes are what stock systems, scanners and shelf labels expect. Someone running a small shop might label hand-made products with Code 128, a school or club can number library books or equipment, a warehouse can print location labels for bins, and a seller can create a retail-style code for a product list while testing a scanner setup. It is also useful for quick internal asset tags, where the code only needs to be read inside one organisation and not registered anywhere.

Type your value into Barcode Text / Code Value, then pick a Symbology: Code 128 (Standard), EAN-13 (Retail 13-digit), UPC-A (US Retail), Code 39, ITF-14 or Pharmacode. Adjust Bar Height between 40 and 150 pixels and Bar Width from 1x to 4x with the sliders, and untick Show Text Under Barcode if you prefer the bars alone. The preview updates as you go. Press PNG Image for a file rendered at twice the preview size, or SVG Vector for a scalable one. If the value does not suit the chosen type, a red message appears and both downloads are disabled.

Each symbology has its own rules. EAN-13 needs digits only, 12 or 13 of them, and UPC-A is digits as well; Code 128 accepts letters, numbers and common punctuation, so it is the safe default for mixed text. Code 39 is limited to uppercase letters, digits and a few symbols, ITF-14 expects an even number of digits, and Pharmacode takes a whole number. The tool does not register your number with any authority, so a generated EAN or UPC is only a picture of digits and must not be assumed to be a legitimate product code for sale in shops. Bars are always dark on white.

Before printing a run of labels, scan one with the same scanner and printer you will use. If a scan fails, increase Bar Width to 3x or more, because thin bars blur on low-resolution thermal printers, and leave white space on both sides. Worked example: value ITEM-2026-X9 in Code 128 at width 2 and height 80 gives a compact label with the text underneath, which you can paste into a spreadsheet or label template. For retail products, obtain real numbers from your national GS1 body; use this tool for internal codes and layout testing.

Key Highlights:

  • Code 128, EAN-13, UPC, Code 39
  • Custom bar width and height
  • Vector SVG & PNG downloads