Book a call
DETAILED PSEUDONYMOUS AND ANONYMOUS DOCUMENT MASKING · ON-PREMISE

Share the document.
Keep the secrets
in-house.

The last check before a document leaves: for scanned bank, legal and corporate documents bound for a court, an auditor, a data subject, an AI tool or the archive.

96%of secret fields fully masked, nothing left open
1,011fields measured on 77 full pages never seen in training
~1 minper page, even on Chinese, stamped, badly scanned documents

mascdoc reads scanned and digital PDF and TIFF documents with our own unified OCR, finds the parties’ names, addresses, account and reference numbers with models trained on our own data, and masks them with consistent pseudonyms without breaking the layout. All of it happens on your computer or server.

Runs locally: the document stays with you, not even we see it. Only the masked copy is shared.
A REPRESENTATIVE COMMERCIAL INVOICE1 / 1

COMMERCIAL INVOICE   No: INV-7311-80952

Seller: MERIDIAN EXPORT CO., LTD.
12 Lake Avenue, Ningbo, CHINA

Buyer: DERİN DOKUMA SAN. VE TİC. A.Ş.
L/C No: LC9183025   Bank: DELTA BANKASI

Port of loading: NINGBO   Amount: USD 45,674.37

✓Six fields replaced with stand-ins of the same shape. Port and amount stay readable.
mascdocCOPY TO SHARE

Representative example. Not a real customer document.

Scroll down: why it exists, how it works, how good it is
01 Scanned PDF and TIFF02 Turkish, English, Chinese · Russian, Arabic, Hindi in testing03 Local (on-premise), consistent pseudonyms04 Mac · Server · Docker

NOT A SIMPLE PDF

Anyone can mask a clean PDF.
We mask the difficult document.

Most document masking tools on the market are built for tidy PDFs whose text can be selected. The documents a bank holds are scanned, stamped, patterned and multilingual. Below you see both side by side; the same product masked them.

01 / THE EASY ONE

A simple digital PDF

Simple digital PDF: a customer information form
Before
The simple PDF masked
After mascdoc

The text is selectable, the layout is clean, the fields are labelled. This is the easy part; most tools work here.

02 / WHAT WE DO

A true-to-life certificate of origin

mascdoc output of the certificate of origin: exporter, consignee, numbers, Chinese seal and QR code covered
After mascdoc

A patterned security background, overlapping stamps, Chinese and English, a handwritten signature, a QR code. mascdoc covered the exporter, consignee, serial and invoice numbers, the Chinese seal and the QR code; the expert added two small areas on the review screen. Sample: prepared after real examples; party names, numbers and goods are fake. The signature, the seal and a few small traces were also blacked out by hand for publication.

Why do most tools stop at simple PDFs?

01

There is no text to read.

A scanned document has no selectable text. A tool that looks at the text layer finds nothing here. The page first has to be read correctly: under the pattern, the stamp and the signature.

02

Patterns are not enough.

IBANs and ID numbers can be found with a pattern. Company names, addresses and personal names cannot; telling them apart takes a model that knows the language of the document.

03

One language is not enough.

Turkish, English and Chinese on the same page. mascdoc replaces a Chinese name with a Chinese pseudonym. We are trying Russian, Arabic and Hindi documents in our test editions.

04

Off-the-shelf models never saw this document.

General models are trained on clean, single-language text. Ours were trained on trade-finance documents on our own hardware, and training continues as new documents arrive.

MANUAL REDACTION

A black box doesn’t delete data.
We rebuild the page.

In 2025–2026 the Epstein files showed how even the most careful institutions struggle with manual redaction. mascdoc output carries no text layer, metadata or hidden attachments.

01

934–1,000 personnel

That’s how many people the FBI put on manual review to prepare the Epstein files; it paid $851,344 in overtime in a single week.

02

43 of 47 names

In the February 2026 release, 43 of the victim names checked by the WSJ had not been redacted.

03

Copy, paste

On some pages, the text under the black boxes could be copied and read. That can’t happen with mascdoc output: in our internal test the text layer was 0 characters.

All incidents and sources →

MOST IMPORTANT: IT RUNS LOCALLY · ON-PREMISE

Local document masking.
Your document stays with you.

On-premise: on your own computer or server.

Reading, detection, masking and verification happen on the same machine. The document is not uploaded to any cloud service.

Not even to us.

