...

Real-time Visual Engine

How Does the Barcode Generator Work?

1

1. Choose Barcode Format

Select the appropriate standard (such as CODE128, EAN-13 for physical products, or QR Code) from the sidebar menu according to your needs.

2

2. Enter Your Value

Type or paste your data into the editor. The rendering engine validates characters in real-time and renders an instant live preview.

3

3. Export and Print

Download your barcode as a lossless vector SVG/PDF ready for industrial printing, or save as a traditional high-resolution PNG image.

Supported Barcode Standards

Our professional generator engines create codes fully compliant with global GS1 and ISO standards.

1D Logistics

CODE128

High-density alphanumeric format used for logistics and shipping.

1D Retail

EAN-13

Global retail standard for marking consumer products.

2D Mobile

QR Code

Versatile 2D format for URLs, contact info, and rich data.

1D Small Retail

EAN-8

Compact retail code for packaging with limited printable space.

1D Industrial

Code 39

Industrial and military standard supporting uppercase letters and numbers.

1D US Retail

UPC-A

Primary retail product barcode for North America.

1D Bulk/Shipping

ITF-14

Standard barcode for outer shipping containers and master cartons.

2D Components

DataMatrix

Square 2D code for small industrial components and electronics.

2D ID/Logistics

PDF417

Stacked 2D format for identity documents and transport labels.

Online Code 128 Barcode Generator

Code 128 is the barcode you have scanned a thousand times without noticing — on parcels, SKU labels, and the shelf edge in a warehouse. It is dense, it handles the full ASCII set (letters, numbers, punctuation, even control characters), and it squeezes long strings into a surprisingly small footprint.

Where it earns its keep

That compactness is the whole point. A serial number that would run off the edge of a label in Code 39 stays tidy in Code 128, partly thanks to a numeric mode that packs two digits into the space of one. It is also the backbone of the GS1-128 shipping standard, where a single label might carry a GTIN, a batch number, and an expiry date back to back — that is what the "AI" brackets like (01) and (17) on a logistics label are doing.

Under the hood the format has three character subsets. Subset A covers uppercase and control characters, Subset B adds lowercase, and Subset C encodes digit pairs at double density. A good generator switches between them automatically to produce the shortest possible symbol, so you never have to think about it — but it explains why an all-numeric Code 128 is visibly narrower than a mixed-text one of the same length.

Technical specification

Character setAll 128 ASCII characters (letters, digits, symbols, control codes)
LengthVariable — practical limit around 40–50 characters per label
Check digitMandatory, modulo 103, calculated automatically and not printed as text
Minimum X-dimension0.25 mm (10 mil) for general use; 0.495 mm for GS1-128 logistics labels
Quiet zone10× the X-dimension on each side

Printing notes

Code 128 tolerates small print well, but its density cuts both ways: narrow bars mean less room for error. On a 203 DPI thermal printer keep the X-dimension at a whole multiple of the 0.125 mm dot size, and always export as vector — a resized PNG is the single most common cause of a Code 128 that scans intermittently.

Frequently asked questions

Code 128 or Code 39 — which should I use?

For anything new, Code 128. It encodes more characters in less space and has a mandatory checksum. Code 39 only wins when a legacy system or an industry spec (some military and healthcare standards) explicitly requires it. The full comparison is in Code 128 vs Code 39.

What is the difference between Code 128 and GS1-128?

GS1-128 is Code 128 with rules on top: a special FNC1 start character and standardised Application Identifiers that tell the scanner "this part is a GTIN, this part is an expiry date." The bars look the same; the data structure is what changes.

How small can I print it?

Keep the narrowest bar at or above 0.25 mm and the height at 15% of the symbol length or 13 mm, whichever is greater. Below that, cheap laser scanners start to struggle — test with your actual hardware before committing a full run.

Generating a batch of SKU labels? The bulk generation guide covers the full spreadsheet-to-PDF workflow, and the thermal printing guide explains the printer settings that keep dense codes scannable.

Frequently Asked Questions (FAQ)

Is barcode generation on BarcodeReady free for commercial use?

Yes! BarcodeReady is entirely free to use. All barcodes, QR codes, and label sheet PDFs generated using our portal can be used for commercial distribution, inventory management, product packaging, and internal operations without any license fees.

Which vector formats are supported and why are they recommended for printing?

We support SVG and PDF vector formats. Vector graphics contain geometric descriptions rather than grids of pixels. This allows codes to be scaled to any size without blurriness, ensuring perfect edge sharpness when printed on thermal or thermal-transfer label printers.

What is Google Consent Mode v2 and how does this site protect my privacy?

Google Consent Mode v2 is a privacy standard that syncs your cookie preferences with Google Analytics and Google AdSense. Analytical cookies and personalized advertisement trackers are completely blocked until you explicitly grant permission using our banner.

Is the data I input into the generator safe?

Yes, your data is completely safe. The barcode generation is processed 100% client-side in your web browser using highly optimized JavaScript. Your inputs are never transmitted to our servers, saved in database logs, or shared with third parties.

What is the difference between CODE128 and EAN-13?

CODE128 is a highly dense, versatile alphanumeric format supporting all standard ASCII characters (often used in shipping and logistics). EAN-13 is a fixed-length numeric-only barcode consisting of exactly 13 digits, globally used for labeling retail goods.

How can I generate multiple barcodes on a single layout page?

Select the 'Bulk Export' tab in the left sidebar, enter a list of code values (one code per line), choose the format, and click the 'Generate Label Grid (PDF)' button. You will receive a compiled A4 PDF sheet optimized for standard 3x7 stickers.

latest_articles