Free Codabar Barcode Generator — Create, Preview & Download Instantly

Generate Codabar barcodes online for free — no signup, no software, no limits. Enter any numeric string with optional special characters and get a crisp, scannable barcode in PNG or SVG format within seconds. Codabar is the industry-standard barcode for blood banks, medical laboratories, libraries, and courier services. Real-time preview updates as you type. Download, bulk-generate, or copy your barcode instantly.

Codabar (also known as NW-7, USD-4, Monarch, or Code 2 of 7) is a linear, self-checking barcode symbology developed in 1972 by Pitney Bowes Inc. It encodes digits 0–9 and six special characters (-, $, :, /, ., +), using one of four start/stop characters (A, B, C, D) that delimit the barcode and identify its type. Codabar is a discrete, variable-length symbology — each character is encoded independently using a pattern of two wide and two narrow bars and spaces across seven elements. Although newer symbologies have since surpassed it in density, Codabar remains in active use in healthcare, library management, and logistics because of its extreme fault tolerance, wide scanner compatibility, and decades-long installed base of legacy equipment.

What Is Codabar?

Codabar (also known as NW-7, USD-4, Monarch, or Code 2 of 7) is a linear, self-checking barcode symbology developed in 1972 by Pitney Bowes Inc. It encodes digits 0–9 and six special characters (-, $, :, /, ., +), using one of four start/stop characters (A, B, C, D) that delimit the barcode and identify its type. Codabar is a discrete, variable-length symbology — each character is encoded independently using a pattern of two wide and two narrow bars and spaces across seven elements. Although newer symbologies have since surpassed it in density, Codabar remains in active use in healthcare, library management, and logistics because of its extreme fault tolerance, wide scanner compatibility, and decades-long installed base of legacy equipment.

  • Numeric and Special Character Encoding
    Codabar encodes the ten decimal digits (0–9) and six special characters: hyphen (-), dollar sign ($), colon (:), forward slash (/), period (.), and plus sign (+). Four start/stop characters — A, B, C, and D — frame every Codabar symbol and are never present in the data payload itself. This character set is sufficient for encoding blood bank specimen IDs, library card numbers, courier waybills, and numeric product identifiers used in legacy inventory systems.
  • Self-Checking Symbology — No Mandatory Check Digit
    Codabar is a self-checking symbology, meaning each character's bar-and-space pattern is inherently error-resistant. A single bar or space substitution error always produces an invalid pattern that most decoders reject outright. Because of this built-in integrity, no mandatory check digit is defined by the core standard. However, many healthcare and library applications append an optional Mod 16 or Mod 10 check character as an additional verification layer — this generator supports both checked and unchecked Codabar output.
  • Four Start/Stop Character Pairs (A, B, C, D)
    Every Codabar barcode begins and ends with one of four designated start/stop characters: A, B, C, or D. The start and stop characters can differ within the same symbol (e.g., start A, stop B), and many industry applications assign specific pair combinations to indicate barcode type or routing instructions. Blood bank systems commonly use A–B, A–C, A–D, B–B, B–C, and B–D pairs to distinguish specimen categories without encoding additional data bytes.
  • Legacy and Healthcare Industry Standard
    Codabar has been the dominant barcode in U.S. blood banking since the 1970s, mandated by AABB standards for blood bag labeling, donor registration, and specimen identification. It is also the standard barcode format used by .avifx on air waybills and by many public library systems for patron card and book spine labels. Its longevity means virtually all linear barcode scanners — including older CCD and laser models — can read Codabar reliably without firmware updates.
  • Variable Length with No Fixed Digit Count
    Unlike EAN-13 or UPC-A, Codabar imposes no fixed data length. You can encode a 4-character waybill number or a 20-character specimen ID in the same format. This flexibility makes Codabar well-suited for legacy systems that were built around variable-length identifiers long before standardized formats like GS1 became widespread. There is no artificial length restriction in this generator.

How to Create a Codabar Barcode — Step-by-Step

Creating a scannable, print-ready Codabar barcode with this free online generator takes under a minute. Follow these four steps:

Who Should Use This Codabar Barcode Generator?

This free online Codabar generator is built for anyone who needs reliable, production-quality barcodes without investing in specialized software. Here is who benefits most.

Blood Bank and Laboratory Professionals

Generate AABB-compliant Codabar barcodes for blood bag labels, specimen tubes, donor registration forms, and compatibility records. Bulk-produce serialized specimen IDs from your LIS export and print onto tube labels in seconds without dedicated barcode software.

Library Staff and Catalogers

Create Codabar barcodes for patron cards and book spine labels compatible with your existing integrated library system and circulation scanners. Import a batch of card numbers from a spreadsheet and generate all barcodes at once — no manual entry required.

Shipping and Courier Operations

