Guide · free encoders
Free PDF417 barcode: the free half of the job.
A free PDF417 generator encodes the symbol and nothing else: it will turn a string into a scannable PDF417 image, but it will not build an AAMVA header, look up a jurisdiction's IIN, or check that the required elements are present. That is enough for a shipping label and not enough for a driver's licence. This service is not free either: the first AAMVA barcode costs $2.00 — but the first three need no account at all, so the free half of this page is now literal.
Raw AAMVA payload
What a free encoder actually does
PDF417 is a symbology, standardised as ISO/IEC 15438, and a symbology encoder has one
job: convert a byte string into a grid of bars and spaces with the right start pattern,
stop pattern, row indicators and error correction codewords. Several open-source
libraries do that correctly and at no cost. zxing, zint, bwip-js and the Python
pdf417gen package all produce a decodable symbol.
What none of them do is decide what the string should contain. That distinction is the
whole problem with the phrase "free PDF417 generator": the free part is the encoder, and
the part that makes a licence barcode valid is the file format wrapped around it. A
generic library will encode HELLO, a URL, or an AAMVA payload you assembled
yourself. It will not tell you that your payload is missing DCK or that the
IIN belongs to another state.
What the AAMVA layer adds, byte by byte
An AAMVA symbol is a PDF417 with a file inside it. The first 21 bytes are a fixed header:
the compliance indicator, three separators, the ANSI marker, a six-digit
issuer identification number, the AAMVA version, the jurisdiction version and a two-digit
entry count. The next ten bytes are a directory entry: the subfile designator, a
four-digit offset and a four-digit length. The subfile then begins with its own
designator and continues with three-letter element codes.
| Layer | Bytes | What a free library supplies | What a licence symbol needs |
|---|---|---|---|
| Compliance and IIN | 0–20 | Nothing | @, separators, ANSI , the state's six digits, version and entry count |
| Directory | 21–30 | Nothing | DL, offset 0031, subfile length in four digits |
| Subfile | 31 onward | Nothing | DL, then every element as code plus value, then a closing CR |
| Element set | Inside the subfile | Nothing | The jurisdiction's required list, which differs by state |
| Validation | Before encoding | Nothing | Caps, patterns, real dates, select values and date order |
Two of those numbers are arithmetic, not data. The offset is the byte position of the
subfile, which is 31 for a single DL entry, and the length counts the two-byte designator,
every element and the closing 0x0D. A free library has no idea either number
matters. Encode a hand-built payload with the wrong length and the symbol still scans; the
reader then rejects the record or reads a truncated one. That failure is invisible until a
scanner at a counter refuses the card.
Exactly what the three free symbols are
The generator panel on this page grants three symbols per browser session, with no account, no card and no key. Each generation returns one symbol and exposes the raw AAMVA payload under the image, which is the part worth reading: it shows the header, the directory and the element stream that the panel sent to the encoder.
What the allowance is not: it is not an API key, it does not script a batch, and it is not a way to run a print job. It exists so the output can be inspected before any money changes hands. If a symbol looks correct, the same request works against the endpoint with a key; if it does not, the raw payload shows which field is wrong before you pay to find out.
When free is genuinely enough
- A one-off shipping label, asset tag or internal reference where the reader is a general barcode app.
- Learning how PDF417 rows, columns and error correction interact, with no identity data involved.
- Testing a scanner, a printer or a PDF pipeline before choosing an encoder.
- A payload you assemble and validate yourself, where you are willing to own the element table.
In each of those cases a free library is the correct engineering choice, and this page will not pretend otherwise. The conformance guide is still worth reading first, because it separates the symbology checks from the AAMVA checks and makes clear which half you are skipping.
When free is the wrong tool
- A licence or ID payload, where the header, the IIN and the required element set are the product.
- A batch or print pipeline, where a key, a status contract and repeatable output matter more than the licence fee.
- Any workflow that has to prove the offset and length are correct, because a generic encoder never computes them.
- Multi-state issuance, where 51 element sets and two date orders have to stay correct over time.
What the do-it-yourself path really costs
Writing the AAMVA layer once is a day of work. Keeping it correct is the cost. The
encoder has to know each jurisdiction's required list, which is why New York carries
DAH and California does not; it has to write dates as
MMDDYYYY for a version 10 record and CCYYMMDD for version 11;
and it has to pad the postal code to 11 characters with spaces at version 10 but to 9
with zeros at version 11. Those rules are documented in
the revision comparison and in
the byte layout, and they are the reason a hand-built payload
passes on one state and fails on the next.
The free path that is honest is therefore this: use a free library for the symbology, write the file layer against the published standard, and check every assembled payload before printing it. The inspector recomputes the offset and length from the decoded string, and the IIN table confirms the six digits belong to the jurisdiction you named.
Where the paid path starts, and where it stops
Three symbols are free per session, with no account and no card. Past that the smallest purchase is one barcode for $2.00, which is a quantity rather than a subscription, and it does not expire. If that barcode will not scan on a hardware scanner it is refunded, so the real cost of evaluating this API is either $2.00 or nothing. The refund policy states the exclusions in full.
For a one-off label, a free library is the correct answer. For a licence or ID payload, the free encoder is the smaller half of the job. Compare the arithmetic on the cheapest AAMVA generator page, read what makes a symbol valid in the conformance guide, or go straight to the request walkthrough.
Questions
Is a free PDF417 generator really free?
The symbology encoder is, and several open-source libraries are genuinely free. The AAMVA file layer is not included: a free encoder will not add the header, look up the IIN or validate the element set for you.
Can I make a driver's licence barcode for free?
Only by writing the AAMVA layer yourself against the standard and validating the result. A free encoder alone produces a scannable symbol that a licence verifier will decode and then reject for having no compliance indicator or the wrong issuer number.
How many free symbols do I get?
Three per browser session on this page, with no account and no card. The allowance is interactive, not an API key, so it is for inspecting output rather than running a batch.
Do the free symbols show the raw payload?
Yes. Open the raw payload panel under the generated symbol to see the exact header, the directory entry with its offset and length, and every element the encoder wrote.
What does the $2.00 first barcode buy?
One barcode that does not expire, plus a refund if it will not scan on a hardware scanner. It is a quantity, not a subscription, so there is no renewal to cancel.
When should I just use a free library?
When the barcode is a general string on a label and no verifier will parse it as an AAMVA record. For a licence, an ID or a multi-state print job, the file layer is the work, and a library leaves all of it to you.
Build one
The generator walkthrough shows the request, the header it writes and the exact error text when a field fails. The first three symbols on this page need no account; the first paid one is $2.00.