Skip to content
faker.tools
All 79

Plate I · User & Personal Identity Generators

Passport & Driver's Licence Number Generator

Document numbers in six national formats, with dates and an MRZ line.

#HolderIssuerPassport No.IssuedExpires
1Alice YoungUS9724726022026-05-242036-05-21
2Matthew ScottUS7288433902020-07-272030-07-25
3Elijah PerezUS4510302942019-08-192029-08-16
4Nora GarciaUS1800711782024-08-302034-08-28
5Michael MooreUS7185326292018-12-132028-12-10
6Owen WilsonUS2528637562018-10-302028-10-27
7Joseph WilliamsUS5365460622020-09-052030-09-03
8Nancy ThomasUS3890894482021-01-172031-01-15
9Steven JacksonUS2102306082025-08-232035-08-21
10Elizabeth JacksonUS5725338672018-10-202028-10-17
10 rows · 877 BGenerated in your browser · Passport & Driver's Licence Number Generator

Travel document numbers vary more than you would expect — nine digits in the US, a letter-and-digits mix in Germany, a fixed sixteen-character string on a UK driving licence. Each format here follows its country's pattern so your field validation gets a real workout.

What you can control

  • Six issuing countries, each with the correct pattern for both document types.
  • Issue and expiry dates are ten years apart, matching the usual validity period for an adult passport.
  • The optional MRZ line follows the ICAO 9303 shape, padded to 44 characters, for testing document scanners.
  • Generate both document types on one row when you are seeding a full identity record.

What this is not

These match the format of real document numbers without corresponding to an issued document. Presenting one as genuine identification is a criminal offence; keep them in your test environment.

Questions

Is the MRZ line fully valid?

It follows the ICAO 9303 layout and length but does not carry correct check digits. It is shaped for testing a parser's field extraction, not for passing a border reader.

Do these numbers correspond to real documents?

No. They are generated from the format pattern only. There is no issuing authority behind any of them.

Why are passport and licence formats so different?

They are issued by different authorities under different rules. That inconsistency is exactly why a single regex for identity documents is a bad idea.

Next in Identity

All 12