Macau Resident ID Validator
Verify Macau resident identity card (BIR) numbers with format guidance, weighted check digit calculation, and an optional random generator.
Enter a Macau resident identity card number to verify its format and check digit.
A Macau BIR should have seven digits plus a check digit, optionally written as 1/2345/67(0).
Output appears here...
Start by entering an ID
Type a Macau ID or generate one to see the validation details.
Normalized ID—
Leading digit meaningUnknown leading digit
Check digit—
Weighted sum—
Quick rule summary
- Basic format: Seven digits followed by a check digit; slashes and parentheses are optional separators.
- Leading digit categories: Digits 1–3 mark permanent residents, digit 5 non-permanent residents, and digit 7 non-resident workers.
- Check digit rule: Multiply the seven body digits by weights 1–7, sum them, and the remainder modulo 10 becomes the check digit.
Disclaimer
- Do not enter real personal ID numbers; use sample data only.
- This tool is for educational reference and is not an official verification service.
- Generated numbers must not be used for impersonation or unlawful purposes.