https://github.com/sane-apps/SaneClip
Clipboard manager for macOS
https://github.com/sane-apps/SaneClip
clipboard clipboard-manager developer-tools macos macos-app open-source pasteboard productivity swift swiftui
Last synced: 3 months ago
JSON representation
Clipboard manager for macOS
- Host: GitHub
- URL: https://github.com/sane-apps/SaneClip
- Owner: sane-apps
- License: other
- Created: 2026-01-18T03:31:53.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2026-03-27T15:20:53.000Z (3 months ago)
- Last Synced: 2026-03-28T00:48:02.414Z (3 months ago)
- Topics: clipboard, clipboard-manager, developer-tools, macos, macos-app, open-source, pasteboard, productivity, swift, swiftui
- Language: Swift
- Homepage: https://saneclip.com
- Size: 70.3 MB
- Stars: 10
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
- Support: docs/support.html
Awesome Lists containing this project
- awesome-swift-macos-apps - SaneClip - apps/SaneClip?style=flat&label=" /> <img align="bottom" height="13" src="https://img.shields.io/github/last-commit/sane-apps/SaneClip?style=flat&label=" /> - Clipboard manager with AES-256 encryption, Touch ID lock, and local-only history. (Clipboard / Text)
README
# π SaneClip
### The Only Clipboard Manager That Takes Privacy Seriously
**AES-256 encryption Β· Touch ID protection Β· On-device by default Β· No personal-content upload**
[](https://github.com/sane-apps/SaneClip/stargazers)
[](LICENSE)
[](https://www.apple.com/macos/)
[](https://saneclip.com)
[-black?style=flat-square)](https://github.com/serhii-londar/open-source-mac-os-apps)
> **β Star this repo if you find it useful!** Β· **[π° Buy for $6.99](https://saneclip.com)** Β· Takes 30 seconds, keeps development alive

What's New β’
Features β’
Security β’
Automation β’
---
## π¨ The Problem
Most clipboard managers are **security nightmares**:
- β Store your passwords, API keys, and credit cards in **plaintext**
- β Send your clipboard data to the **cloud**
- β Track everything you copy with **analytics**
- β Let **any app** access your clipboard history without permission
**You deserve better.**
---
## β
The Solution
SaneClip is the **first clipboard manager** built with security as the foundation:
| Security Feature | What It Does |
|------------------|--------------|
| **π AES-256-GCM Encryption (Pro)** | Encrypts your clipboard history at rest. Even if malware accesses your disk, it can't read your clips. |
| **π Touch ID History Lock (Pro)** | Locks history behind biometrics. 30-second grace period means no repeated prompts. |
| **π‘οΈ Keychain Integration** | All secrets (webhook keys, encryption keys) stored in macOS Keychain β never in JSON files. |
| **π« HTTPS Enforcement** | Webhooks must use HTTPS (localhost exempt for testing). No accidental plaintext transmission. |
| **β οΈ URL Scheme Confirmation** | Destructive commands (copy, paste, clear) require user approval. No silent data loss. |
| **π΅ App Exclusions** | Block 1Password, banking apps, or any sensitive app from clipboard capture entirely. |
| **π΅οΈ Sensitive Data Detection** | Automatically flags credit cards, SSNs, API keys, passwords, private keys. |
**On-device by default. Optional iCloud sync between your devices. No clipboard-content upload to SaneApps. A few simple anonymous app counts help us improve the app.**
---
## π What's New in v2.1
**Security Hardening + iOS Companion App (Feb 2026)**
- β
**History Encryption-at-Rest** β AES-256-GCM encryption available in Pro
- β
**Keychain Integration** β All secrets stored securely in macOS Keychain
- β
**URL Scheme Confirmation** β Destructive commands require user approval
- β
**HTTPS Enforcement** β Webhooks must use HTTPS
- β
**Seamless Migration** β Existing plaintext data auto-migrates to encrypted format
- β
**Paste Stack Order** β FIFO/LIFO modes for paste stack
- β
**Open at Cursor Mode** β Optional setting to open history at your mouse cursor
- β
**iOS Companion App** β Free iPhone/iPad app with iCloud sync (now live on the App Store)
- β
**macOS & iOS Widgets** β Recent and Pinned clips on your desktop and Home Screen
---
## π§Ύ Free vs Pro (Current)
### Free includes
- Clipboard history (last 50 items)
- Standard paste with original formatting
- Search and source-aware filtering
- Optional "open at mouse cursor" launch mode
- iPhone companion app with iCloud sync
- On-device privacy defaults
### Pro adds
- Unlimited history
- Touch ID history lock
- History encryption (AES-256-GCM)
- Smart paste + plain text paste
- Text transforms
- Paste stack (FIFO/LIFO)
- Snippets with placeholders
- Pin items + item notes
- Clipboard rules
- Export and import
---
## β‘οΈ Features
### Keyboard-First Design
- **ββ§V** β Open clipboard history
- **ββ1-9** β Paste items 1-9 instantly
- **ββ§β₯V** β Paste as plain text
- **ββV** β Paste from stack (oldest or newest first β configurable in Settings)
- **ββ or j/k** β Navigate through history
### Smart Snippets
Create reusable text templates with dynamic placeholders:
```
Hello {{name}},
Thank you for your {{reason}}.
Today's date is {{date}}.
Best regards,
{{clipboard}}
```
**Built-in placeholders:**
- `{{name}}` β Prompts for input when pasting
- `{{date}}` β Auto-fills current date
- `{{time}}` β Auto-fills current time
- `{{clipboard}}` β Current clipboard content
### Text Transforms
Right-click any text item and choose "Paste As..." to transform before pasting:
| Transform | Description |
|-----------|-------------|
| UPPERCASE | Convert to all caps |
| lowercase | Convert to all lowercase |
| Title Case | Capitalize each word |
| Trimmed | Remove leading/trailing whitespace |
| Reverse Lines | Reverse order of lines |
| JSON Pretty Print | Format JSON with indentation |
| Strip HTML | Remove HTML tags, keep text |
| Markdown to Plain | Strip markdown formatting |
### Clipboard Rules
Automatic processing applied to every copy:
- **Strip URL Tracking** β Removes utm_*, fbclid, gclid, etc.
- **Auto-Trim Whitespace** β Remove leading/trailing whitespace
- **Lowercase URLs** β Convert URLs to lowercase
- **Normalize Line Endings** β Convert to consistent line breaks
- **Remove Duplicate Spaces** β Collapse multiple spaces
### Organization
- **π Pin Favorites** β Keep frequently-used text always accessible
- **π Instant Search** β Filter by content, source app, or date
- **π¨ Source-Aware Colors** β Every clip is color-coded by source app (Messages green, Safari blue, Mail red, and more)
- **π± App Source Attribution** β See which app each clip came from
- **π Duplicate Detection** β Identical clips automatically consolidate
- **π Paste Count Badges** β Track how many times you've used each item
- **β±οΈ Auto-Expire** β Delete old items after 1h, 24h, 7d, or 30d
- **πΌοΈ Image Capture** β Copies images too, not just text
### macOS Widgets
Add SaneClip widgets to your desktop or Notification Center:
| Widget | Sizes | Description |
|--------|-------|-------------|
| **Recent Clips** | Small, Medium | Shows your 3-5 most recent clipboard items |
| **Pinned Clips** | Small, Medium | Quick access to your pinned favorites |
### Data Management
- **π€ Export History** β Export to JSON with timestamps and metadata
- **π₯ Import History** β Import previously exported history
- **βοΈ Settings Sync** β Backup or transfer settings to another Mac
- **π Storage Stats** β View detailed statistics about your clipboard
---
## π€ Automation
### URL Scheme
Control SaneClip programmatically via `saneclip://` URLs:
| URL | Action |
|-----|--------|
| `saneclip://paste?index=0` | Paste item at index |
| `saneclip://search?q=keyword` | Open search with query |
| `saneclip://snippet?name=MySnippet` | Paste snippet by name |
| `saneclip://copy?text=Hello` | Copy text to clipboard |
| `saneclip://history` | Show history window |
| `saneclip://clear` | Clear history (with confirmation) |
### Siri Shortcuts
SaneClip integrates with Shortcuts.app via App Intents:
- **Get Clipboard History** β Returns recent text items
- **Paste Clipboard Item** β Pastes item at specified index
- **Search Clipboard** β Search history and return matches
- **Copy to SaneClip** β Copy text to clipboard
- **Clear Clipboard History** β Clear all non-pinned items
- **Paste Snippet** β Paste a saved snippet by name
- **List Snippets** β Returns all snippet names
### Webhooks
Send HTTP notifications when clipboard events occur with HMAC-SHA256 signatures and retry logic.
---
## π Security
SaneClip is **privacy-first**:
- β
**100% On-Device by Default** β Your clipboard history stays on your Mac
- β
**Optional iCloud Sync** β Syncs only between your own devices if you turn it on
- β
**No Personal-Content Upload** β Clipboard contents are not sent to SaneApps servers
- β
**100% Transparent Code** β Verify yourself at [github.com/sane-apps/SaneClip](https://github.com/sane-apps/SaneClip)
- β
**PolyForm Shield License** β Community-auditable, source-available
**Sensitive Data Detection:**
- Credit cards (Luhn algorithm validation)
- Social Security Numbers
- API keys (OpenAI, AWS, GitHub, Slack, Stripe, Google, etc.)
- Passwords and private keys (SSH, PGP/GPG)
- Email addresses
**Auto-Purge Rules:** Configure automatic deletion of sensitive items after 1 minute, 5 minutes, or 1 hour.
See [PRIVACY.md](PRIVACY.md) and [SECURITY.md](SECURITY.md) for full details.
---
## π¦ Installation
**SaneClip Basic is $0.** Clipboard history, standard paste, search, and the free iPhone/iPad companion app are included.
**Mac Pro is a one-time unlock.** The iPhone/iPad companion remains a separate free App Store download that uses your iCloud account for sync.
Want more? **[Upgrade to Pro ($6.99 once)](https://go.saneapps.com/buy/saneclip?ref=github-readme)** for unlimited history, Touch ID lock, encryption-at-rest, smart paste, snippets, and advanced rules.
### Install
```bash
# Homebrew (recommended)
brew install --cask sane-apps/tap/saneclip
# Already have SaneClip installed? Let Homebrew manage it:
brew install --cask --adopt sane-apps/tap/saneclip
```
Or **[download directly](https://saneclip.com)** Β· or [build from source](#-development)
> *I wanted to make it $5, but processing fees and taxes were... insane. β Mr. Sane*
SaneClip updates itself automatically via Sparkle. `brew upgrade` works too if you prefer.
### Requirements
**macOS App:**
- macOS 15.0 (Sequoia) or later
- Apple Silicon Mac (M1+)
**iOS Companion App:**
- iOS 18.0 or later
- iPhone or iPad
---
## π οΈ Development
> **Cloning without starring?** For real? **[β Star it first](https://github.com/sane-apps/SaneClip)**. Help others discover quality software.
```bash
# Clone the repo
git clone https://github.com/sane-apps/SaneClip.git
cd SaneClip
# Build + test (preferred)
./scripts/SaneMaster.rb verify
# Launch
./scripts/SaneMaster.rb launch
```
SaneMaster runs XcodeGen when needed; only run `xcodegen generate` manually if you add files and want to refresh immediately.
See [DEVELOPMENT.md](DEVELOPMENT.md) for detailed setup and [CONTRIBUTING.md](CONTRIBUTING.md) for coding standards.
### π€ Contributing
Before opening a PR:
1. **[β Star the repo](https://github.com/sane-apps/SaneClip)** (if you haven't already)
2. Read [CONTRIBUTING.md](CONTRIBUTING.md)
3. Open an issue first to discuss major changes
**Building from source?** Consider [buying the app](https://saneclip.com) to support continued development.
---
## π Documentation
| Document | Purpose |
|----------|---------|
| [README.md](README.md) | Product overview and doc map |
| [ARCHITECTURE.md](ARCHITECTURE.md) | System design and major data flows |
| [CONTRIBUTING.md](CONTRIBUTING.md) | How to contribute |
| [DEVELOPMENT.md](DEVELOPMENT.md) | Development setup and guidelines |
| [SECURITY.md](SECURITY.md) | Security policy |
| [PRIVACY.md](PRIVACY.md) | Privacy practices |
| [`docs/`](docs/) | Public website and guide pages |
---
## π¬ Support
- π [Report a Bug](https://github.com/sane-apps/SaneClip/issues/new?template=bug_report.md)
- π‘ [Request a Feature](https://github.com/sane-apps/SaneClip/issues/new?template=feature_request.md)
- β€οΈ [Sponsor on GitHub](https://github.com/sponsors/MrSaneApps)
### Crypto Donations
| Currency | Address |
|----------|---------|
| BTC | `3Go9nJu3dj2qaa4EAYXrTsTf5AnhcrPQke` |
| SOL | `FBvU83GUmwEYk3HMwZh3GBorGvrVVWSPb8VLCKeLiWZZ` |
| ZEC | `t1PaQ7LSoRDVvXLaQTWmy5tKUAiKxuE9hBN` |
---
## π Why Choose SaneClip?
| Other Clipboard Managers | SaneClip |
|--------------------------|----------|
| β Plaintext storage | β
AES-256-GCM encryption |
| β Third-party cloud sync | β
Optional private iCloud sync between your devices only |
| β Personal-content upload | β
Your clipboard contents stay on your Mac |
| β Closed source | β
100% Transparent Code (PolyForm Shield) |
| β Subscription pricing | β
$6.99 one-time, free updates |
| β No Touch ID protection | β
Biometric locks with grace period |
| β No sensitive data detection | β
Auto-flags credit cards, API keys, SSNs |
---
## π‘ Found a Bug? Want a Feature?
**[β Star the repo first](https://github.com/sane-apps/SaneClip)** β Then open an issue. Stars help us prioritize which projects get the most attention.
- π [Report a Bug](https://github.com/sane-apps/SaneClip/issues/new?template=bug_report.md)
- π‘ [Request a Feature](https://github.com/sane-apps/SaneClip/issues/new?template=feature_request.md)
**Cloning without starring?** For real bro? Gimme that star!
---
## π¦ Distribution Versions
SaneClip is available in two versions with different capabilities:
| Feature | Direct Download | Mac App Store |
|---------|:--------------------:|:-------------:|
| Clipboard History & Search | β
| β
|
| AES-256-GCM Encryption | β
| β
|
| Touch ID Protection | β
| β
|
| Sensitive Data Detection | β
| β
|
| Snippets & Text Transforms | β
| β
|
| Keyboard Shortcuts | β
| β
|
| Siri Shortcuts & Widgets | β
| β
|
| **Auto-Paste into apps** | β
One-click paste | β Copies to clipboard; press Cmd+V to paste |
| **Automatic Updates** | β
Built-in auto-updater | β
Via App Store |
| **iCloud Sync** | β | β
|
> **Why the difference?** The Mac App Store version runs in Apple's sandbox, which blocks simulated keyboard events (used for auto-paste). Instead, the App Store version copies items to your clipboard and shows a notification β just press Cmd+V to paste. All other features work identically.
**Direct download:** [$6.99 one-time at saneclip.com](https://saneclip.com) β includes Sparkle auto-updates.
---
## π± iOS Companion App (Free)
Your clipboard history, on your iPhone and iPad. Free with SaneClip for Mac.
- **History Tab** β Browse recent clips with source-aware colors, tap-to-copy, and haptic feedback
- **Pinned Tab** β Quick access to your favorites
- **Detail View** β Full content preview with selectable text, tappable URLs, and image rendering
- **Siri Shortcuts** β "Get recent clips", "Search clips", "Copy last clip" via Shortcuts app
- **Share Extension** β Save text and URLs to SaneClip from any app's share sheet
- **iOS Widgets** β Recent and Pinned clips for Home Screen and Lock Screen
- **iCloud Sync** β Keep your clipboard in sync across all your devices via CKSyncEngine
---
## π Compare SaneClip
Looking at alternatives? Here's how SaneClip stacks up:
| Feature | SaneClip | Paste | Maccy | Pastebot | CopyClip |
|---------|:--------:|:-----:|:-----:|:--------:|:--------:|
| **AES-256 Encryption** | β
| β | β | β | β |
| **Touch ID Protection** | β
| β | β | β | β |
| **Sensitive Data Detection** | β
| β | β | β | β |
| **Password Manager Safety** | β
| β | β | β | β |
| **Clipboard Rules** | β
| β | β | β | β |
| **Webhooks & URL Schemes** | β
| β | β | β | β |
| **Siri Shortcuts & Widgets** | β
| β | β | β | β |
| App Exclusions | β
| β
| β
| β | β |
| Source App Colors | β
| β
| β | β
| β |
| Text Transforms | β
| β | β | β
| β |
| Paste Stack | β
| β | β | β
| β |
| Snippets & Placeholders | β
| β
| β | β
| β |
| iOS Companion App | β
Free | β
Paid | β | β | β |
| iCloud Sync | β
| β
| β | β
| β |
| 100% Transparent Code | β
| β | β
| β | β |
| 100% Private | β
| β | β
| β
| β
|
| **Price** | **$6.99** | $30/yr | Free | $13 | Free |
**Bottom line:** The first 7 rows are SaneClip-only features. No other clipboard manager offers encryption, Touch ID, sensitive data detection, or webhook automation. If privacy and security matter to you, SaneClip is the only choice.
---
## π License
[PolyForm Shield 1.0.0](https://polyformproject.org/licenses/shield/1.0.0) β free for any use except building a competing product. See [LICENSE](LICENSE) for details.
---
**Made with β€οΈ in πΊπΈ by [Mr. Sane](https://github.com/MrSaneApps)**
**Not fear, but power, love, sound mind** β 2 Timothy 1:7
## Third-Party Notices
Third-party open-source attributions are documented in [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md).
### Become a Contributor (Even if You Don't Code)
Are you tired of waiting on the dev to get around to fixing your problem?
Do you have a great idea that could help everyone in the community, but think you can't do anything about it because you're not a coder?
Good news: you actually can.
Copy and paste this into Claude or Codex, then describe your bug or idea:
```text
I want to contribute to this repo, but I'm not a coder.
Repository:
https://github.com/sane-apps/SaneClip
Bug or idea:
[Describe your bug or idea here in plain English]
Please do this for me:
1) Understand and reproduce the issue (or understand the feature request).
2) Make the smallest safe fix.
3) Open a pull request to https://github.com/sane-apps/SaneClip
4) Give me the pull request link.
5) Open a GitHub issue in https://github.com/sane-apps/SaneClip/issues/new?template=bug_report.md that includes:
- the pull request link
- a short summary of what changed and why
6) Also give me the exact issue link.
Important:
- Keep it focused on this one issue/idea.
- Do not make unrelated changes.
```
If needed, you can also just email the pull request link to hi@saneapps.com.
I review and test every pull request before merge.
If your PR is merged, I will publicly give you credit, and you'll have the satisfaction of knowing you helped ship a fix for everyone.