What IATA 2 of 5 is
IATA 2 of 5 is the aviation/air-cargo variant of the "2 of 5" family, alongside the already-covered Interleaved 2 of 5 and Industrial 2 of 5. bwip-js delegates its own drawing to its shared "2 of 5" encoder, forcing its own version to "iata" -- confirmed directly. This is a genuinely different bar-pattern encoding table from Industrial 2 of 5, not the same algorithm under a different name -- confirmed empirically: rendering the identical 8-digit value under both versions produces byte-different, measurably different-width output.
Generate it now
Enter your numeric data to see a live preview.
Valid input
The value must not be empty ("The data must not be empty"), up to 500 digits ("The input data is too long"), and digits only ("Code 25 must contain only digits"). With includecheck left at its real default (false), no check digit is added; turning it on computes and appends a Modulo-10 check digit.
Key options
Supported options include includetext, includecheck, includecheckintext, and height. bwip-js's own real, literal default for includecheck is false -- the check digit is optional and, when enabled, is always freshly computed from the data.
Output and printing
Export SVG for air-cargo label artwork or PNG for a quick proof.
Common uses
IATA 2 of 5 is used in legacy air-transport workflows where the aviation industry's own historical variant of the 2 of 5 family is the established convention, distinct from the general-purpose Interleaved 2 of 5 or warehouse-oriented Industrial 2 of 5 formats already in this catalog.
Example
See the live preview above, seeded with a bwip-js-verified valid value.
Size guidance
IATA 2 of 5 uses its own real bar-width encoding table (distinct from Industrial 2 of 5's own table) -- the same digit sequence renders at a different width under each version.
Troubleshooting
A rejected value is usually an empty payload, a non-digit character, or data exceeding the 500-character input limit.
Related formats
Related formats: Interleaved 2 of 5 and Industrial 2 of 5 (the other real, distinctly-encoded members of the same "2 of 5" family, already in this catalog).
FAQ
Is IATA 2 of 5 the same encoding as Industrial 2 of 5?
No -- despite belonging to the same "2 of 5" family and sharing the same underlying bwip-js encoder function, IATA and Industrial use genuinely different bar-pattern encoding tables. Rendering the same digits under each version produces different, byte-distinguishable output at a different width.