Code 128

<\/script>\n
'; }, get iframeSnippet() { const domain = '{ SITE_DOMAIN }'; const type = '{ embed_type }'; const slug = '{ embed_slug }'; return ''; }, get activeSnippet() { return this.method === 'script' ? this.scriptSnippet : this.iframeSnippet; }, copySnippet() { navigator.clipboard.writeText(this.activeSnippet).then(() => { this.copied = true; setTimeout(() => { this.copied = false; }, 2000); }); } }" @keydown.escape.window="open = false" @click.outside="open = false">

Embed This Widget

Theme


      
    

Widget powered by . Free, no account required.

The most versatile and widely used linear barcode symbology, encoding all 128 ASCII characters with the highest density available in 1D barcodes. Its three character sets (A, B, C) can be mixed within a single symbol, with Set C packing numeric pairs for exceptional density in numeric-heavy data.

Code 128

1D Linear
Type 1D Linear
Data Length variable (1-80 characters)
Character Set Full ASCII 128
Year 1981

Related Tools

Related Guides

Barcode Anatomy: Bars, Spaces, Quiet Zones & Check Digits

A visual tour of every component in a barcode symbol — start/stop patterns, data characters, quiet zones, and the check …

Character Encoding in Barcodes: Numeric, Alpha & Binary

How barcodes translate characters into patterns of bars and spaces, covering numeric-only, alphanumeric, and full ASCII/binary encoding modes.

Check Digit Algorithms: How Barcodes Prevent Errors

A practical guide to Modulo 10, Modulo 43, and Modulo 103 check digit calculations with step-by-step worked examples.

Choosing the Right Barcode Format for Your Project

A decision framework for selecting the best barcode symbology based on data type, scanning environment, label size, and industry requirements.

Barcode Data Capacity: How Much Can Each Format Store?

A comparative reference of data capacity across 30 barcode symbologies — from 8-digit UPC-E to 7,089-character QR codes.

Understanding Barcode Symbology Standards (ISO/IEC)

A guide to the ISO/IEC standards that define barcode symbology specifications, from ISO 15420 (EAN/UPC) to ISO 16022 (Data Matrix).

Fixed-Length vs Variable-Length Barcodes

The engineering trade-offs between fixed-length symbologies like EAN-13 and variable-length formats like Code 128.

Code 128: The Swiss Army Knife of 1D Barcodes

Everything about Code 128: three code sets (A/B/C), automatic subset switching, FNC1 for GS1-128, and why it dominates shipping and …

GS1-128 (formerly UCC/EAN-128): The Supply Chain Workhorse

Technical guide to GS1-128: FNC1 prefix, application identifier structure, date formats, serial numbers, and SSCC pallet labeling.

In-Store Barcodes: Shelf Labels, Price Tags & Loyalty Cards

All the barcodes inside a retail store — electronic shelf labels, markdown tags, loyalty card codes, and internal inventory barcodes.

Retail Inventory Management with Barcodes

How retailers use barcode scanning for cycle counts, receiving, transfers, returns, and real-time inventory visibility across channels.

Omnichannel Barcodes: BOPIS, Ship-from-Store & Returns

How barcodes enable buy-online-pick-up-in-store (BOPIS), ship-from-store fulfillment, and cross-channel return processing.

Gift Cards & Prepaid Barcodes: Activation & Redemption

How gift cards and prepaid products use barcodes for activation at POS, balance tracking, and multi-retailer redemption networks.

Barcode Label Printing for Retail: In-Store & Vendor

Barcode label creation for retail — thermal printers, label design software, GS1 compliance, and vendor labeling requirements.

Patient Wristband Barcodes: Design & Safety Standards

How barcode wristbands ensure correct patient identification — barcode selection, wristband materials, and integration with EHR systems.

Blood Bank Barcodes: ISBT 128 & Transfusion Safety

ISBT 128 barcode standard for blood products — donation identification, component labeling, and the transition from Codabar to ISBT 128.

Laboratory Specimen Barcodes: Tube Labeling & LIMS

Barcode labeling for lab specimens — tube sizes, adhesive requirements, LIMS integration, and preventing specimen mix-up errors.

Pharmacy Dispensing Barcodes: NDC & Unit-of-Use Packaging

How pharmacies use barcodes for dispensing verification — NDC lookup, unit-dose packaging, automated dispensing cabinets, and error prevention.

Clinical Trial Barcodes: Blinding & Randomization Labels

How barcodes support clinical trial logistics — blinded labels, randomization codes, investigational product tracking, and GCP compliance.

HIBC Barcodes: Health Industry Bar Code Standard

The Health Industry Bar Code (HIBC) standard — structure, primary and secondary data formats, and when to use HIBC vs …

Warehouse Barcode Systems: WMS Integration Guide

How barcodes integrate with warehouse management systems — receiving, putaway, picking, packing, and shipping workflows.

Shipping Label Barcodes: GS1-128 & Carrier Standards

Creating compliant shipping labels — GS1-128 content, carrier-specific barcode requirements (FedEx, UPS, DHL), and label layout standards.

Pick-Pack-Ship: Barcode Workflows for Order Fulfillment

