Home › Barcode Types › PDF417

PDF417 Barcode Generator

2D code for ID cards and transport documents. Free, unlimited and instant — with every professional option included.

Use an example — or type your own number or text above.

Your barcode preview will appear here.

Free for personal and commercial use. No watermark, no sign-up.
For razor-sharp printing, download the SVG — it scales to any size.

About PDF417 Barcodes

PDF417 is the stacked 2D code on driving licences, ID cards, boarding passes and shipping documents. It can hold a whole record — name, address, licence number — in one symbol, and it survives offline: everything is in the code, no database lookup needed.

The History of PDF417

PDF417 was created in the late 1980s by Ynjiun Wang at Symbol Technologies, and its name is a small manifesto: a Portable Data File, built from patterns of 4 bars and spaces in 17 modules per codeword. The ambition was different from other codes — not to name an object, but to carry its paperwork. A driving licence’s PDF417 holds the driver’s name, address, licence number and dates in the symbol itself, readable with no network and no database. Governments, airlines and logistics firms adopted it through the 1990s, and it remains the document code of the offline world.

How PDF417 Works

The symbol is a stack of shortened barcode rows — hence “stacked linear” — each row carrying data codewords plus row indicators that tell the scanner which row it is reading, so a tilted scan can be reassembled. Error correction is selectable in nine levels (0–8), trading capacity for survivability; at sensible levels a symbol with a corner torn off still decodes. Capacity reaches about 1,850 text characters, 2,710 digits or 1,100 bytes — enough for a full ID record, a shipping manifest or a boarding pass’s worth of flight data. Enter your text here; the generator chooses a compact layout and standard correction automatically.

PDF417 — Key Facts

PDF417 Sizes and Printing Rules

PDF417 symbols are rectangular and comparatively large: a typical licence symbol is about 80 × 25 mm. The X-dimension should be at least 0.2 mm, with row height at least three times the X-dimension — squashing rows vertically is the classic way to make PDF417 unreadable. Quiet zones apply on all sides. Print from the SVG on this page, keep the symbol flat (it tolerates less curvature than 1D codes), and scan-test at the final size: because it holds records, a no-read at a checkpoint means typing the record by hand.

Where PDF417 Is Used

You will find PDF417 on driving licences and national ID cards (the AAMVA standard in North America), boarding passes under the IATA standard, shipping and customs documents, vehicle registrations, and government forms across many countries. Organisations choose it when the data must travel with the document and be verifiable offline — a border post, a depot, a gate — where “the system is down” cannot mean “nothing can be checked”. If you issue documents or credentials, a PDF417 carrying the key fields is a proven, standardised pattern.

PDF417 in Practice

Discipline matters with a record-carrying code: decide the field format once (many sectors have a published layout — follow yours exactly), keep the data as short as the format allows, and never encode secrets — a PDF417 is readable by anyone with a scanner, so treat its contents as printed text, because functionally they are. This generator encodes exactly what you type, in your browser, and sends it nowhere.

How to Create a PDF417 Barcode

  1. Enter the content in the box above — the generator is already set to PDF417, with a working example filled in. Type or paste your own number or text.
  2. Adjust the style — bar width, height, quiet zone, colours, the text under the bars and its font. The preview updates as you change things.
  3. Download a print-ready PNG, a razor-sharp SVG, or a JPG — or switch to Serial Numbers / Bulk List above to create many at once.

Getting the Best Result from This Generator

Every option above the preview exists because a real labelling job needed it. Bar width sets the thickness of the narrowest bar — raise it for labels that travel far or are scanned at a distance, lower it only when space genuinely runs out. Barcode height does not change the data, but taller bars are dramatically easier to scan, especially handheld. The quiet zone slider controls the blank margin the scanner needs to find the symbol; the default suits most labels, and crowded artwork is the only reason to touch it. The text settings control the human-readable line under the bars — keep it on for anything people also read, and pick OCR-B for the classic machine-printed look. Colours should stay dark-on-light; the transparent background option is for placing the code over your own light artwork in a design program. Finally, the download size matters: SVG is a vector that stays perfect at any scale and is always the professional choice, while the 3x and 4x PNG options exist for software that cannot take vectors. Set the options once, watch the preview, and only then download.

PDF417 vs the Alternatives

