Skip to main content

PDF417

General & Common CodesAlso known as: PDF417

Published by the QRinsec Editorial Team — practical documentation about QR codes, barcode standards, and QRinsec’s client-side tools. Content is reviewed against product testing and published technical documentation from sources such as GS1, Denso Wave, and ISO standards where applicable.

Have questions or corrections? Contact us.

PDF417 is a stacked linear (2D) barcode able to hold roughly 1.1 kilobytes of data across many stacked rows — enough for names, photos or biometric references.

Important Notice

PDF417 requires line-of-sight laser scanners or high-resolution camera imagers — basic 1D barcode scanners cannot read it.

Important Notice

Always use Error Correction Level ≥ 2. Level 0 provides virtually no damage recovery.

Key Facts

Type
Stacked linear 2D
Max Capacity
1,850 alphanumeric / 2,710 numeric
Error Correction
Levels 0–8 (Reed-Solomon)
Standard
ISO/IEC 15438
Common Use
ID documents / boarding passes

What is a PDF417 barcode?

PDF417 (Portable Data File 417) is a stacked linear barcode symbology invented by Symbol Technologies in 1991. 'PDF' refers to Portable Data File, and '417' reflects that each codeword consists of 4 bars and spaces totalling 17 modules. PDF417 can encode thousands of characters of text, binary data, or structured data — making it the standard for government ID documents (US driver's licences, AAMVA standard), airline boarding passes (BCBP), and shipping labels.

Symbol structure explained

PDF417 stacks multiple linear rows (minimum 3, maximum 90) of codewords side by side. Each row contains:

  • Left row indicator codeword (row number, total rows, error level).
  • 1–30 data codewords.
  • Right row indicator codeword.
  • Start and stop patterns flanking the row.

The symbol is always surrounded by a quiet zone of 2× X-dimension on each side and 2 rows top and bottom.

Capacity and error correction

PDF417 supports up to 1,850 alphanumeric characters, 2,710 numeric digits, or 1,108 bytes per symbol. Error correction levels range from 0 (2 codewords) to 8 (512 codewords), with Level 2 recommended as minimum and Level 5 recommended for harsh environments. At Level 8, up to 510 damaged codewords can be recovered — roughly 65% of a maximum-capacity symbol.

PDF417 vs. QR Code vs. Data Matrix

PDF417 is physically larger than QR or Data Matrix for the same payload, but it is preferred in government and transport applications where existing infrastructure (laser scanners, not cameras) and regulatory mandates dictate its use. QR Code is more compact and camera-scannable; Data Matrix excels at very small sizes for DPM.

FeaturePDF417QR CodeData Matrix
TypeStacked linear2D matrix2D matrix
Max Numeric2,710 digits7,089 digits3,116 bytes
Scanner TypeLaser / imagerCamera / imagerCamera / imager
Primary UseID / boarding passConsumerPharma / electronics

When to use PDF417

PDF417 is required or preferred in:

  • US and Canadian driver's licences (AAMVA DL/ID standard).
  • Airline boarding passes (IATA BCBP Type L).
  • US Postal Service package labels.
  • Event tickets requiring large data payloads.
  • Government-issued identification documents worldwide.

For new consumer-facing designs, QR Code is generally preferred unless a specific standard mandates PDF417.

Printing requirements

Minimum X-dimension: 0.254 mm. Recommended aspect ratio (height:width): 1:2 to 1:5. Quiet zones: 2× X-dimension each side (left/right) and 2 module heights (top/bottom). Maximum symbol size: 90 rows × 30 columns. Always include human-readable data above or below for manual entry fallback.

Common scanning failures

Distorted aspect ratio (too tall or too wide relative to data) and insufficient quiet zones are the primary PDF417 failure modes. Damaged row indicator codewords prevent correct row sequencing — use Error Correction Level ≥ 2 to mitigate this. Laser scanners that sweep a single line may miss rows if the symbol is angled more than 10° from horizontal.

Frequently Asked Questions

Can a smartphone camera scan PDF417?

Yes. Most modern smartphone camera apps (iOS and Android) and barcode scanning apps support PDF417. However, low-end 1D laser scanners cannot read PDF417.

Why is PDF417 used on US driver's licences?

PDF417 was mandated by the AAMVA DL/ID standard in 2000 because it could encode the full structured driver's licence data payload using the laser scanners already deployed in law enforcement vehicles — before camera-based 2D scanning became ubiquitous.

What is Micro PDF417?

Micro PDF417 is a compact variant of PDF417 with a fixed number of columns (1–4) and reduced overhead, used when space is limited. It is used in GS1 Composite barcodes to carry supplementary AI data alongside a linear symbol.

What is the maximum data capacity of PDF417?

A single PDF417 symbol can encode up to 2,710 numeric digits, 1,850 alphanumeric characters, or 1,108 bytes of binary data.

Is PDF417 the same as a 2D barcode?

PDF417 is sometimes called a 2D barcode because it stores data in two dimensions, but technically it is a stacked linear code — not a true matrix code like QR or Data Matrix.

Need to create a PDF417 barcode?

Generate high-quality, scannable PDF417 barcodes for free with our advanced barcode generator. Download in vector SVG or PNG format.

Create PDF417 Barcode Now