CloakLM is a free, open-source desktop app that strips names, SSNs, and addresses from your PDFs on your device, then lets you chat with Claude, GPT, Gemini, or a fully offline model. W-2s, 1099s, medical bills, bank statements: the AI sees [PERSON_1], you see the real names.
Every feature designed around one principle: your PII never leaves your device.
Group related PDFs into projects. Start multiple chats against the same document set, and pick exactly which docs provide context for each conversation.
Pass 1 uses GLiNER + IBM Docling to scan locally in seconds. Pass 2 deploys a local Ollama LLM to catch what rule-based models miss — names in unusual formats, partial SSNs, addresses without standard suffixes.
The Review Panel shows exactly what was redacted and by which pass. Accept or dismiss deep scan suggestions, manually redact additional text by selecting it, and see the raw anonymized output the LLM will receive.
When the AI responds, CloakLM replaces [PERSON_1] with the real name on your screen — but the LLM never saw it. Switch between Claude, Gemini, OpenAI, or local Ollama models mid-conversation.
Connect API keys for Claude, Gemini, or OpenAI — or run fully offline with Ollama. Keys are stored locally on your device and requests go directly to the provider you choose. No middleman server, ever.
A multi-layer pipeline ensures nothing slips through.
Drop PDFs into a quick chat or organize them into projects for ongoing work.
GLiNER + regex (instant), then optional local LLM deep scan for contextual PII.
Inspect every redaction. Accept, dismiss, or manually add more before sending.
Anonymized text goes to the LLM. Responses are de-anonymized on your device.
Practical answers for using AI with your personal documents.
What a W-2 exposes, what happens to files you upload, and how to get AI help without handing over your SSN.
How-toWhy a black box doesn’t remove anything, how to redact properly, and how to check it worked.
Redaction always runs on your device. If you chat with Claude, GPT, or Gemini, only the anonymized text, with placeholders like [PERSON_1] and [SSN_REDACTED], is sent, directly to that provider. If you use a local Ollama model, nothing leaves your computer at all.
CloakLM detects Social Security numbers, EINs, names, addresses, emails, and phone numbers, and keeps dollar amounts intact so the AI can still do the math. Automated detection is not perfect, so open the Review panel and check the “Raw Output to AI” tab before you send. That tab shows exactly what the AI will receive, and you can redact anything else by selecting it.
No. Detection is automated and very good, but no tool catches everything, especially in scanned or unusual documents. That is why CloakLM shows you the exact text it will send before anything leaves your computer. Always check it. See the full disclaimer.
Yes. Before a message is sent, CloakLM replaces any names or numbers it found in your documents, then runs a final pass for SSNs, emails, phone numbers, and street addresses. It is still best not to type new personal details the app has never seen.
Anthropic Claude, OpenAI GPT models, and Google Gemini using your own API key, or any local model you run with Ollama for fully offline use.
Yes. CloakLM is free and open source under the MIT license. If you use a cloud model you pay that provider for API usage at their normal rates; local Ollama models cost nothing.
Yes. Redaction is always local, and with an Ollama model the chat is fully offline too.
macOS on Apple Silicon (M1 or newer) and 64-bit Windows. CloakLM currently works with PDF files.
In CloakLM's settings file on your own device. Keys are only ever sent to the provider they belong to; there is no CloakLM server.