How to create a PDF417 barcode
- Enter your data in the box above. Any text, including lower case and symbols. Up to about 1,850 text characters, 2,710 digits or 1,108 bytes. Error correction is set automatically.
- The barcode updates live as you type. Open Customize to change the bar height, colors, rotation or quiet zone.
- Click Download PNG for labels and documents, or SVG / PDF for print and packaging design.
- Test it with our online barcode scanner before you print a large run.
What is a PDF417 barcode?
PDF417 is a stacked 2D barcode: it looks like several short linear barcodes piled on top of each other. The name stands for Portable Data File, and 417 means each codeword is 4 bars and 4 spaces across 17 modules. It was invented at Symbol Technologies in 1991.
A PDF417 symbol has 3 to 90 rows and 1 to 30 data columns, and nine error correction levels (0–8). Because it can be read by linear laser scanners as well as imagers, it became the standard for ID documents, including US and Canadian driver's licenses under the AAMVA specification.
Where PDF417 is used
- Driver's licenses and ID cards (AAMVA in the US and Canada)
- Airline boarding passes (IATA BCBP)
- Shipping and freight labels
- Government forms and tax documents
- Inventory and asset records that need a lot of data
PDF417 specifications
| Type | Stacked 2D (multi-row) |
|---|---|
| Characters | Full ASCII and byte data |
| Capacity (max) | About 1,850 text characters, 2,710 digits or 1,108 bytes |
| Rows | 3 to 90 |
| Data columns | 1 to 30 |
| Error correction | Levels 0–8 (Reed-Solomon) |
| Quiet zone | At least 2 modules on all sides |
| Standard | ISO/IEC 15438 |
Tips for a barcode that scans first time
- Keep the bars crisp. PDF417 modules are thin, so use at least 300 dpi for printing.
- More data makes a taller symbol. If the code gets too tall, consider a Data Matrix or QR code.
- Leave a clear quiet zone around all four sides.
- Making a test ID barcode? Real AAMVA licence data has a strict format; this tool encodes exactly what you type.
Frequently asked questions
What is a PDF417 barcode used for?
It is best known from the back of US and Canadian driver's licenses and ID cards. It is also used on boarding passes, shipping labels and government documents where a lot of data must fit on a card or label.
How much data can PDF417 hold?
Up to about 1,850 text characters, 2,710 digits or 1,108 bytes in one symbol. In practice symbols hold a few hundred characters so they stay a reasonable size.
Is PDF417 the same as a QR code?
No. PDF417 is a stacked barcode made of rows of bars, while a QR code is a square matrix. PDF417 can be read by some linear laser scanners. QR codes are easier for phone cameras.
Can I make a driver's license barcode with this?
This tool encodes the exact text you type into a PDF417 symbol. A real licence barcode follows the AAMVA data format and is issued by a government authority. Do not use generated barcodes to make or alter identity documents.
What does the 417 mean?
Each codeword in the barcode is made of 4 bars and 4 spaces that together span 17 modules.
What is Compact PDF417?
Compact PDF417 (also called truncated PDF417) drops the right-hand row indicator and shortens the stop pattern. It is narrower but less robust, so use it only when space is tight.