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
Redact by hand in a PDF editor. You find each name and number and black it out. It needs no new tool if you already have an editor with real redaction, and you see exactly what you removed. But it is slow, page by page, it is easy to miss one occurrence, and a black box drawn on top of the text is not the same as removing it: use a redaction tool that deletes the text underneath.
A browser extension that works on pasted text. It watches what you paste on the AI site and offers to hide personal data first. Easy to start, but it only covers the sites it supports, it works on text you have already copied out of the PDF, and it asks for permissions on the pages you visit. Check where its detection runs before relying on it.
Convert the PDF on your PC and hide data before the text is created. A desktop app turns the PDF into text, hides the data on your computer and shows you the result before you copy it. It works with files and does not depend on which AI you paste into. It is one more app to install, and you still need to review the result.
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.
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.
Review before you copy. You see what was hidden and what is still visible, and you hide anything left in view with one click.
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
It does not recognise a name inside a paragraph by itself. That is why you add the names once, or select them during the review.
Detection is never perfect in any tool. The review screen shows what was hidden and what is still visible, so you decide before anything is copied.
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.
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.