Elysia Tools

Browse tools, examples, visual explainers, and topic guides from one clear workspace.

Top Categories

Hubs

Language
ZHDERUPTENFRES

Elysia Tools

Navigation

Generator

Barcode Generator

· Last updated:2025-09-26

Generate CODE128, CODE39, EAN-13, EAN-8, UPC, ITF-14, MSI, and Pharmacode barcodes from text.

Details

What this tool helps you do

Barcodes are rendered as PNG with JsBarcode. EAN-13 expects 12 digits, EAN-8 expects 7, UPC expects 11, and ITF-14 expects 13; the check digit is calculated automatically. CODE128, CODE39, MSI, and Pharmacode accept text subject to each symbology's character rules.

Execution

Run this tool

Fill in the form, run the tool, and review the result in one place.

Samples

Examples that match this tool

Related

Continue with connected tools and hubs

Written by the Elysia Tools team
Text311
QR Code10
Code Generator9

Tool usage guide

Learn when to use this tool, what it supports, and how real users apply it.

Key facts

Category
Generator
Input types
text, select
Output type
image
Sample coverage
4
API ready
Yes

Overview

Barcode Generator converts text or numeric strings into 1D barcode images (bar width and height are fixed; overall width grows with the data) across eight standard symbologies for inventory, retail, and logistical scanning.

When to use

  • You need a quick linear barcode image from a serial number, SKU, or part number.
  • You are preparing product packaging that requires standardized retail codes such as UPC or EAN-13.
  • You need an asset tracking graphic formatted in CODE128, CODE39, or ITF-14 for immediate printing.

How it works

  1. 1Enter your identifier string into the Text to Encode field.
  2. 2Select the required symbology from the Barcode Format dropdown, such as CODE128 (Standard), EAN-13 (Retail), or UPC (North America).
  3. 3Generate the barcode image and test-scan the rendered output with a barcode reader to confirm readability.

Use cases

  • Warehouse Asset Tagging: Type internal serial numbers into Text to Encode and select CODE128 (Standard) to export individual barcode graphics for physical shelf and equipment labels.
  • Retail Product Labeling: Input a registered 12-digit UPC or 13-digit EAN and choose UPC (North America) or EAN-13 (Retail) to generate scannable artwork for product packaging.
  • Shipping Carton Identification: Enter numeric container codes and select ITF-14 (Shipping) to generate outer-carton barcodes for logistics sorting.

Compare alternatives

  • Creates 2D matrix QR codes supporting longer text and URLs with adjustable dimensions, margins, and colors, whereas Barcode Generator generates variable-width 1D linear barcodes.

Who it's for

Best for

  • Generating standard 1D linear barcode images from alphanumeric text using CODE128 or CODE39.
  • Creating retail or distribution barcode graphics like EAN-13, EAN-8, UPC, and ITF-14 from numeric strings.
  • Producing black-and-white 1D barcode images with fixed bar width/height for single inventory items, serial numbers, or asset tags.

Not ideal for

  • Encoding long multi-line text or URLs into 2D matrix symbols such as QR codes.
  • Customizing barcode pixel dimensions, aspect ratio, margins, or foreground/background colors.

Edge cases & common failures

  • Entering non-numeric characters for retail symbologies like EAN-13, EAN-8, or UPC

    Verify that the text contains only digits and matches the required length for the format, or use CODE128 for mixed alphanumeric input.

  • Encoding lowercase characters with CODE39 selected

    Standard CODE39 is uppercase-only. Lowercase input may fail or need conversion; use CODE128 for mixed-case text.

  • Submitting data with an incorrect length or missing check digit for ITF-14

    Confirm that the numeric payload meets the required ITF-14 digit structure before finalizing the label image.

Examples

1. Creating an inventory shelf barcode

Warehouse Operator

Background

A logistics center is labeling storage bins with alphanumeric location identifiers.

Problem

Shelf bins require scannable linear barcodes that handle letters, numbers, and dashes.

How to use

Input 'BIN-A12-S04' into Text to Encode and set Barcode Format to 'CODE128 (Standard)'.

Text to Encode: BIN-A12-S04, Barcode Format: CODE128

Outcome

A CODE128 barcode image with fixed bar width/height; the overall width grows with the data, ready for printing on bin stickers.

2. Generating a North American retail barcode

Product Packaging Designer

Background

A small business is finalizing packaging for a consumer item distributed in North America.

Problem

The packaging requires a standard 12-digit UPC image that registers at retail point-of-sale systems.

How to use

Input the 12-digit code into Text to Encode and select 'UPC (North America)' from Barcode Format.

FAQ

Can I customize the width, height, or colors of the barcode?

No. The tool has no width, height, or color controls; it uses standard black-and-white rendering, and the overall image width grows with the encoded data.

Which formats allow letters and punctuation?

CODE128 supports the full ASCII range; CODE39 supports uppercase letters, digits, and a limited symbol set. EAN-13, EAN-8, UPC, and ITF-14 require digits.

What is the default barcode format?

The tool defaults to CODE128 (Standard).

Can this tool create QR codes for website URLs?

No. This tool only creates 1D linear barcodes. Use QR Code Generator for 2D matrix codes.

Hub

Barcode and QR Code Workflow

Create, decode, validate, verify, and print barcodes or QR codes for products, links, WiFi, and labels.

Home
Tools3212
Samples593
Visualizations471
Viewers103
Hubs239
Tags333
Images, Audio & Video657

Image, audio, and video processing, conversion, and optimization tools

Math, Date & Finance647

Calculators, numerics, date logic, statistics, and finance tools

Design & Color298

Color, layout, graphics, visual styling, and design helper tools

Text & Writing209

Writing, cleanup, formatting, extraction, and text analysis tools

Developer & Web193

Developer utilities, networking, web debugging, and automation helpers

Conversion & Encoding175

Format, file, archive, unit, and encoding conversion tools

Lead Generation Quiz Launch and Contact Handoff
Memorial Drafts: Family Review and Print Handoff
Private Habit Records: Backup, Restore and Sharing Review
Article to X and LinkedIn Drafts: Fact Review and Handoff
Markdown Interactive Deck Review and Offline Handoff

© 2026 Elysia Tools. All rights reserved.

DocsPricingAboutTerms of ServicePrivacy PolicyCookiesContact
Validation

UPC/EAN Barcode Samples

Collection of GTIN-12 (UPC), GTIN-13 (EAN), GTIN-8, and GTIN-14 product barcodes for validation testing

Media

Copyright-Free MP3 Audio Samples

Collection of royalty-free audio samples for testing and development purposes including nature sounds, meditation music, and ambient audio

Python

Web Image Processing Python Samples

Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion

Java

Android Image Processing Java Samples

Android Java image processing examples including reading/saving images, scaling, and format conversion

Design

QR Code Generator

Generate QR codes from URLs or text with customizable size and colors

Design

Barcode Batch Generator

Batch generate Code 128, EAN-13, UPC-A, ITF-14, QR Code, and Data Matrix outputs from CSV or multiline text

Text Processing

Slug Generator

Generate clean URL slugs from any text, with built-in Chinese-to-Pinyin conversion. Collapse separators, lowercase, and optional max-length word-aware truncation.

AI Tools

AI Text Summarizer - Smart Content Analysis

Intelligently extract key points from articles and generate high-quality summaries. Support multiple styles and lengths for academic papers, news, reports, and various text types

Text to Encode: 01234567890, Barcode Format: UPC

Outcome

A UPC barcode image matching retail linear scanner specifications.

QR Code Generator