Generator · Maltese data

Maltese identity card number

Endpoint GET /v1/mt/id-card

What it covers

Returns a Maltese identity card number: up to 7 digits followed by a single category letter (Maltese/Gozitan, century of issue, foreign residence, or citizen born abroad). The letter is a classification, not a checksum. Use `category` to pin the letter.

Parameters

ParameterTypeDescription
category"M" | "G" | "A" | "P" | "L" | "H" | "B" | "Z"Force the category letter: M/G/A/P/L/H/B/Z. Omit for a random category.
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 valid edge-case cards from the rare corners.
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.
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.

Response fields

FieldTypeDescription
valuestringThe full identity card number, digits + category letter.
digitsstringThe leading digits (1–7 of them), e.g. "123456".
category"M" | "G" | "A" | "P" | "L" | "H" | "B" | "Z"The trailing category letter classifying the holder.

Other generators for Malta

See all generators for Malta →

The same kind of identifier elsewhere

Try it

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