Home/Documents/Hong Kong Identity Card
Fake Hong Kong ID detection: spot edits, forgeries and AI fakes
The Hong Kong Identity Card is the Immigration Department's credential for everyone lawfully resident in the territory, citizen or not, and permanent residents use it as a travel document between Hong Kong and Macao. Smart cards carry a card number with a computed check digit and a row of residency-status codes, so both the number and the status symbols are verifiable against the card's own structure.
Last updated:
Most often edited
portrait, HKID number, date of birth
Reviewed by
HK banks, telecom operators, and immigration officers
Where forgers attack a Hong Kong identity card
Method
How it works and what it leaves behind
- Check-digit validation
- The digit in parentheses is a deterministic function of the card number's letter and digits. A failure marks a retyped or invented number, independent of print quality.
- Status-code coherence
- The code row encodes residency rights, and the symbols for permanent residency must agree with the card's expiry behaviour. A card showing permanent residency symbols while carrying an expiry date contradicts itself.
- Expiry rules
- Permanent residents' cards carry no expiry, while non-permanent cards expire with the limit of stay. An expiry on a card claiming permanence, or its absence on a limited stay, is a structural contradiction.
- Portrait patching
- Redirecting a legitimately issued card to a new holder means portrait substitution, which leaves cut-line edges and resolution steps around the photo window.
- Generation conformance
- Pre- and post-replacement card generations differ in layout and security printing, and mixing elements of both signals a card assembled rather than issued.
How to check a Hong Kong identity card step by step
1. Photograph both sides
Capture the card flat at full resolution, front and back, keeping the card number, check digit, and status code row sharp.
2. Validate the number
Apply the check-digit computation over the card number. A failure marks the number as retyped or invented.
3. Read the status codes
Weigh the residency codes against the expiry behaviour: permanence and an expiry date cannot both be true.
4. Run a forensic check on the file
Status-code edits are quiet work on a small card face. TamperCheck runs 300+ forensic checks spanning check-digit validation, status-code coherence, and portrait analysis, returning a risk score from 0 to 100 with findings tied to specific regions of the image.
Visible warning signs in a Hong Kong identity card
A portrait that does not match the page around it
Zoom in on the edge of the portrait. A pasted or generated image often leaves a faint halo, or lighting and texture that do not match the rest of the document.
An HKID number that appears only once
Genuine documents usually repeat an identifier in a header, footer, barcode or reference block. Look for every place the HKID number should appear and check they agree. An edit that updates one and forgets the others is one of the most common mistakes.
A security feature that is printed, not built in
A hologram or foil should change as you tilt it. A flat printed picture of one looks identical in every photograph and never shifts.
Lighting on the portrait that disagrees with the card
Check whether the shadow and glare on the face match the shadow and glare across the rest of the card. A pasted portrait carries the lighting of wherever it came from.
Fonts that are nearly right
Issuers use one tightly specified typeface. Compare digit shapes and letter spacing in the name and number against a genuine specimen of the same edition.
The forensic checks that matter most for a Hong Kong identity card
Portrait substitution and face-swap analysis
The document is isolated from whatever it was photographed on, then the portrait region is assessed against the card surface around it. A pasted or generated face rarely matches the substrate it was placed onto.
Reference and document number checks
Document, account, and reference numbers are checked for issuer format conformance and against every other place the same value appears on the page.
Date and validity consistency
Issue, expiry, and period dates are checked against one another and against the file's own creation metadata, which catches backdating and validity extension.
And many more checks
The three above are the layers that carry the most weight on a Hong Kong identity card. Every upload runs the full suite of 300+ checks regardless of document class, spanning file structure and metadata, pixel-level forensics, font and text rendering, optical and print characteristics, provenance signals, AI-generation signatures, and many more checks.
Anatomy of a genuine Hong Kong identity card
The card number is one letter, six digits, and a check digit in parentheses, computed by the issuing algorithm. The front carries photograph, name in English and Chinese, date of birth, sex, and the status codes that encode residency rights, and a permanent resident's card carries no expiry while a non-permanent card expires with the holder's limit of stay.
Hong Kong replaced its smart cards across a territory-wide exercise that finished in 2023, so two generations circulate and each has its own layout and security features. The status codes are the practical fraud surface, because upgrading a limited resident's card to show permanent residency is the edit with the highest payoff.
Questions people ask about a Hong Kong identity card
What do the symbols on a Hong Kong ID card mean?
The code row encodes residency rights, including whether the holder has the right to land and what conditions attach to their stay. Because permanent residency is the highest-value status, symbol edits are the card's characteristic fraud, and the codes must cohere with the card's expiry behaviour.
Do permanent residents' Hong Kong cards expire?
No. Cards issued to permanent residents carry no expiry, while cards issued against a limit of stay expire with it. A card that shows permanent residency symbols and an expiry date contradicts its own rules.
What does the digit in brackets on a Hong Kong ID mean?
It is a check digit computed from the letter and six digits that precede it. Recomputing it is cheap and decisive: an invented or retyped number almost always fails the computation.
How does TamperCheck verify a Hong Kong ID card?
TamperCheck recomputes the check digit, weighs the status codes against the expiry behaviour, and inspects the portrait window for substitution traces. Results arrive within seconds as a risk score from 0 to 100, with findings tied to specific regions of the card.
Which forensic checks matter most for a Hong Kong identity card?
It starts where forgeries of a Hong Kong identity card most often break: a substituted portrait; edited name, ID number or date of birth; and the residency symbol codes. After those, the checks that run on every document cover the rest of a Hong Kong identity card.
Why does a valid number not prove a Hong Kong identity card is real?
A number on a Hong Kong identity card can be well-formed, or even belong to a real person, while the document carrying it was built around someone else. Format validation confirms structure, not provenance. Comparing the number against HKID number and the file itself closes the gap.
Which parts of a Hong Kong identity card do forgers change most often?
Portrait, HKID number, and date of birth are the usual targets on a Hong Kong identity card. Forgers copy the layout from a genuine specimen, so on a Hong Kong identity card the template rarely gives the edit away. The tell on a Hong Kong identity card is an altered portrait sitting on a surface whose noise, lighting and compression do not quite match the rest of the card.
Can I check a Hong Kong identity card for free online?
Partly. The free PDF Metadata Extractor shows which tool created or last saved a PDF of a Hong Kong identity card, and the checklist on this page covers portrait. A full verdict on a Hong Kong identity card runs on paid credits, and your first document is on us.
Check a document
Upload a PDF or a photo of Hong Kong identity card. TamperCheck returns a risk score from 0 to 100 and marks the region that was edited, usually within seconds.
For developers, the API class is hong_kong_id. See the API and MCP documentation.