Generate Codabar tracking labels for legacy courier workflows and express waybills. Bulk-import shipment reference numbers and produce print-ready Codabar labels compatible with older sorting and scanning equipment at processing facilities.

Developers and System Integrators

Quickly prototype or test Codabar barcode integrations without setting up a local barcode library. Generate reference barcodes to validate scanner configuration, start/stop character handling, or label layout before deploying a production encoding pipeline.

Codabar Barcode Generator Features

Everything you need to create production-quality Codabar barcodes — from real-time preview and start/stop character selection to bulk generation, size controls, and lossless SVG output.

Correct Start/Stop Character Handling

This generator automatically frames your Codabar barcode with valid start and stop characters per the symbology specification. Enter your numeric payload and the encoder adds the required delimiters — ensuring every barcode produced is structurally valid and decodable by any standards-compliant Codabar scanner, including those used in blood bank, library, and courier applications.

Real-Time Preview as You Type

The barcode preview updates live with every keystroke. See the exact barcode that will be generated — including bar pattern, human-readable text, and overall proportions — before downloading. Invalid characters for the Codabar character set are caught immediately, so you can correct input before it reaches a printer or label system.

PNG and SVG Download

Download your Codabar barcode as a high-resolution PNG for documents, labels, and email, or as a lossless SVG for print-ready workflows, label templates, and vector graphics editors. SVG barcodes scale to any size without pixelation, making them ideal for large-format printing, screen display, and embedding in web pages or design files.

Adjustable Width, Height, and Quiet Zone

Control every visual parameter of your Codabar barcode: bar height, module width (X-dimension), font size for the human-readable text, and quiet zone width on each side. Quiet zones — the mandatory blank spaces left and right of the barcode — are required for scanner reliability and are included automatically at the correct minimum width per the Codabar specification.

Human-Readable Text — Show or Hide

Toggle the human-readable interpretation (HRI) text below the barcode on or off. When shown, the encoded value is printed beneath the bars in a clear, standard font — required on many blood bank, library, and courier labels so operators can verify the value visually without a scanner. Hide the HRI for space-constrained labels or when the value is displayed separately by your application.

Bulk Barcode Generation

Generate hundreds of unique Codabar barcodes in one operation using the bulk input panel. Enter one value per line and download all barcodes as a ZIP archive of PNG or SVG files. Ideal for producing serialized specimen labels, library card barcodes, or courier waybill stickers from an exported list without manual one-by-one generation.

No Signup, No Watermarks, No Limits

This Codabar generator is completely free with no usage caps, no account required, and no watermarks on downloaded files. All barcode encoding happens in your browser — your input data is never transmitted to any server. Generate one barcode or ten thousand; the tool imposes no limits and retains no data.

Color Customization

Change the foreground bar color and background color of your Codabar barcode to match brand guidelines or label stock. Custom colors are fully supported for SVG and PNG output. Note that high contrast between bars and background is required for reliable scanning — dark bars on a light background are strongly recommended for any operational barcode.

Codabar Use Cases & Real-World Examples

Codabar has been in active production use for over fifty years. Here are the most common real-world applications where it remains the preferred or required barcode format.

Codabar barcode on a blood bank specimen label for transfusion medicine

Blood Bank and Transfusion Medicine

Codabar is the AABB-mandated barcode for U.S. blood banking. Blood bags, donor registration cards, and compatibility testing records all use Codabar to encode unit IDs, donor numbers, and ABO/Rh classification codes. The format's self-checking nature and its tolerance for older wand and CCD scanners make it indispensable in transfusion medicine environments where label integrity is a patient safety requirement.

Codabar barcode on a laboratory specimen tube label for clinical tracking

Medical Laboratory Specimen Labels

Clinical laboratories print Codabar barcodes on specimen collection tubes, slide labels, and sample request forms. Codabar's variable length accommodates accession numbers of any size, while its broad scanner compatibility ensures older laboratory information systems (LIS) can read labels without instrument upgrades. Many hospital information systems still generate Codabar labels for internal specimen routing.

Codabar barcode on a library patron card for circulation desk scanning

Library Patron Cards and Book Spine Labels

Public and academic libraries have used Codabar to encode patron card numbers and book call numbers since the 1970s. Its simple character set encodes numeric library catalog identifiers and Dewey Decimal codes reliably. Many integrated library systems (ILS) still issue Codabar patron cards and generate Codabar spine labels compatible with existing barcode scanners at circulation desks.

Codabar barcode on a FedEx air waybill label for express parcel tracking

FedEx Air Waybills and Express Labels

FedEx has used Codabar (in the NW-7 variant) on its air waybill labels for decades. The barcode encodes the 10-digit FedEx tracking number and routing information that sorting facilities scan at high speed. Although FedEx has introduced newer barcode formats for some services, legacy Codabar labels remain in use across many shipper accounts, making Codabar readers standard equipment at express courier processing centers.

Codabar barcode on a membership or loyalty card for access and identification

