CodeMask
Anonymize code for LLMs
Only for Mac
Free · In‑App Purchases
Mac
Protect your code when using AI. Anonymize files, snippets, or whole projects in Swift, Kotlin, and Dart — 100% offline. Mask first, paste, then restore.
Stop leaking proprietary code logic and sensitive data to AI chatbots. CodeMask is a macOS utility for developers who want to use Large Language Models without compromising their intellectual property, commercial secrets, or security compliance.
LLMs are great for debugging, refactoring, and architecting code, but pasting proprietary source code into them is a real privacy risk. CodeMask strips sensitive information from your source files, text snippets, or entire project folders and creates an anonymized version that keeps the code's structure and logic. Paste the safe code into the AI, get your answer, and restore the original identifiers on your own Mac.
HOW IT WORKS
1. Anonymize: Drag in source files, paste raw text, or drop a whole project folder onto the blue "Anonymize" zone.
2. Share: CodeMask instantly generates a masked version, replacing custom types, strings, comments, emails, IPs, and secrets with placeholders.
3. Get AI Help: Copy the masked code and paste it into any LLM.
4. Restore: Paste or drop the AI's response onto the green "Restore" zone. CodeMask uses its local mapping to turn every placeholder back into your original identifiers.
Or skip the window entirely: press ⌥⇧⌘M in any app to mask your clipboard, and press it again on the AI's answer to restore it.
KEY FEATURES
* Magic Pipeline (PRO): One global shortcut (⌥⇧⌘M) masks the code on your clipboard, ready to paste. Copy the AI's reply, press it again, and your original code is back on the clipboard. Works from any app.
* Multi-Language Support: Swift is included for free. Kotlin and Dart support (PRO) makes CodeMask a fit for native iOS, Android, and Flutter developers.
* Project Mode (PRO): Drop an entire directory or module. CodeMask recursively processes code files, skips noise (.git, Pods, node_modules, DerivedData), and applies one consistent mapping across the whole codebase.
* Smart Anonymization: Masks custom types (classes, structs, enums, protocols), string literals, and comments, while keeping MARK: comments for structure. Function and variable masking is available as an experimental option in Settings.
* Sensitive Data Scrubbing: Detects and replaces email addresses, IP addresses, and hardcoded secrets (API keys, tokens, passwords).
* Custom White-list (PRO): Keep project-specific words readable, globally or per language.
* Persistent Sessions & The Vault: Each run belongs to a Session with its own local mapping. Browse your history in the Vault sidebar and restore AI-generated code later, even after restarting the app.
* Precise Restore: Placeholders are matched longest-first, so overlapping identifiers restore correctly.
* Git Diff Support: Anonymize Git diffs for PR reviews or debugging while masking file paths and author metadata and keeping +/- markers intact (optimized for Swift). PRO keeps diff metadata restorable so the result still applies with git apply.
* Native macOS Experience: A clean SwiftUI split view with drag and drop, Quick Look (Space), keyboard shortcuts (⌘C to copy, Delete to remove), Reveal in Finder, and a built-in editor for quick snippets.
The free version supports Swift and keeps up to 10 files in the Vault. Upgrade to PRO once to unlock everything above.
100% OFFLINE. BUILT FOR PRIVACY.
CodeMask is fully sandboxed and runs entirely on your Mac with no network access. Your source code, its logic, and the generated mappings never leave your computer. You can verify this with any local network monitoring tool.
Stop risking your IP. Mask first, then paste.
Ratings & Reviews
- This app hasn’t received enough ratings or reviews to display an overview.
NEW: Magic Pipeline (PRO)
Press ⌥⇧⌘M in any app to mask the code on your clipboard, ready to paste into your AI chat. Copy the AI's answer and press ⌥⇧⌘M again: CodeMask recognizes its placeholders and puts your original code back on the clipboard. No window switching, no drag and drop.
IMPROVEMENTS
• Native sidebar navigation: arrow keys, ⌘C copies the selected file, Delete removes it, Return or double-click opens it
• The newest masked or restored file is now selected automatically
• Deleting a mapping file now asks for confirmation, because restoring that session depends on it
• Esc closes the Manual Text editor
• Cleaner PRO badge, clearer tips and Settings descriptions
The developer, Yurii Sushko, indicated that the app’s privacy practices may include handling of data as described below. For more information, see the developer’s privacy policy .
Data Not Collected
The developer does not collect any data from this app.
Accessibility
The developer has not yet indicated which accessibility features this app supports. Learn More
Information
- Seller
- Yurii Sushko
- Size
- 3.5 MB
- Category
- Developer Tools
- Compatibility
Requires macOS 26.4 or later.
- Mac
Requires macOS 26.4 or later.
- Mac
- Languages
- English
- Age Rating
16+
- 16+
- In-App Purchases
Yes
- CodeMask Pro $9.99
- Copyright
- © 2026. Sushko Yurii
