CodeMask is a local-first tool that masks sensitive identifiers and text before sending content to LLMs, with full reversibility. Keep your secrets safe while leveraging AI.
Everything runs on your machine. No data leaves your computer. Your secrets stay secret.
Mask your code, send to AI, get response, unmask everything back to original. Perfect roundtrip.
Understands code structure. Preserves syntax. Works with JavaScript, TypeScript, Python, and more.
Mapping stored locally with encryption. Keys in OS keychain. Enterprise-grade security.
Built with Tree-sitter for fast parsing. Handles large codebases efficiently.
Supports JavaScript, TypeScript, Python, Java, Go, C++, Rust, Ruby, PHP, SQL, and more.
Copy your code or text into CodeMask. Select the language or use text mode.
Choose auto-mask or select specific identifiers. CodeMask replaces them with opaque tokens.
Copy the masked code and send it to ChatGPT, Claude, or any LLM. Your secrets are safe.
Paste the AI response back into CodeMask and unmask to restore original identifiers.
Available for Windows, macOS, and Linux. Download the latest version v1.0.0