PDF417 barcode generator

PDF417 stacks rows of codewords into a wide rectangle, fitting long text into a narrow strip. Choose the error correction and shape, then download a crisp file.

39 / 1000 characters

The PDF417 standard asks for rows at least 3× the module width; 3–4 suits most printers and scanners.

Generated codes are ordinary barcodes, not identity documents, driver's-licence data or any other regulated credential.

Enter text to preview the PDF417 code

PDF417 at a glance

Choosing the error correction level

Each level doubles the error-correction codewords: level 0 adds 2, level 1 adds 4, and so on up to 512 at level 8. More codewords let a scanner rebuild data from a scratched or creased label, but make the symbol larger.

Automatic picks a level from the amount of data, following the usual recommendation: level 2 for up to 40 data codewords, 3 up to 160, 4 up to 320 and 5 above that. Choose a higher level for labels that will be handled roughly.

Columns, rows and row height

The number of data columns sets the width; rows are added until the data fits. A wide, flat symbol suits a long label, while fewer columns give a taller block that fits a narrow space.

Row height is a multiple of the module (the narrowest bar). The standard asks for at least 3×; 3–4 suits most printers. Taller rows tolerate scanning at a slight angle, especially with laser scanners that sweep across the rows.

Where PDF417 is used

PDF417 is common on airline boarding passes, shipping and customs documents, and many driver's licences and ID cards, because it holds a lot of data and can be read by linear imagers. A single symbol holds up to about 1,850 text characters; this generator limits input to 1,000 characters to keep codes printable.

Codes made here are ordinary barcodes, not identity documents or regulated credentials. For small items, a square code is often a better fit: try the Aztec code generator, the Data Matrix generator or the QR code studio.

Frequently asked questions

How much data fits in a PDF417 barcode?

One symbol holds up to about 1,850 text characters, 2,710 digits or 1,108 bytes at the lowest error correction. Real capacity is lower once error correction is added. This tool accepts up to 1,000 characters.

Can phones scan PDF417?

Many barcode-scanner apps and most dedicated 2D scanners read PDF417. Built-in phone camera apps often recognise only QR codes, so test with the device your users will have.

Can I create a driver's licence or ID barcode?

No. The generator encodes the text you type as a standard PDF417 symbol. It does not create identity documents, licence data or any regulated credential, and must not be used to imitate them.

Should I download PNG, SVG or PDF?

Use SVG or PDF for print work — they stay sharp at any size. PNG suits documents, spreadsheets and web pages. Always print at 100% scale and test-scan before a large run.

Share this tool

PDF417 codes made here are ordinary barcodes. They are not identity documents, driver's-licence barcodes or any other regulated credential.