snaptxt.app

Australian Medicare Number Generator & Validator

Generate valid Australian Medicare card numbers for software testing and development only. Numbers are not real — for testing purposes only. The check-digit algorithm runs entirely in your browser.

For testing and development only. Numbers generated by this tool are mathematically valid but not registered with Services Australia. Do not use them to claim Medicare benefits, misrepresent identity, or for any purpose other than software testing and development.

Australian Medicare Number

No additional info

Sample Australian Medicare Numbers

How to use it

  1. 1Click the Generate button to produce a new, cryptographically random Medicare number that passes the official check-digit validation.
  2. 2The card number (10 digits) and Individual Reference Number (IRN) are shown together — copy the full 11-digit string or just the formatted card number.
  3. 3Use the Validate tab to check any existing number. Paste it in and the tool checks the leading digit range (2–6), the weighted check digit, and the issue number.
  4. 4Sample numbers are pre-generated on load — copy any of them directly for quick testing.

Common use cases

  • Populate a healthcare test database with realistic but fake Medicare numbers for automated integration tests.
  • Validate user-submitted Medicare numbers in a form without sending data to a backend service.
  • Demonstrate Medicare number format requirements to new developers on a healthcare project.
  • Check whether a Medicare number a patient provided has a valid check digit before submitting a claim.
  • Generate a batch of valid numbers for UI testing without touching real patient records.

Frequently asked questions

What is an Australian Medicare number?
An Australian Medicare number (also called a Medicare card number) is a 10-digit identifier issued by Services Australia. It appears on your Medicare card and is required when accessing Medicare-covered healthcare services. The number includes a leading digit (2–6), a check digit at position 9, and an issue number at position 10. An Individual Reference Number (IRN, 1–9) identifies a specific person on a shared family card.
How is the Medicare check digit calculated?
The check digit (9th digit) is calculated by multiplying the first 8 digits by the weights [1, 3, 7, 9, 1, 3, 7, 9], summing the results, and taking the remainder when divided by 10. For example, if the first 8 digits are 31899770, the check digit is (3×1 + 1×3 + 8×7 + 9×9 + 9×1 + 7×3 + 7×7 + 0×9) mod 10 = 2.
Are these Medicare numbers real?
No. The numbers are randomly generated to satisfy the mathematical check-digit rule — they are not associated with any real person, Medicare record, or Services Australia account. They are safe for use in software testing, development, and demonstrations.
What is the Individual Reference Number (IRN)?
The IRN (1–9) is a single digit that identifies a specific person on a Medicare card. Families can share a single Medicare card number but have different IRNs. It appears separately from the 10-digit card number and is often written as 'card number / IRN', e.g. 2123 45609 1 / 2.
Why does my Medicare number fail validation?
The most common reasons are: the first digit is outside the 2–6 range, the 9th digit does not match the weighted checksum, the issue number (10th digit) is 0, or the number has the wrong length. Use the Validate tab to see exactly which check fails and what the correct value should be.
Is any data sent to a server?
No. All generation and validation runs entirely in your browser using JavaScript. No Medicare numbers, inputs, or results are transmitted to or stored on any server.