Supported Data Formats#

This pages gives a short overview of supported data formats that the parser understands and links to further information.

HIBC (Health Industry Bar Code)

HIBC is an industrial standard used in the medical space. HIBC data is encoded in Code 128, Code 39, Aztec, Data Matrix ECC200 or QR codes. HIBC data always starts with a + character.

Example Codes:


For further details, take a look at the HIBC format docs.


The GS1 Application Identifier (AI) system defines a comprehensive set of numeric keys for compact data representation. GS1 AI data may be encoded in a large number of different barcode symbologies, including ITF, Code 128, DataBar, Data Matrix and QR.

Example Code:


For further details, take a look at the GS1 AI format docs.

DL/ID (Driver License and Identification)

The Driver License and Identification (DL/ID) Card Design Standard is used to produce driver licences in the USA and in Canada. Each card has a PDF417 code printed on it which encodes the personal data of the owner. It is designed and maintained by the American Association of Motor Vehicle Administrators (AAMVA).

Example Code:

"@\n\x1e\rANSI 636000090002DL00410278ZV03190008DLDAQT64235789\nDCSSAMPLE\nDDEN\nDACMICHAEL\nDDFN\nDADJOHN\nDDGN\nDCUJR\nDCAD\nDCBK\nDCDPH\nDBD06062016\nDBB06061986\nDBA12102024\nDBC1\nDAU068 in\nDAYBRO\nDAG2300 WEST BROAD STREET\nDAIRICHMOND\nDAJVA\nDAK232690000  \nDCF2424244747474786102204\nDCGUSA\nDCK123456789\nDDAF\nDDB06062008\nDDC06062009\nDDD1\rZVZVA01\r"

Example source: 2016 AAMVA DL/ID Card Design Standard,

For further details, take a look at the DL/ID format docs.

MRTD (Machine Readable Travel Documents)

The Machine Readable Travel Documents (MRTD) standard specified by the International Civil Aviation Organization (ICAO) defines how to encode information for optical character recognition on official travel documents.

Example Code:


Example source: 2015 ICAO Doc 9303, Specifications for TD1 Sized MRTDs,

For further details, take a look at the MRTD format docs.

Swiss QR

The ISO 20022 standard defines how payment information is encoded in a specific type of QR codes, called Swiss QR codes. Swiss QR codes can be recognized by their swiss cross in the centre of the code.

Example Code:

"SPC\r\n0100\r\n1\r\nCH6812345678901234567\r\nScandit AG\r\nLimmatstrasse\r\n73\r\n8005\r\nZuerich\r\nCH\r\n\r\n\r\n\r\n\r\n\r\n\r\n1234.00\r\nCHF\r\n2020-01-01\r\n\r\n\r\n\r\n\r\n\r\n\r\nNON\r\n\r\ntest code\r\n"

For further details, take a look at the SwissQR format docs.

VIN (Vehicle Identification Number)

VIN (Vehicle Identification Number) is a unique code used by the automotive industry to identify vehicles (please refer to Wikipedia for more details). The structure of the code is defined by ISO 3779, though there are variations of the standards in use that differ based on the region (e.g., North America or EU).

Example Codes:


For further details, take a look at the VIN format docs.

UsUsid (US Uniformed Services Identification)

UsUsid (US Uniformed Services Identification Card) is used for Uniformed Services identification. The structure of the code is defined in US Uniformed Services

Example Code:

"IDUS3&*G$0MUSLIN, WOMAN              81276439019998899980155100GYGY1991MAY13SMYYU2010NOV172013NOV151173  2010NOV172013NOV15S   BAD    USN  NON-POE2         TESLIN, TESLIN      999999999SP    [binary JPEG data...]"

For further details, take a look at the US Uniformed Services format docs.