mascdoc never sees or keeps your documents and does not train its models on them. After installation, no requests go out.

Air-gapped, too.

It runs in banks’ closed networks, on servers with no internet connection. The only thing that leaves is the masked copy you approve.

MASCDOC · MOBILE · COMING

Wherever your document is.
Privacy will go with you.

Our next step is the phone: scan a physical document with the camera and mask simple documents right on the phone, without the cloud; for heavier work, hand the document over to mascdoc on your computer.

⌕

Local masking on the phone

Light detection and OCR models will run on the phone; simple documents will be masked without going to the cloud.

↗

Hand over to the computer

A document captured on the phone will move to mascdoc on the computer for advanced masking and review.

⌑

The same privacy approach

One workflow from phone to desktop; the document never leaves your own devices.

Phone and computer will be two parts of the same masking workflow.
MOBILE → MASCDOC DESKTOP · DESIGN
▰mascdocLOCAL

COMMERCIAL INVOICE

Seller: ORNEK TRADING LTD.

IBAN: TR12 0006 1005 1978

Buyer: ORNEK TEKSTIL A.S.

Amount: USD 45,674.37

ON-DEVICE PROCESSING
CAMERA READY
▰mascdoc desktop● LOCAL

Document received: ready to open on the review screen.

Tap the steps: scan, mask, hand over. Illustrative design.

LANGUAGES

Several languages on one page.
Each masked in its own script.

In the product

  • Turkish
  • English
  • Chinese

In the test edition

  • Russian
  • Arabic
  • Hindi

A Chinese company name becomes a Chinese pseudonym and its Latin-script name a Latin one; the same party gets the same name everywhere.

CONTINUOUS TRAINING

700+

new documents on the way; training continues.

We retrain our models with newly arriving documents. Every new document type and language makes the product a step stronger. Training runs on our own hardware; documents never go to a cloud.

ON A TRUE-TO-LIFE SAMPLE

Not with clean samples.
With true-to-life ones.

A Chinese header, an overlapping stamp, the same company name in two languages, a stamped and skewed scan: these are the documents mascdoc handles. Use the buttons to switch between the sample itself and the black-bar and pseudonym outputs.

mascdoc output, black bars: company names, address, tax number, phone, buyer, invoice and letter-of-credit numbers coveredSAMPLE
A commercial invoice prepared after real examples. Party names, tax number, address, phone, invoice and letter-of-credit numbers and the goods are fake; the signature was removed for publication. Look at the sample first, then mascdoc’s black-bar and pseudonym outputs: the Chinese and English company name, the stamp and every number were found; quantity and amount stay readable.

01 — WHY MASCDOC

No more work waiting
because of secrets.

At a bank, a law firm or a company, documents want to leave every day: to cloud OCR, AI analysis, a correspondent bank, an auditor, the software team’s test environment. Each time someone has to clean them by hand. mascdoc makes that fast, consistent and recorded.

01 / CLOUD AND AI

Move to the cloud
and AI, safely.

The masked copy carries no secret values. It can go to cloud OCR, document analytics, an LLM, an outside advisor or a test environment. Your institution gets the speed of these tools without exposing a customer’s name or account.

See the data flow →
02 / TIME AND COST

Hours of redaction
become minutes.

With manual masking an expert reads and blacks out a file of dozens of pages line by line. mascdoc processes a page in about a minute; your expert only checks the few flagged places. Expert time goes into decisions, not into redrawing documents.

Compare with manual masking →
03 / CONSISTENCY

The same party,
the same name everywhere.

A company gets the same pseudonym on every page and in every document of the file. Invoice, bill of lading and letter of credit still read as one set, so analysis on the masked documents stays sound.

How consistency works →
04 / EVIDENCE

Every decision
leaves a trace.

The masked output is read again; if a party name is still visible, the document is held back. Which field was closed by which method goes into an audit log. Manual masking leaves no such trace.

Security details →

Manual masking and mascdoc

Manual maskingmascdoc
TimePage by page, line by line; a large file takes an expert’s dayAbout a minute per page; the expert only checks flagged places
ConsistencyVaries from person to person and day to daySame rules, same models, the same care on every page
Across documentsThe same company is masked in one document and forgotten in anotherThe same party gets the same pseudonym in every document
ReadabilityBlack bars make the document uselessWith pseudonyms the document stays readable and analysable
EvidenceNo record of who masked what and whyAn audit log with method and confidence for every field
Final checkA missed name leaves with the documentThe output is read again; when in doubt it is not shared

