Barcode Generator

Standard barcodes in a click.

Workspace

Barcode Generator: what this tool is for

Linear 1D barcodes remain the foundational standard for retail checkout point-of-sale systems, warehouse inventory tracking, logistics shipping labels, asset management, and library cataloging. Creating scannable, standardized barcodes quickly without specialized commercial software is essential for small businesses and developers.

Xorvian's Barcode Generator produces crisp, high-precision barcodes directly in your web browser across 6 major international standard symbologies: CODE128 (universal alphanumeric), CODE39 (robust industrial), EAN-13 (European retail 13-digit), EAN-8 (compact retail packaging), UPC (North American retail 12-digit), and ITF-14 (carton shipping containers).

Customize barcode bar width (1 to 5), bar height (50 to 200px), and toggle the human-readable text display beneath the bars. Built-in syntax validation ensures retail barcodes (EAN-13, EAN-8, UPC, ITF-14) conform strictly to digit length and checksum rules in real time.

Download clean PNG raster images or infinite-resolution vector SVG files for commercial printing — 100% private, client-side, watermark-free, and accessible without account registration.

  • No file stored

    Selected files are processed in your browser, without being uploaded to Xorvian.

  • Local processing

    Calculations run locally. The currency converter requests rates from an external service.

  • Processing time

    The time needed depends on the tool, the file and your device's capabilities.

  • Free, no account

    Tools are available without registration. An account lets you synchronize favorites and history.

What this tool gives you

  • 6 Major Barcode Symbologies

    Generate CODE128, CODE39, EAN-13, EAN-8, UPC, and ITF-14 formats matching international GS1 and ISO standards.

  • Built-in Checksum Calculation & Validation

    Automatically validates and computes check digits for EAN and UPC retail barcodes to prevent scanner rejections at checkout.

  • Customizable Dimensions & Text Display

    Adjust bar width, height (50–200px), and toggle human-readable text on or off with real-time visual preview.

  • PNG & Scalable Vector SVG Downloads

    Export high-resolution PNG images for web/documents or crisp vector SVG assets for high-DPI thermal label printing and product packaging.

  • Standard 1D Barcode Formats (EAN-13, CODE128, UPC)

    All barcode rendering executes in local browser memory using JavaScript. Product SKUs, serial numbers, and internal IDs are never sent to external servers.

  • Clean Watermark-Free Export

    Every generated barcode is 100% watermark-free, suitable for commercial product labels and logistics operations.

Real-world examples

Overview of the 6 supported barcode symbologies and standard commercial applications:

Specifications of the 6 Supported Standard Barcode Symbologies
Symbology NameData Capacity / SetRequired LengthPrimary Industry Application
CODE128Full ASCII alphanumericVariable lengthLogistics shipping labels (GS1-128), asset tags, warehouse bins
CODE39Alphanumeric (A–Z, 0–9, -.$/+%)Variable lengthIndustrial parts, defense logistics, automotive manufacturing
EAN-13Numeric digits (0–9)13 digits (or 12 + check digit)Retail products worldwide (outside North America)
EAN-8Numeric digits (0–9)8 digits (or 7 + check digit)Small retail items with limited packaging space
UPC (UPC-A)Numeric digits (0–9)12 digits (or 11 + check digit)Retail products in the United States and Canada
ITF-14Numeric digits (0–9)14 digitsCorrugated outer shipping cartons and master cases

How to use Barcode Generator

  1. Enter Data or SKU Number

    Input your numeric or alphanumeric string into the text field (e.g., 12 or 13 digits for UPC/EAN).

  2. Select Barcode Symbology

    Choose among the 6 formats in the dropdown: CODE128, CODE39, EAN-13, EAN-8, UPC, or ITF-14.

  3. Adjust Dimensions & Display Options

    Toggle 'Show value' and adjust the 'Bar width' (1–5) and 'Height' (50–200px) sliders to match your label specifications.

  4. Download PNG or SVG

    Click 'Download PNG' for standard image printing or 'Download SVG' for vector label designs.

Tips and mistakes to avoid

Use CODE128 for Custom Internal Serial Numbers

CODE128 supports letters, numbers, and symbols with high data density, making it the most versatile choice for internal warehouse and asset tracking.

Print in Vector SVG for Thermal Printers

Vector SVG ensures crisp, razor-sharp bar edges that thermal label printers (Zebra, Brother, Dymo) scan reliably without blurring.

Preserve the 'Quiet Zone' Margins

Always maintain clear white margins on the left and right sides of the barcode (the quiet zone) so optical laser scanners can distinguish the code from background artwork.

Avoid : Entering Letters in EAN or UPC Barcodes

EAN-13, EAN-8, UPC, and ITF-14 strictly require numeric digits (0–9); entering letters or symbols will trigger an invalid character error.

Avoid : Setting Bar Width Too Thin for Low-Resolution Printers

Setting width to 1 on a low-DPI thermal printer may cause scanner read failures; width 2 or 3 is recommended for reliable scanning.

Avoid : Inventing Unofficial Numbers for Commercial Retail

Commercial retail sales in physical stores require official GS1-registered GTIN numbers to guarantee worldwide uniqueness.

Frequently asked questions

Answers to the questions people ask about Barcode Generator.

The tool supports: CODE128 (universal alphanumeric), CODE39 (industrial), EAN-13 (European retail), EAN-8 (small packaging), UPC (North American retail), and ITF-14 (carton logistics).

Use UPC for products sold in the United States and Canada, and EAN-13 for products sold in Europe and internationally. Official retail barcodes require registered GS1 prefixes.

CODE128 is the industry standard for internal inventory, asset tags, and logistics because it encodes all alphanumeric characters with high density and error resilience.

Retail barcodes (EAN-13, UPC, ITF-14) use a Modulo-10 checksum on the final digit. If you enter 12 digits for EAN-13, the generator automatically computes and validates the 13th check digit.

Yes. You can export scalable vector SVG files for infinite-resolution packaging design in Illustrator/CorelDraw, or high-res PNG images.

The 13th check digit is calculated by weighting the first 12 digits alternately by 1 and 3, summing the weighted values, and finding the difference between 10 and the modulo 10 remainder of that sum.

The quiet zone is the blank margin on either side of the barcode. Optical scanners require this clear white space to detect where the barcode starts and ends.

Yes. You can toggle off the 'Show value' switch to export pure bar patterns without text beneath them.

The 13th digit is a checksum computed via a modulo-10 alternating 1/3 weighting of the preceding 12 digits, automatically validated by our generator.

Yes. It is 100% free with no registration, subscriptions, or watermarks.

Related tools

Tools people open right after this one.

Updated on August 2026. See all tools