PDF417,for labels, IDs and documents.
PDF417 is a stacked 2D barcode used on airline boarding passes, government ID documents, shipping labels and driving licences. It holds up to 800 characters of text and self-corrects damage with built-in Reed-Solomon error correction.
what goes in the PDF417?
Pick a starting example and type your value. The barcode is built right in your browser.
Up to 800 characters.
PDF417 supports all 128 ASCII characters. For structured data like GS1 shipping labels, use a GS1-128 or GS1 DataMatrix barcode instead.
Full ASCII — letters, digits, spaces, punctuation. No Devanagari inside the barcode itself.
Full ASCIIDigit-only data packs more tightly for shorter barcodes.
2× efficientAny binary data: compressed records, templates, structured IDs.
Up to 1,100 bytesLevel 2 (default): recovers up to ~8% damaged modules. Labels with smudge or fold risk can go higher.
Built inStrips the right-side closing bar pattern for a narrower symbol when the reader supports it.
Optionalwider than a QR code, but taller data.
A PDF417 symbol grows taller as you add text. Keep content under 100 characters for a label-friendly size.
| What | Guide |
|---|---|
| Columns | Auto (recommended, ~3:1 to 4:1 ratio) or select 2 to 6 columns. Fewer columns → taller symbol. More columns → wider but shorter. |
| Rows | Grows with content (3–90 rows). Min 3. |
| Module width (X) | 0.19 mm minimum; 0.25–0.5 mm for thermal labels |
| Quiet zone | 2X on each side, 2 rows top and bottom |
| Error correction | Level 0 (7% recovery) to Level 8 (65%). Level 2 is recommended for labels. |
PDF417 or QR code?
Airline boarding passes (IATA), US driving licences (AAMVA), Indian government IDs and some courier labels specify PDF417. If the reader or spec says PDF417, make PDF417.
Any smartphone camera scans QR codes natively. PDF417 needs a 2D-capable scanner. For product packaging, URLs and customer-facing codes, QR code is the better choice.
people also ask.
What is a PDF417 barcode?
A 2D stacked barcode with multiple rows of bar-and-space patterns. It is widely used on airline boarding passes, ID cards, shipping labels and government documents.
How much data can PDF417 hold?
Up to about 1,850 ASCII characters or 2,710 digits, depending on error-correction level. For label use, keeping it under 200 characters gives a compact, scannable symbol.
Does PDF417 work on a phone camera?
Most phone cameras do not scan PDF417 natively. You usually need a dedicated 2D barcode scanning app. For consumer-facing codes, use a QR code instead.
What is compact PDF417?
Compact PDF417 (also called Truncated PDF417) drops the right-side closing bar pattern, making the symbol narrower. Use it only if the target scanner supports compact mode.
What error-correction level should I use?
Level 2 is a safe default. Use level 3–5 when labels may be folded, smudged or partly covered. Higher levels add more codewords and make the symbol larger.
Do you store the codes I generate?
No. Every PDF417 is encoded locally in JavaScript inside your browser. Nothing is sent to a server.
need GS1 shipping or lot labels?
Use our GS1 Barcode Generator for GS1-128 and GS1 DataMatrix.