02 — CONSISTENCY

The same party,
the same pseudonym everywhere.

Consistency is what keeps a masked document usable. mascdoc recognises a party once and replaces it the same way everywhere.

01 / WITHIN A DOCUMENT

The same name on every page.

A seller that becomes “MERIDIAN EXPORT” on page one is still “MERIDIAN EXPORT” on page thirty. Its address, bank account and references change the same way.

02 / ACROSS DOCUMENTS

The file stays one whole.

The consistency register gives the same party the same pseudonym across the invoice, bill of lading, letter of credit and SWIFT message of one customer file. The masked file reads as connected as the original.

03 / SPELLING VARIANTS

Different spelling, same party.

“A.S.” and “A.Ş.”, titles that lost Turkish characters and letters broken by OCR are tied to one party. A party’s short and long names are not invented separately.

04 / FORMAT IS KEPT

A bank still reads as a bank.

Bank names come from a fixed pool of bank names, companies stay companies, numbers keep their length and format. Amounts, ports, goods and dates stay as they are.

03 — WHICH DOCUMENTS

Built for
the hardest documents.

Banking, legal and corporate documents are multilingual, multi-column, stamped and often badly scanned. mascdoc was trained and measured on the hardest of them, trade-finance documents.

01

Banking, legal and corporate documents

From letters of credit, bills of lading and SWIFT messages to account statements, loan files, letters of guarantee and receipts; from contracts, powers of attorney, petitions and court decisions to invoices, HR files and supplier correspondence. Dozens of pages in one file, each in a different layout.

02

Languages and scripts

Turkish, English and Chinese on the same page. Chinese company and bank names, titles that lost their Turkish characters, different spellings of the same party: “ÖRNEK KATILIM BANKASI A.S.” and “Örnek Katılım Bankası A.Ş.” are one party.

03

Scan defects

Skewed or low-resolution scans, text running over stamps and signatures, multi-column forms, long addresses split across lines, words glued together and reference numbers read as “N0.” instead of “NO.”.

04 — OUR OWN TECHNOLOGY

From reading to deciding,
every layer is ours.

We saw the mistakes general-purpose cloud services make on these documents and rebuilt every layer for them.

01 / UNIFIED OCR

One reader is not enough
for these documents.

Our own unified OCR layer runs several reading models together: the one that best recovers the page layout is combined with the one that reads text most accurately, and hard pages get a second opinion. Our trade-document correction rules sit on top. Turkish, English and Chinese are read in the same pass.

02 / TRAINED BY US

Trained by us,
on our own hardware.

We trained our models ourselves. We labelled and checked hundreds of pages of trade-finance documents. All training ran on our own hardware, an NVIDIA DGX Spark; no document ever went to a cloud. The result is models that know the language of these documents: GLiNER and BERT find companies, banks, people, addresses and reference numbers despite OCR errors. We keep training as new documents arrive.

03 / OUR OWN JUDGE LLM

A language model weighs
what is uncertain.

A language model we trained on our own data decides on uncertain findings by looking at the whole page: is this a party’s name, or a port or boilerplate? In our internal test it cleared about 60% of unnecessary masks while touching only 3 in 1,000 real fields. Coming to the server edition.

04 / RULES AND VERIFICATION

Rules for what is certain,
re-reading for the last check.

Fixed formats such as IBAN, SWIFT/BIC, tax number, phone and e-mail are found by rules. The masked output is read again; if a party name shows from under a mask, the document is set aside for review rather than shared silently.

05 — FOUR LAYERS, ONE AIM

Miss nothing.
Let any excess stay on the safe side.

Leaving a secret visible costs far more than covering one extra word. That is why mascdoc is tuned not to miss.

01

Read

Reads the scanned page word by word, with positions, using our own unified OCR. Flags pages it cannot read.

02

Rules

IBAN, SWIFT/BIC, tax numbers, phones, e-mails and document numbers are found with exact rules.

03

Trained models

Models we fine-tuned on our own data from trade documents find companies, banks, people and addresses. Every finding carries a confidence score.

04

Mask and flag

Values are replaced with look-alike substitutes that fit the layout, or covered with a black bar. Places the model is unsure about are flagged for review.

06 — PEOPLE AND AI, TOGETHER

AI proposes.
Your expert approves.

