Guide · PDF · ~6 min read

How to anonymize a PDF before you upload it to ChatGPT

A contract, a bank statement or a payslip in PDF carries names, ID numbers, emails and account numbers. Upload it as it is and all of that goes to the AI. Here is how to hide that data on your own computer first, and how to check what is still visible before you send anything.

Real ContextDeck Docs screen, with a sample document.

Why uploading the raw PDF exposes data

People often worry about a PDF’s metadata, such as the author or the software that created it. That is a separate topic. The bigger exposure is the text itself: when you upload a PDF to ChatGPT, Claude or Copilot, the AI reads every word on every page, including the client’s name, their ID number, email, phone, card and bank account.

Those details are rarely what you need the AI for. To summarise a contract or categorise a month of expenses, the AI needs the clauses and the figures, not who they belong to.

Three ways to do it

For a longer comparison, read local app or browser extension?

Step by step with ContextDeck Docs

  1. Drop the PDF into the app. ContextDeck Docs is a Windows app. It converts the PDF into text with headings and tables intact, on your computer.
  2. Let it hide the data. It hides ID numbers from 32 countries (including RUT, DNI, NIE, CURP, RFC, CPF, CUIT and NIT), emails, phone numbers, cards and bank accounts. You add your clients’ and companies’ names once, and they are hidden in every document.
  3. Review before you copy. You see what was hidden and what is still visible, and you hide anything left in view with one click.
  4. Copy and paste into the AI. Paste the text into ChatGPT, Claude or Copilot with your question. The same placeholder (for example “ID 1”) always stands for the same person across a client’s documents.

The PDF is not uploaded anywhere: the app only goes online to check your license and look for updates, never with a document. Every conversion leaves a dated record of what was hidden, without storing the original values.

Before you install anything, you can check a snippet first with the free personal data detector. It runs in your browser and uploads nothing.

Text-based PDFs and scanned PDFs

A text-based PDF is one exported from Word or most business software: you can select its text. These convert on the Free plan.

A scanned PDF or a photo of a document is an image of the page. It needs Pro: the text is read with OCR on your own computer, in English and Spanish. More on converting PDFs in how to convert PDF to Markdown for ChatGPT.

On the Free plan the app marks personal data but does not hide it (up to 3 files at a time, 30 a month). Hiding before you copy is part of Pro, with a 14-day trial and no card.

What it does not catch, and why you review

Not sure what counts as personal data in your documents? Read what personal data to hide before pasting into an AI. If you work with contracts and case files, see ContextDeck for lawyers.

Frequently asked questions

Is it safe to upload a PDF with client data to ChatGPT?

When you upload a PDF, everything written in it goes to the AI service, including names, ID numbers, emails, phone numbers and bank accounts. Hiding that data on your own computer first reduces the risk of exposing it. It is not legal advice.

Does it work with scanned PDFs?

Yes, with Pro: scanned PDFs and photos are read with OCR on your own computer, in English and Spanish. On the Free plan, text-based PDFs convert directly.

Does it hide names automatically?

It hides ID numbers, emails, phone numbers, cards and bank accounts automatically. Client and company names are added once, or selected during the review. It does not recognise a name inside a paragraph by itself, so you review what is still visible before you copy.

Is it free?

The Free plan converts text-based PDFs and marks personal data (up to 3 files at a time, 30 a month), but it does not hide the data. Hiding it before you copy is part of Pro, with a 14-day trial and no card.

Does this make me compliant with data protection law?

No. ContextDeck reduces the risk of exposing personal data when you use AI and keeps a record of what you did. It is not legal advice and does not replace the legal review your own jurisdiction requires.

Keep reading

ContextDeck reduces the risk of exposing personal data when you use AI and keeps a record of what you did. It is not legal advice and does not replace the legal review your own jurisdiction requires.

Try it on a sample PDF

Try Pro free for 14 days, no card. You download the Windows app and your documents are processed on your PC.

Download for Windows