Generator · Polish data

Polish driving licence number

Endpoint GET /v1/pl/driving-license

What it covers

Returns a realistic synthetic Polish driving licence number (numer prawa jazdy), shaped `NNNNN/YY/NNNN`. The value carries NO checksum — it is realistically shaped test data, not a register-valid number. Use `format` to choose between slashed and compact rendering, and `year` to fix the 4-digit issue year (within the supported range, otherwise a 400).

Parameters

ParameterTypeDescription
countinteger1–1000Number of records to return, 1–1000 (your plan may lower this). Omitted returns a single record; set it for a batch.
edgebooleanRestrict output to edge-case licence numbers from the rare corners of the format.
extremebooleanReturn a correct value wrapped in a hostile encoding (untrimmed whitespace, invisible/zero-width characters, BOM, or bidi/combining marks). Homoglyphs are excluded so the value stays machine-parseable; it still validates after normalisation.
format"with-slashes" | "compact"Licence-number rendering: with slashes or compact. Default with-slashes.
invalidbooleanReturn a deliberately invalid value that fails validation, for testing rejection paths.
seedintegerInteger seed for reproducible output: the same seed always yields the same record.
yearintegerFull four-digit issue year encoded in the licence. Out-of-range values return a 400.

Response fields

FieldTypeDescription
valuestringThe licence number in the requested format.
serialstringThe five-digit serial block, e.g. "08234".
yearintegerThe full four-digit issue year, e.g. 2019.
suffixstringThe four-digit suffix block, e.g. "4521".

Other generators for Poland

See all generators for Poland →

The same kind of identifier elsewhere

Try it

Generate a live example below — every response is valid by format and entirely synthetic.