Skip to content

Code 25

Terry Burton edited this page Oct 11, 2026 · 19 revisions

Code 25

Code 25 is a simple low density numeric barcode symbology.

Also known as: Code 25, Industrial 2 of 5, Standard 2 of 5.

Variants:

Data and Options

  • The data consists of any number of digits.
  • The includecheck option calculates the check digit.
  • The validatecheck option takes the last digit of the data to be the check digit and refuses the data if it is wrong.
  • The includecheckintext option makes the calculated check digit appear in the human readable text.
  • Deprecated: The version option determines which variant to use:
    • version=industrial (default) - Industrial 2 of 5.
    • version=iata - Deprecated: Consider IATA 2 of 5
    • version=datalogic - Deprecated: Consider Datalogic 2 of 5
    • version=matrix - Deprecated: Consider Matrix 2 of 5
    • version=coop - Deprecated: Consider COOP 2 of 5

Examples

A basic symbol:

Data:    01234567
Options:
Encoder: code2of5

Industrial 2 of 5 with a check digit, using the dedicated encoder:

Data:    01234567
Options: includetext includecheck includecheckintext
Encoder: industrial2of5


Symbologies Reference

Point of Sale

GS1 DataBar

Supply Chain

Two-dimensional Symbols

One-dimensional Symbols

Postal Symbols

Pharmaceutical Symbols

Less-used Symbols

GS1 Composite Symbols

Raw Symbols

Partial Symbols

Clone this wiki locally