What Is a PDF417 Barcode?
PDF417 is a stacked 2D barcode made of many rows of small linear patterns. It is used on driver’s licenses and ID cards in North America, on airline boarding passes and on shipping and customs documents. It suits long text in a wide, flat shape.
PDF stands for Portable Data File, and 417 describes its codewords: each is 17 modules long and made of 4 bars and 4 spaces. A symbol has 3 to 90 rows and up to 30 data columns, with adjustable error correction. It can hold about 1,850 text characters, 2,710 digits or 1,108 bytes.
What Data Can PDF417 Hold?
Any text or data, up to 1,108 bytes. We warn you as you get close to the limit.
Recommended Size
Keep a quiet zone of at least 2 modules on every side. Make each row at least 3 times as tall as the narrowest bar, because very thin rows are hard to scan.
What Makes Up a PDF417 Row
Every row starts with a start pattern and a left row indicator, then holds the data codewords, a right row indicator and a stop pattern. The row indicators record the row number, the number of columns and the error correction level, so a scanner can rebuild the symbol even if it sweeps across rows at an angle.
Codewords come from three different patterns, called clusters, that rotate from row to row. This is how a reader tells neighbouring rows apart, and why some laser scanners that read line by line can decode PDF417. The format is specified in ISO/IEC 15438.
PDF417 Error Correction and Data Layouts
PDF417 has nine error correction levels, 0 to 8. Each level doubles the number of correction codewords, from 2 at level 0 to 512 at level 8. Longer messages call for higher levels.
- Driver's licenses and ID cards in the US and Canada follow the AAMVA data layout, which only the issuing authority can produce
- Printed airline boarding passes use the IATA boarding pass data format
- Macro PDF417 splits a large file across several linked symbols
More 2D Codes barcodes
How to Create a Barcode in 3 Steps
Choose a barcode type
Select a category on the left (e.g. Linear Codes), then the exact type like Code-128.
Enter data & customise
Type your data — we check it live and add check digits. Adjust size, font and colors.
Download or print
Get PNG, JPG, SVG, PDF or EPS, or print a full sheet of labels in one click.
Why Use QRCodeChamp Barcode Generator
125+ barcode types
Linear, 2D, GS1, postal, healthcare and payment codes.
Live validation
Friendly errors with one-click fixes and automatic check digits.
Print-ready PDF
Exact mm sizes, label sheets (Avery, A4, 4×6 thermal).
Bulk barcodes
Paste a list or generate number sequences.
Choose the Type of Barcode You Need
Not sure which barcode to use? Start with what you need it for — we’ll pick the right type.
PDF417 FAQs
No. PDF here means Portable Data File. You can still download the barcode itself as a PDF.
A 2D imaging scanner or a scanner app. Simple scanners that only read 1D barcodes usually can’t read it.
Up to about 1,850 text characters, 2,710 digits or 1,108 bytes, depending on the data and the error correction level.
PDF417 grows by adding rows and columns as you add data. Shorten the text if it must fit a small label.
Use a level that suits the amount of data: short messages work with level 2 or 3, and longer ones need 4 or 5. Higher levels survive more damage but make the symbol bigger.
It is a PDF417 feature that splits data too large for one symbol across several symbols. Each one carries a file ID and segment number, so the reader can put them back together in order.