mascdoc scans and masks thousands of words in a document within minutes. Your expert doesn’t check all thirty pages, only the few places that are flagged. Nothing is shared until it is approved.

POSSIBLE MISSES

Risk comes first.

Values the model saw with low confidence and left open sit at the top of the list. If one is secret, a single click masks it.

POSSIBLY EXCESS

Extra stays on the safe side.

Uncertain findings arrive masked. You can open the ones that aren’t secret, like a port name or contract wording; if you leave them, nothing leaks.

APPROVAL

You have the final say.

Draw a box over anything missed and the document is masked again. On approval the original copy is deleted from the job folder.

07 — WE CLAIM ONLY WHAT WE MEASURED

Numbers,
with the method.

Measured on trade-finance documents never seen in training. Every page was fully labelled, and a field only counts as covered when every character is masked.

%96of fields fully covered

Across 1,011 secret fields on 77 full pages from 12 documents unseen in training, through the complete product pipeline.

~1minute per page

On an Apple Silicon Mac with high-resolution OCR; a ten-page bill of lading takes 7–10 minutes. Faster on a GPU server.

0cloud calls

In an institutional installation every step, OCR included, runs on the institution’s own machines.

Internal measurement; results vary with document type and scan quality. Most missed fields are a single piece of a long address, which is why we recommend using mascdoc with the review screen and human approval. Complete detection is not guaranteed.

08 — DESIGNED FOR INSTITUTIONS

The document stays inside.
So does the decision.

01 / LOCAL

No internet
connection needed.

Models ship with the installer. Nothing is sent out while it runs; it works inside a bank network and on offline servers.

02 / LAYOUT

A document still
looks like one.

Stand-in values are written in the same place at the same size. Port, amount, goods and dates stay readable, so the document stays useful.

03 / VERIFICATION

When in doubt,
it does not release.

The masked output is read again. If a party name shows or a page could not be read, the document is set aside for review instead of being shared silently.

04 / AUDIT TRAIL

See what was masked
and why.

Each document gets an audit record of which field was found by which method; original values never enter the shared report.

09 — FREQUENTLY ASKED

Short questions.
Clear answers.

Which documents does it handle?

Scanned or digital PDF and TIFF. Banking documents (letters of credit, bills of lading, SWIFT messages, account statements, loan files, letters of guarantee), legal documents (contracts, powers of attorney, petitions, court decisions) and corporate documents (invoices, HR files, supplier correspondence). Our measurements were made on the hardest type, trade-finance documents, including mixed Turkish, English and Chinese pages.

Does it mask more than needed?

Sometimes, yes. mascdoc is tuned not to miss; it masks a doubtful word rather than leave it open. These extras sit in the “may be extra” list on the review screen and open with one click. The judge language model we trained on our own data cleared about 60% of them in our internal test; it is coming to the server edition.

Which computers does it run on?

The desktop edition runs on Apple Silicon Macs (16 GB of memory or more recommended); the server edition runs on Linux, where an NVIDIA GPU speeds it up but is not required. For Windows, request it and we will prepare it for you.

Why is human review needed?

In scanned documents, ink, stamps and poor scans can break the reading. In our measurements the great majority of fields are covered automatically; your expert closes the small remainder in a few minutes. For banks this is the safest arrangement: machine speed, human judgement.

Is it trained on our data?

No. The product does not keep or send out your documents to learn from them. In the enterprise edition, only if you ask and with your permission, the models can be tuned to your documents inside your own environment.

What is the difference between Prompt Masking and mascdoc?

mascdoc reads a scanned or digital document and masks it permanently; the output is the copy you share outside. Prompt Masking works on text and prompts and can reverse the mask with a key, so context is kept while you work with AI.

Why is manual masking not enough?

Manual masking is slow, varies from person to person, and attention fades over a long file: the same company is masked on one page and forgotten on another. Black bars make the document unreadable and leave no record of who masked what and why. mascdoc applies the same rules with the same care on every page, keeps the document readable with pseudonyms and logs every decision; your expert only checks the flagged places.

How is consistency kept across documents?

The same real party gets the same pseudonym on every page of a document. With the consistency register on, the mapping also holds across separate documents: the invoice, bill of lading and letter of credit in one file carry the same pseudonym for the same customer. Spelling variants (“A.S.” / “A.Ş.”, titles that lost Turkish characters) are tied to one party; bank names come from a fixed pool of bank names, so a bank still reads as a bank.