How TrustyFile analyses a document

TrustyFile is a free tool that looks for the technical traces of forgery in a PDF. It does not read the document the way a person does: it examines how the file was made, then weighs the evidence it finds. This page describes the method, and above all its limits.

Contents

  1. What gets examined
  2. Weighed evidence, not a checklist
  3. Knowing when to say "unverifiable"
  4. The one check that proves: the 2D-Doc signature
  5. What TrustyFile cannot do
  6. What happens to your documents

What gets examined

The uploaded file goes through more than a dozen detection modules, each one specialised in one kind of trace:

Weighed evidence, not a checklist

Every anomaly becomes a piece of evidence, weighted by its strength: a font changed in the middle of a word weighs more than a pass through an online compressor. The evidence is combined into a score from 0 to 100 and a risk level (low, medium, high or critical).

The type of document matters too. TrustyFile recognises an invoice, a pay slip, an identity document, and does not read a clue the same way everywhere: what is normal for a kind of document must not count against it.

The results page explains each finding in one sentence and outlines, on the document preview, the area it concerns.

Knowing when to say "unverifiable"

A flattened scan or a photo has no text layer, no fonts and no history: most checks have nothing to examine. Finding no anomaly then proves nothing, and TrustyFile shows "unverifiable", with no score, rather than a good score by default. Asking for the original PDF makes verification possible.

The one check that proves: the 2D-Doc signature

All the clues above make forgery more or less likely. A cryptographic signature is different in kind: when a document carries a 2D-Doc code, TrustyFile verifies its ECDSA signature offline, with the certificates published by the French ANTS. A valid signature establishes that the data in the code is the issuer's. The 2D-Doc guide details what that proves, and what it does not.

What TrustyFile cannot do

What happens to your documents

The file is analysed, then deleted. The results page is kept in memory only, and disappears after fifteen minutes without being viewed, one hour at most. Only the file's hash and the company identifiers (SIRET, VAT) may be sent to outside services (VirusTotal, INSEE, VIES) to check them.

The analysis on the site is free, with no sign-up. It is also available through the API, with a key: POST /api/v1/analyze returns the same JSON report as the results page.

Frequently asked questions

Is TrustyFile reliable?
TrustyFile finds the technical traces of editing and explains each one. It certifies nothing: a high score means few signs of manipulation, a low score deserves a manual check, and a document with no usable signal is marked unverifiable. A valid 2D-Doc signature is the only result that proves the data it covers is genuine.
Does TrustyFile keep my documents?
No. The file is analysed, then deleted; the result stays in memory for fifteen minutes without being viewed, one hour at most.
Can TrustyFile be used through an API?
Yes, with an API key: ask for one at contact@trustyfile.com. POST /api/v1/analyze takes a PDF and returns the analysis report as JSON, the same as the results-page download. Each key has a monthly quota of analyses. The documentation is at trustyfile.com/api/docs.

More guides

How to Spot a Fake Rental Application in France

Pay slips, tax notice, ID: how to check a French rental application document by document, and the papers a landlord is not allowed to ask for.

How to spot a tampered invoice

Edited amounts, altered dates, swapped bank details: the technical evidence that gives away a tampered invoice PDF, and how to check for it.

How to verify a proof of address

Utility, telecom and internet bills used as proof of address: the technical checks that reveal an edited document, and when the checks simply cannot apply.

How to tell if a PDF was modified

A PDF keeps a record of its successive saves: incremental revisions, ghost objects, two sets of metadata. Where to look to find out whether a file was edited.

2D-Doc: verifying French official documents

The 2D-Doc barcode on tax notices, pay slips and official certificates: what it contains, what it actually proves, and why it is different from every other check.

How to verify a pay slip

Fake pay slips in rental files and loan applications: payroll software fingerprints, arithmetic checks and the French 2D-Doc barcode that expose an edited document.

How to Verify a Bank Statement and Spot a Fake

Fake bank statements in loan files and private sales: balances, the software that made the PDF, the IBAN, salary credits — the checks that expose an edited statement.

Fake Bank Transfer Proof: How to Spot It

Selling to a stranger: a transfer screenshot, a fake bank email, a payment "on hold". Why a payment proof proves nothing, and the one check that counts.

How to Verify an ID Card or Passport Copy

An ID card or passport copy in an application: the MRZ and its check digits, consistency with the printed data, validity dates, edits to the file.

How to spot a fake IBAN on an invoice

Payment redirection fraud swaps the bank details on a genuine invoice. IBAN checksum, bank-code consistency and PDF tampering traces: how to check details received by email.

Supplier bank-detail change fraud: verifying a new IBAN

A supplier announces new bank details? How the fraud works, the warning signs in the message and in the attached document, and the checks to run before you pay.

How to verify a Kbis extract (French company registration)

Check a Kbis against the public registers (SIREN, directors, registered office, company status), spot a forged PDF, and know what a genuine Kbis does not prove.

How to verify a French tax notice (avis d'imposition)

Landlord or agency: verify a tenant's French income-tax notice with the tax office's online service (SVAIR), the signed 2D-Doc code and the other documents in the file.

How to verify an URSSAF vigilance certificate (France)

Checking a French subcontractor's attestation de vigilance: the 15-character security code on urssaf.fr, the six-month validity, and what the law requires of the client.

Analyse a document for free