Numeric Membership and ID Cards

Codabar is used for membership cards, loyalty cards, and access identification in sectors that adopted barcode technology in the 1980s and 1990s — including video rental chains, photo labs, and fitness clubs. Because these programs were built around numeric member IDs and Codabar-compatible scanners, many continue to issue Codabar cards rather than migrate to newer formats that would require hardware replacement.

Codabar barcode on a photo lab film envelope for order tracking

Photo Development and Film Identification

Kodak, Fuji, and major photo labs historically used Codabar on film processing envelopes, negative sleeves, and print order forms to encode order numbers and processing instructions. The format's ability to encode numeric identifiers with special separator characters (: and /) matched early lab management software. Photo processing operations that retain film archive systems may still scan and reference original Codabar-labeled envelopes.

Codabar Barcode — Frequently Asked Questions

Technical answers to the most common questions about Codabar encoding rules, character support, start/stop characters, check digits, and practical usage.

1

What characters can Codabar encode?

Codabar encodes the ten decimal digits (0–9) and six special characters: hyphen (-), dollar sign ($), colon (:), forward slash (/), period (.), and plus sign (+). Four start/stop characters — A, B, C, and D — frame every symbol and must appear at the beginning and end of the barcode. Start/stop characters are not part of the encoded data payload and are typically not printed in the human-readable text beneath the bars. No lowercase letters or other symbols can be represented in standard Codabar.

2

What are the start and stop characters in Codabar?

Codabar uses four designated characters — A, B, C, and D — as start and stop delimiters. Every valid Codabar symbol must begin with one of these four characters and end with one of these four characters. The start and stop characters can be the same or different (e.g., A–B, B–C, A–D). Many industry applications use specific start/stop pairs to communicate barcode type or routing category without adding extra payload bytes. Blood bank systems commonly use six distinct pairs to classify specimen types.

3

Does Codabar have a check digit?

No mandatory check digit is defined in the core Codabar specification. The symbology is self-checking — each character's unique bar-and-space pattern means a single element error produces an undecodable character that scanners reject. However, many healthcare and library applications voluntarily append an optional check character computed using Mod 16 or Mod 10 algorithms for an additional verification layer. If your target system requires a check digit, verify which algorithm it expects before generating your labels.

4

What is the difference between Codabar, NW-7, and USD-4?

Codabar, NW-7, USD-4, Monarch, and Code 2 of 7 are all names for the same barcode symbology. The different names arose because multiple companies and standards bodies independently named the format during its early adoption in the 1970s. NW-7 is the name commonly used in Japan; USD-4 is the ANSI designation; Monarch refers to the Pitney Bowes scanner product line. All names describe the same encoding rules and produce identical, interoperable barcodes.

5

Is there a minimum or maximum length for Codabar?

Codabar has no standardized minimum or maximum data length beyond the requirement for at least one data character between the start and stop delimiters. Practical limits are determined by the physical dimensions of your label — longer strings produce wider barcodes. Most real-world applications encode between 4 and 20 characters. There is no artificial software length limit in this generator. Very short codes (1–2 characters) produce narrow barcodes that some scanners may struggle with at small X-dimensions.

6

When should I use Codabar instead of Code 128 or Code 39?

Use Codabar when you need compatibility with legacy systems, scanners, or industry mandates that specifically require Codabar — most notably AABB blood banking, library circulation systems, and FedEx waybill workflows. If you are designing a new barcode application from scratch with no legacy constraints, Code 128 is a better choice: it encodes the full ASCII character set in a more compact symbol with a mandatory check digit and broader modern software support. Code 39 is another alternative for alphanumeric data but is less dense than Code 128.

7

What is the quiet zone requirement for Codabar?

The Codabar specification requires a minimum quiet zone of at least 10 times the X-dimension (module width) on both the left and right sides of the barcode — or a minimum of 2.54mm (0.1 inch), whichever is greater. The quiet zone is the blank white space flanking the symbol that tells the scanner where the barcode starts and ends. This generator automatically includes correct quiet zones at the default and custom widths. Do not crop or print over the quiet zones — doing so will cause scan failures.

8

Is my data safe when using this generator?

Yes. All Codabar encoding is performed entirely in your browser using client-side JavaScript. Your input data — including any specimen IDs, patient numbers, member identifiers, or tracking numbers — is never transmitted to any server and never stored anywhere. Close the browser tab and all data is gone. This tool is safe to use with sensitive healthcare, library, or logistics identifiers.

Generate Your Codabar Barcode Now — Free, Instant, No Account Required

This free Codabar barcode generator is ready to use immediately. Type your data, adjust the size and appearance, and download a print-ready PNG or SVG barcode in seconds. No signup, no watermarks, no usage limits. All encoding happens locally in your browser — your data stays private. Generate one barcode or thousands; the tool is completely free regardless of volume.