Universal Clipboard for Every Device — A cross-platform clipboard sharing app that works like Apple's Universal Clipboard, but for all platforms.
🆕 New Release — Actively developed with community feedback. Share your ideas!
DecentPaste lets you seamlessly share your clipboard between all your devices over your local network. Copy on your laptop, paste on your phone. No cloud servers, no accounts, no subscriptions — just secure, peer-to-peer clipboard sync.
- Cross-Platform — Works on Windows, macOS, Linux, Android, and iOS
- Decentralized — No central server; devices connect directly via P2P
- Auto-Discovery — Devices find each other automatically on your local network
- End-to-End Encrypted — AES-256-GCM encryption; only paired devices can read your clipboard
- Secure Pairing — 6-digit PIN verification with X25519 key exchange
- Lightweight — Small binary size (~15MB) thanks to Tauri
- Open Source — Apache 2.0 licensed
- Discovery: Devices find each other using mDNS
- Pairing: One-time secure pairing with PIN verification establishes a shared secret
- Sync: Clipboard changes are encrypted and broadcast to paired devices
- Receive: Paired devices decrypt and update their clipboard automatically
Download the latest release for your platform:
| Platform | Download |
|---|---|
| Windows | DecentPaste-x.x.x-windows |
| macOS | DecentPaste-x.x.x-macos |
| Linux | DecentPaste-x.x.x-linux |
| Android | DecentPaste-x.x.x-android |
| iOS | Coming soon |
Prerequisites:
# Clone the repository
git clone https://github.com/decentpaste/decentpaste.git
cd decentpaste/decentpaste-app
# Install dependencies
yarn install
# Run in development mode
yarn tauri dev
# Build for production
yarn tauri build- Install DecentPaste on two or more devices
- Ensure devices are on the same local network (Wi-Fi/LAN)
- Open the app — devices will discover each other automatically
- Pair devices using the 6-digit PIN (out-of-band MITM protection)
- Copy on one device, paste on another!
- On Device A: Go to Devices → Click Pair next to the discovered device
- On Device B: Accept the pairing request
- Both devices display a 6-digit PIN — verify they match
- Confirm on Device A
- Done! Devices are now paired and will sync automatically
On Android, clipboard access is restricted for privacy. Two ways to share:
-
Direct share (easiest): Select text in any app → Share → Choose DecentPaste Sent directly to paired devices — no clipboard involved.
-
Via clipboard: Select text → Share → "Copy to clipboard" → Open DecentPaste → Tap "Share Now"
Note: Keep the app open on both devices during pairing (background connections are not supported).
📖 Read the full Security Documentation →
Includes architecture diagrams, threat model, and vulnerability reporting.
DecentPaste is designed with security as a priority:
| Layer | Technology | Purpose |
|---|---|---|
| Key Exchange | X25519 ECDH | Shared secrets derived, never transmitted |
| Encryption | AES-256-GCM | Authenticated encryption for clipboard |
| Storage | Hardware-backed (TEE/Keychain) | Platform-native secure key storage |
| Transport | libp2p Noise | Encrypted P2P connections |
Key security properties:
- Local-only: Data never leaves your network (mDNS discovery)
- Zero-knowledge pairing: 6-digit PIN + ECDH key exchange
- Per-peer encryption: Each device pair has a unique key
- Auto-lock: Vault locks after configurable inactivity
| Component | Technology |
|---|---|
| App Framework | Tauri v2 |
| Backend | Rust |
| Frontend | TypeScript + Tailwind CSS v4 |
| Networking | libp2p (mDNS, gossipsub, request-response) |
| Encryption | aes-gcm, x25519-dalek |
# Terminal 1 - desktop
cd decentpaste-app
yarn tauri dev
# Terminal 2 - android
yarn tauri android dev
# Terminal 3 - iOS
yarn tauri ios devSee ARCHITECTURE.md for detailed technical documentation.
DecentPaste — actively developed.
| Aspect | Status |
|---|---|
| Core functionality | ✅ Reliable for daily use |
| Cryptography | ✅ (X25519 ECDH, AES-256-GCM, Argon2id) |
| Privacy | ✅ Local-only — data never leaves your network |
| Security | ✅ Hardware-backed storage (TEE/Keychain) with PIN fallback |
| Active Development | 🚀 New features shipping regularly |
The local-only design (mDNS) significantly limits the attack surface compared to cloud-based alternatives. Security issues? Open an issue — I respond promptly.
- Image and file clipboard support
- Internet relay for cross-network sync (leverages libp2p Kademlia DHT)
- Hardware-backed vault security (TEE/Secure Enclave/Keychain)
- Zeroization: Keys cleared from memory on lock
- Encrypted vault storage
- Persistent clipboard history
- System tray improvements
Contributions are welcome! Please read our contributing guidelines before submitting PRs.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'use conventional commits') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the Apache License 2.0 — see the LICENSE file for details.
"DecentPaste" and the DecentPaste logo are trademarks. See TRADEMARK.md for usage guidelines.
Note: The Apache 2.0 license grants rights to the code but does not grant rights to use the DecentPaste trademarks or logos.
- Tauri — For the amazing cross-platform framework
- libp2p — For decentralized networking
- RustCrypto — For cryptographic primitives
DecentPaste — Your clipboard, everywhere.
GitHub ·
Issues ·
Releases