End-to-end barcode workflows for order fulfillment — wave picking, batch picking, scan-to-verify packing, and shipping label generation.

Last-Mile Delivery Barcodes: From Hub to Doorstep

Barcode scanning in last-mile delivery — route loading, proof of delivery, exception handling, and customer notification triggers.

Warehouse Location Barcodes: Bin, Shelf & Zone Labeling

Designing a barcode-based location system for warehouses — hierarchical zone/aisle/bin numbering, label materials, and scanner-guided navigation.

Returns & Reverse Logistics Barcodes

Barcode-driven reverse logistics: return authorization labels, inspection scanning, grading, restocking, and refurbishment tracking.

Mobile Warehouse Scanners: Choosing the Right Device

Selecting mobile computers and scanners for warehouse use — rugged ratings, scan engines, OS platforms, and total cost of ownership.

Automated Sortation with Barcode Scanning

How high-speed barcode scanners power sortation systems — tunnel scanners, conveyor integration, 6-sided reading, and throughput optimization.

3PL Barcode Standards: Meeting Client Requirements

Barcode compliance for third-party logistics providers — supporting multiple client labeling standards, multi-tenant WMS, and relabeling workflows.

Inventory Accuracy: Cycle Counting with Barcode Scanners

Implementing barcode-based cycle counting — ABC analysis, count scheduling, scanner workflows, variance investigation, and accuracy targets.

Hazmat & Dangerous Goods Barcode Labels

Barcode labeling for hazardous materials — UN number encoding, GHS integration, DOT compliance, and dual-purpose identification labels.

Dock Door & Yard Management Barcodes

Using barcodes for dock scheduling, trailer identification, yard management, and gate check-in/check-out at distribution centers.

ISO/IEC 15416: Barcode Print Quality Grading Explained

The ISO/IEC 15416 standard for 1D barcode verification — ABCDF grading, scan reflectance profiles, and the eight quality parameters.

Quiet Zone Violations: The #1 Barcode Print Failure

Why insufficient quiet zones cause more scan failures than any other print issue — measurement rules, common causes, and design …

Thermal Printing for Barcodes: Direct vs Transfer

Choosing between direct thermal and thermal transfer printing — print durability, media costs, resolution, and application suitability.

Inkjet & Laser Barcode Printing: What You Need to Know

Printing barcodes on desktop inkjet and laser printers — DPI requirements, toner vs ink considerations, and when to use professional …

Troubleshooting Barcode Scan Failures: A Diagnostic Guide

A systematic approach to diagnosing barcode scan failures — common causes, visual inspection, verifier readings, and corrective actions.

Mobile Wallet Barcodes: Apple Wallet, Google Pay & Passbook

How barcodes power mobile wallet passes — boarding passes, event tickets, loyalty cards, and the PKPass/SaveToPay formats.

Digital Coupons & Barcode-Based Loyalty Programs

Designing barcode-based digital coupon and loyalty systems — code generation, validation at POS, fraud prevention, and analytics.

Event Ticketing Barcodes: From PDF to Mobile

Barcode systems for event ticketing — PDF417 on paper tickets, Aztec in mobile wallets, anti-forgery measures, and gate scanning workflows.

Digital Receipts with Barcode Lookup

Paperless receipt systems using barcode scanning — receipt lookup by transaction barcode, digital warranty activation, and environmental impact.

Barcode System Architecture: From Scanner to Database

Designing a barcode system end-to-end — scanner input, middleware processing, database storage, and integration with ERP/WMS/POS systems.

Barcode Generation APIs: Building Server-Side Barcode Services

Building barcode generation services with Python, Node.js, and Java — library comparison, SVG vs PNG output, and REST API design …

Barcode Scanner Configuration: Prefixes, Suffixes & Parsing

Configuring barcode scanners for your application — programming barcodes, prefix/suffix settings, keystroke emulation, and data parsing rules.

GS1-128 Label Generation: A Developer's Guide

Programmatically generating GS1-128 shipping labels — AI encoding, FNC1 handling, ZPL templates, and label printer integration.

Barcode Validation & Error Handling in Software

Implementing barcode validation in application code — check digit verification, format validation, error handling, and user feedback patterns.

Batch Barcode Processing: CSV Import & Bulk Generation

Processing barcodes in bulk — CSV import parsing, batch generation workflows, parallel processing, and quality validation at scale.

ERP Barcode Integration: SAP, Oracle & Microsoft Dynamics

Integrating barcode scanning with major ERP systems — SAP WM/EWM, Oracle WMS Cloud, and Microsoft Dynamics 365 warehouse management.

Barcodes in Space: NASA, ESA & Satellite Tracking

How space agencies use barcodes — ISS inventory tracking, satellite component identification, and the challenges of scanning in microgravity.

Related Terms

Frequently Asked Questions

What is a Code 128 barcode?

Code 128 is a high-density, variable-length linear barcode that can encode all 128 ASCII characters, widely used in logistics and shipping.

How does Code 128 differ from Code 39?

Code 128 encodes the full ASCII set and achieves higher data density than Code 39, which is limited to 43 alphanumeric characters.

Where is Code 128 used?

Code 128 is the standard for shipping labels, inventory management, healthcare, and GS1-128 supply chain applications.