Medicare Number Generator

Generate Australian Medicare card numbers with a valid check digit

Loading...

About Medicare card numbers

An Australian Medicare card carries a ten digit number printed as four digits, five digits and one. The first eight identify the record, the ninth is a check digit, and the tenth is the issue number, which increases each time a replacement card is sent. The small number beside each name on the card is the individual reference number, or IRN, and it is not part of the checksum.

This generator exists for one reason: so that test databases, form fixtures and demo environments never need a real Medicare number in them. Every number it produces satisfies the check digit and starts with a digit in the 2 to 6 range that numbers in circulation use, which makes it behave like real input against your validation code.

To check a number instead, use the Medicare number validator.

Read this before you use these numbers

A Medicare number is an identity document. It is accepted as evidence of identity by Australian government services, which puts it in a different category from a test email address. These generated numbers are not issued to anybody, are not registered with Services Australia, and confer nothing.

You must not use a generated number to claim a benefit or rebate, to access or attempt to access health services, to satisfy an identity check, to open an account, or in any document presented as genuine. Doing so is fraud, and identity offences under the Criminal Code Act 1995 carry custodial sentences.

Legitimate uses are narrow and specific: validating a form field, seeding a development database, writing a test, or demonstrating software. If your use is not one of those, this is the wrong tool.

Equally, do not put a real Medicare number into test systems, screenshots or sample files. That is the mistake this tool is meant to prevent.