Skip to content

PDF417 Barcode Generator

Type text and get a PDF417 barcode, the stacked two-dimensional symbol found on boarding passes, ID cards and shipping labels. Choose the error-correction level and number of columns to shape the symbol, then export PNG, SVG or a vector PDF. Everything is generated in your browser.

Text or data. Increase the error correction level for damage tolerance.

Valid

Customize
#000000
#ffffff

Generating…

Your data stays on your device.

How does it work?

  1. 1Type or paste the text you want to encode.
  2. 2Pick an error-correction (security) level and the number of columns; watch the preview change shape.
  3. 3Check the valid/invalid indicator, then adjust scale, height and colours for your print size.
  4. 4Download the barcode as PNG, SVG or a vector PDF.

What is PDF417 Barcode Generator?

PDF417 is a stacked linear barcode: instead of one long row of bars, it stacks several short rows on top of each other, each of which can be read by a laser scanner or camera. The name comes from its structure, in which every codeword has 4 bars and 4 spaces within 17 modules (the number 417). A symbol has between 3 and 90 rows and 1 to 30 data columns.

Error correction is set by a security level from 0 to 8. Level n adds 2 to the power of (n + 1) correction codewords, from 2 at level 0 up to 512 at level 8. Higher levels let the symbol survive scratches, folds and dirt, but they also make it larger. PDF417 has text, byte and numeric compaction modes; a single symbol can hold up to about 1,850 text characters, 2,700 digits or 1,100 bytes.

PDF417 is widely used on driver licences in North America (AAMVA), airline boarding passes (IATA bar-coded boarding pass), national ID cards, postal and shipping labels, and inventory tags. Its wide format suits cards and tickets where a square code would not fit.

When should you use it?

  • You need a rectangular 2D code for an ID card, badge or ticket that has more width than height.
  • A partner or authority specifies PDF417 for a document, such as a permit or an airline pass.
  • You want more data than a linear barcode can hold but a laser scanner has to read it.
  • You want to experiment with security levels and see how much they enlarge the symbol.

Privacy

This tool runs in your browser. What you type, paste or open is processed on your device by JavaScript and is not sent to our servers, stored or shared. Your data stays on your device.

The text you type is encoded in your browser and never leaves it. A PDF417 is not encrypted, so anyone with a scanner can read what is inside.

Frequently Asked Questions

What security level should I choose?

Level 2 is a common minimum for small payloads. Choose a higher level, such as 4 to 6, for labels that may be scratched or folded, and expect a larger symbol in return. Level 8 is rarely needed and adds many codewords.

What does the columns setting do?

It sets how many data columns a row holds. More columns give a wider, shorter symbol; fewer columns give a narrower, taller symbol. Choose whichever fits the space on your label, but very tall symbols with few columns can be hard for some scanners to follow.

How does PDF417 compare with QR Code?

PDF417 is row-based, which suits laser scanners and wide, low labels; QR Code is a square matrix that is easier for phone cameras. QR Code usually holds data more compactly in a square area, while PDF417 is often specified by industry standards.

Is a quiet zone needed?

Yes. Leave a margin of at least two modules on every side, and preferably more. Also check the print resolution: each bar must be at least about 0.19 mm wide for many scanners, so test-scan before printing in volume.