Home/Documents/Brazil ID (RG / CIN and CPF)

Verifying a Brazilian ID: a reviewer's guide to forgery and tampering

The Brazilian identity card, the older state-issued Registro Geral (RG) and the Carteira de Identidade Nacional (CIN) that replaced it from late 2023, is the standard identity proof for banking and fintech onboarding. The CIN uses the CPF as its single national number, and the CPF's two check digits make fabricated numbers cheap to catch.

Last updated:

Most edited
  • portrait
  • CPF
  • name and birth date fields
  • filiacao line
Reviewed by
Brazilian banks, fintechs, and lenders

Forgery methods seen on a Brazilian ID

CPF check-digit validation
Both check digits are computed with a weighted mod-11 scheme, and a sequence of one repeated digit is invalid. A CPF failing either computation was invented.
Variant conformance
The CIN carries a QR code and the CPF as its number, while an old RG follows its state's own pattern. A card with the wrong elements for its type signals assembly.
Name-order coherence
Brazilian names run given names then family names, and filiacao lists the parents. Edits to either leave font and baseline breaks against the surrounding lines.
Date logic
The date of birth, date of issue, and the age implied by the holder's photograph must follow each other plausibly. Edited dates show spacing and font passes that differ from the rest of the card.
Photograph and field patching
Portrait swaps and edited text leave cut-line edges and resolution steps that stand out against uniform issued print.

What gets missed when a Brazilian ID is checked by eye

  • Reviewers compare faces, not substrates

    A person looks at whether the portrait resembles the applicant. Nobody looks at whether the portrait belongs to the card it sits on.

  • Phone-camera uploads hide the evidence

    A photograph of a Brazilian ID flattens detail and adds its own compression, which is exactly the signal an edit leaves behind. Ask for the original capture where you can.

  • Number checks pass on altered documents

    A well-formed number proves the structure is right. It says nothing about whether the name, photo or date printed beside it were changed.

What looks wrong on a Brazilian ID

  • 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.

  • Name and birth date fields that break the chronology

    Lay the name and birth date fields against every other date on the document and against when the file says it was created. Backdated and extended dates tend to land in an order no real issuing system would have produced.

  • 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.

  • Edges and corners that were rebuilt

    Rounded corners, laminate edges and background patterns are hard to recreate. Look for a pattern that breaks, blurs or repeats around the edited area.

What to expect on a genuine Brazilian ID before you test it

The CPF has eleven digits written XXX.XXX.XXX-DD, nine base digits followed by two check digits, and its ninth base digit relates to the fiscal region of registration. The card shows the name, an optional nome social, filiacao, date of birth, naturalidade, CPF, date of issue, signature, and photograph, and the CIN adds a QR code for authenticity checks.

The old RG was issued independently by each state, so its number format and layout vary by state and it may show the CPF separately or not at all. Old RGs remain valid during the transition, the CIN may be paper or plastic, and a nome social can appear beside the registered name, so several layouts coexist legitimately and each is judged against its own design.

A practical checklist for a Brazilian ID

  1. 1. Capture the whole card

    Photograph the card front and back flat at full resolution so the CPF, filiacao, and any QR code survive close analysis.

  2. 2. Validate the CPF

    Apply both mod-11 computations and reject repeated-digit sequences before relying on the number.

  3. 3. Match the variant

    Decide whether the document is an old RG or a CIN, and confirm its layout, number, and QR code fit that type.

  4. 4. Run a forensic check on the file

    The number carries the structural story, and the print carries the edit history. TamperCheck runs 300+ forensic checks including CPF validation and patch detection, returning a risk score from 0 to 100 with findings tied to specific regions of the image.

Brazilian ID fraud: your questions answered

How is a CPF validated?

It has eleven digits, with the last two being check digits computed by weighted mod-11 sums over the earlier digits. A number failing either computation, or made of one repeated digit, is not a valid CPF.

What changed with the CIN?

The Carteira de Identidade Nacional uses the CPF as the single national registration number and carries a QR code, replacing the state-by-state RG numbering. Old RGs remain valid during the transition.

Why do RG layouts differ between states?

The old RG was issued by each state with its own number and layout, so no single template applies. Analysis judges an RG against the pattern of its issuing state.

How does TamperCheck verify a Brazilian ID?

TamperCheck validates the CPF check digits, compares the layout with the card type, and inspects the filiacao, date, and portrait regions for patching. Uploads run through a single REST endpoint, are processed ephemerally and not stored, and findings tie to specific regions.

Which forensic checks matter most for a Brazilian ID?

It starts where forgeries of a Brazilian ID most often break: the CPF number and its two check digits; CPF numbers made of repeated digits; and edits to the name, birth date or parents' names. The rest of a Brazilian ID is covered by the general pixel, font and metadata layers.

What inconsistency should I check first on a Brazilian ID?

Look for a mismatch between the CPF check digits and the rest of the CPF number. Edits to a Brazilian ID usually change one side and leave the other as issued.

What do forgers usually edit on a Brazilian ID?

Portrait, CPF, and name and birth date fields are the usual targets on a Brazilian ID. Forgers copy the layout from a genuine specimen, so on a Brazilian ID the template rarely gives the edit away. The tell on a Brazilian ID is an altered portrait sitting on a surface whose noise, lighting and compression do not quite match the rest of the card.

Can a different person's photo be put on a Brazilian ID?

Yes, and portrait substitution is the most common identity swap on a Brazilian ID. The new face is usually composited onto a scan of a genuine card, and it seldom shares the surface texture and compression of the card around it, which is what portrait analysis on a Brazilian ID measures.

Is there a free way to check a Brazilian ID?

Partly. The free PDF Metadata Extractor shows which tool created or last saved a PDF of a Brazilian ID, and the checklist on this page covers portrait. A full verdict on a Brazilian ID runs on paid credits, and your first document is on us.

Inside the forensic analysis of a Brazilian ID

  • 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.

  • 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.

  • Barcode and QR payload comparison

    Encoded payloads are decoded and compared against the human-readable values printed alongside them. Editing the visible text without re-encoding the barcode is a common and highly detectable mistake.

  • And many more checks

    The three above are the layers that carry the most weight on a Brazilian ID. 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.

Check a document

Upload a PDF or a photo of Brazilian ID. 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 brazil_id. See the API and MCP documentation.

Often checked alongside

All supported document types