PDF417 versus QR and Data Matrix: the 2D matrix codes are smaller and phone-friendlier, but PDF417’s stacked rows print on simpler equipment and carry long records in a government-proven format. Versus Aztec: Aztec is denser and border-free for tickets; PDF417 is the document veteran. Versus Code 128: 128 names things; PDF417 describes them — licences carry both philosophies at once, a 1D number for lookup and a PDF417 record for offline proof.

Common PDF417 Mistakes to Avoid

Why a PDF417 Barcode Fails to Scan — Troubleshooting

When a freshly printed PDF417 refuses to scan, the cause is almost never the data — it is the physics of the print. Work through the usual suspects in order. Contrast: scanners see in shades of red light, so black bars on white are the gold standard; red, orange and metallic bars can be nearly invisible, and a dark background with light bars defeats most readers entirely. Quiet zone: the blank margin around the symbol is part of the code — if text, borders or the edge of the label crowd it, the scanner cannot find where the code starts. Size: a symbol shrunk below its sensible minimum merges its fine bars into grey mush; print bigger or simplify the data. Print quality: inkjet bleed, a worn thermal head and low-resolution images all fatten or break bars — print from the SVG, at 100% size, on the best printer setting. Damage and gloss: creases, lamination glare and curved surfaces each steal a slice of the symbol; matte labels placed flat scan best. The professional habit that prevents all of it: print one label, scan it with the actual device that will be used, in the actual lighting, before printing the batch.

A Short PDF417 Glossary

Five terms explain nearly everything about working with PDF417. The symbology is the language itself — the set of rules that turns data into bars and back; PDF417 is one symbology among the twenty-one on this site. The X-dimension is the width of the narrowest bar or space, and every other measurement — total size, quiet zone, print tolerance — is expressed as a multiple of it. The quiet zone is the blank margin at both ends of the symbol; scanners use it to recognise where the code begins, and stealing it is the most common cause of failure. A check digit is a final character calculated from all the others, letting the scanner prove the read is correct instead of merely plausible. And the human-readable line is the printed text beneath the bars — there for people, ignored by scanners, and worth keeping accurate because when a scan fails, a human types exactly what it says. Keep these five straight and the rest of this page — and any barcode specification you are handed — becomes easy reading.

Barcode Print Quality, Explained Simply

Professionals grade printed barcodes from A (excellent) to F (fail) with a device called a verifier, which measures contrast, bar accuracy and defects against the standard for the symbology. You do not need a verifier for everyday work, but the grades explain what “good” means: a Grade A symbol has crisp edges, bars within a hair of their intended widths, and strong contrast. Home and office printing usually lands at B or C — perfectly serviceable for internal labels, shelf edges and documents. Retail packaging and supply-chain labels are held to higher bars because they must scan first time, every time, on equipment you do not control. The practical translation: generate from a proper encoder (as this page does), print from vector artwork, keep contrast absolute, respect the quiet zone, and test-scan. Follow those five rules and your PDF417 labels will behave like professionally produced ones, because the difference was never the price of the software — it is the discipline of the print.

PDF417 — Questions & Answers

Is PDF417 the same as a PDF file?

No — despite the name, it has nothing to do with PDF documents. It is a barcode that behaves like a tiny portable data file, which is how it got the name.

Is PDF417 related to PDF documents?

No. The name means Portable Data File: the barcode itself is the file, carrying its data in 4-bar, 17-module codewords. It has no connection to the PDF document format beyond the shared initials.

Is this PDF417 generator free?

Yes — completely free and unlimited. Create as many barcodes as you like and download them as PNG, SVG or JPG with no watermark and no sign-up. Everything is generated in your browser; nothing is uploaded.

How do I print my PDF417 barcode correctly?

Download the SVG for perfectly sharp printing at any size, or a PNG at Print quality (3x) or higher. Keep the quiet zone (the empty margin) around the code, print a test copy, and scan it with a phone or scanner before a big print run.

Can I make many PDF417 barcodes at once?

Yes — the Serial Numbers tab on this page generates a running series, and the Bulk List tab turns a pasted list (one value per line) into barcodes you can download together as a ZIP file or print as a sheet.

More Barcode Generators

Code 128 GeneratorEAN-13 GeneratorUPC-A GeneratorCode 39 GeneratorQR Code GeneratorEAN-8 GeneratorUPC-E GeneratorISBN-13 Generator