devAlice
← Multi-OS

Mac + Windows Clipboard Sync — Universal Clipboard · 1Clipboard · Self-Hosted

Three paths to sync text/images between Mac and Windows clipboards instantly. Free, paid, and self-hosted compared.

You want text copied on Mac to paste straight onto Windows — the smallest, most frequently encountered multi-OS friction. Apple solves it only inside iCloud's ecosystem, so Windows needs separate tools.

This guide targets macOS 14+ / Windows 11 in concurrent use. Three paths to bidirectional clipboard sync (text + images + files) compared.

TL;DR

OptionCostOSTextImageFileLatency
A: Apple Universal ClipboardFreemacOS ↔ iOS onlyunder 1s
B: 1Clipboard / Pastebar (cross-platform)Free–$10macOS·Win·Linux1–2s
C: Self-hosted (Syncthing + clipboard daemon)FreeAll⚠️ partial2–5s
D: Barrier/Synergy keyboard sharingFree/$30Two machines, same LANinstant
E: Universal Clipboard + PushbulletFreeiOS↔Win helper2–3s

Most common combo: A (Mac/iPhone) + D (Mac/Win at the same desk) + frequent short texts in a password manager (1Password).

Prerequisites

  • (A) Same Apple ID, same Wi-Fi, Bluetooth ON, Handoff enabled
  • (B) Internet connection (cloud sync)
  • (C) Both machines on the same LAN or VPN
  • (D) Same LAN

1. Path A — Apple Universal Clipboard — 0 min (automatic)

Auto between Mac ↔ iPhone ↔ iPad. Windows unsupported.

1.1 Conditions to Enable

  • Same Apple ID on all devices
  • Bluetooth ON + same Wi-Fi
  • macOS: System Settings → General → AirDrop & Handoff → Allow Handoff between this Mac and your iCloud devices
  • iOS: Settings → General → AirPlay & Handoff → Handoff

1.2 Use

  • Copy text/image/file on Mac (Cmd+C)
  • Within 10 seconds, long-press in iPhone Notes → Paste
  • Reverse direction same

Pitfall: Even on Wi-Fi, two devices on different SSIDs (home 5GHz vs 2.4GHz split) often fails.

1.3 What About Windows?

Apple Universal Clipboard doesn't support Windows. Take the next path.


2. Path B — 1Clipboard / Pastebar (cross-platform) — 5 min

The lowest-friction path. Free or low-cost tools.

2.1 1Clipboard (free, MIT)

Open-source. Syncs clipboard through Google Drive.

# macOS
brew install --cask 1clipboard
# Windows
winget install 1Clipboard

After install, sign in with Google → use the same account on both machines. Clipboard change → Google Drive → other machine fetches automatically.

⚠️ Security note: all clipboard contents are stored plaintext on Google Drive. Pause sync (in the app menu) or skip when handling passwords / sensitive data.

2.2 Pastebar (paid, $10 one-time)

Slicker UI + stronger security (optional E2E encryption).

brew install --cask pastebar

Windows / Linux builds at the same site.

  • Clipboard history + pins
  • One-line toggle for secure mode (no sync)
  • macOS Maccy / Windows ClipboardFusion integration

2.3 Which?

  • Occasional one-liners → 1Clipboard free is enough
  • Daily heavy use + security matters → Pastebar or Path C

3. Path C — Self-Hosted (Syncthing + small daemon) — 30 min

Cloud-free. Direct clipboard sync between two machines.

3.1 Install Syncthing (both)

# macOS
brew install syncthing
 
# Windows (PowerShell)
winget install syncthing.syncthing
 
# Linux
sudo apt install syncthing

Run syncthing on each → open http://localhost:8384 in a browser → exchange Device IDs → share a folder.

3.2 Clipboard → File → Clipboard Daemon

A script writes the clipboard to a file every N seconds; the other machine reads the file and sets its clipboard.

Make ~/.clip-sync/ a Syncthing shared folder.

macOS (~/.clip-sync/clip-mac.sh):

#!/usr/bin/env bash
LAST=""
DIR="$HOME/.clip-sync"
mkdir -p "$DIR"
while true; do
  cur=$(pbpaste)
  if [ "$cur" != "$LAST" ]; then
    echo "$cur" > "$DIR/from-mac.txt"
    LAST="$cur"
  fi
  # Read what the other machine wrote
  if [ -f "$DIR/from-win.txt" ]; then
    other=$(cat "$DIR/from-win.txt")
    if [ "$other" != "$LAST" ]; then
      printf %s "$other" | pbcopy
      LAST="$other"
    fi
  fi
  sleep 1
done

Windows (~/.clip-sync/clip-win.ps1):

$dir = "$HOME\.clip-sync"
New-Item -ItemType Directory -Force -Path $dir | Out-Null
$last = ""
while ($true) {
  $cur = Get-Clipboard -Raw
  if ($cur -ne $last) {
    $cur | Out-File "$dir\from-win.txt" -Encoding utf8
    $last = $cur
  }
  if (Test-Path "$dir\from-mac.txt") {
    $other = Get-Content "$dir\from-mac.txt" -Raw
    if ($other -ne $last) {
      Set-Clipboard -Value $other
      $last = $other
    }
  }
  Start-Sleep -Seconds 1
}

Auto-start via LaunchAgent (macOS) / Task Scheduler (Windows).

Text only. For images / files, Pastebar or a dedicated tool. Sensitive content sits plaintext in the sync folder — rely on Syncthing's own E2E encryption.

3.4 For Autonomous Execution see Agent runner

The same LaunchAgent / Task Scheduler patterns apply.


4. Path D — Barrier / Synergy — Keyboard & Mouse Sharing — 30 min on the same desk

See multi-OS input sharing. Barrier / Synergy also share the clipboard (text only) automatically. Best when both machines sit on the same LAN and same desk.

Keyboard-sharing tools' clipboard:

ToolClipboardImageFile
Barrier (free)✅ text
Synergy 3 ($30)✅ text + image⚠️ partial
Mouse Without Borders (free, Win-Win only)

5. Path E — Helper — 1Password / Bitwarden for Passwords and Short Texts

For frequent short texts (emails, addresses, passwords, credit cards) use the password manager's cross-device sync instead of clipboard sync. Safer and faster.

See multi-OS password manager.


6. Comparison — Measured

Same LAN, same desk: Mac mini M2 + ThinkPad X1 (Win 11). Time to paste "hello" copied on one side onto the other:

OptionMac→WinWin→Mac
1Clipboard1.8s2.1s
Pastebar (P2P)0.5s0.5s
Syncthing + daemon (1s poll)1.0–2.0s1.0–2.0s
Barrierinstantinstant

Images (screenshots):

OptionMac→WinWin→Mac
1Clipboard4.0s4.2s
Pastebar1.2s1.5s
Synergy 3instantinstant

7. Security — Clipboard Sync Pitfalls

7.1 Assume Plaintext Always

Most sync tools store/transfer clipboard contents plaintext (or weakly encrypted). When copying passwords / API keys / credit cards:

  • Use the password manager's auto-fill to bypass clipboard
  • Or pause sync temporarily

7.2 Clipboard-Monitoring Apps

A malicious app can poll the clipboard and steal secrets. Audit permissions:

  • macOS: System Settings → Privacy & Security → Accessibility / Input Monitoring → remove unknown apps
  • Windows: Settings → Privacy → Clipboard history activation / sync settings

7.3 PII Risk in Cloud Sync

1Clipboard stores all clipboard content on Google Drive. From a GDPR/PIPA standpoint, cloud storage of other people's info (emails, phone numbers) is risky. Not recommended for company use.


8. Troubleshooting

Universal Clipboard Doesn't Work

  • Same Apple ID? Bluetooth + Wi-Fi both ON?
  • Home Wi-Fi with split 2.4 / 5GHz SSIDs → unify SSID
  • Confirm 2FA on iCloud

1Clipboard Won't Sync

  • Google Drive full? (free 15GB)
  • Both machines signed into the same Google account?
  • App may have been killed in the background — check Activity Monitor / Task Manager

Self-Hosted Daemon Hogs CPU

sleep 1 polling is heavy. Increase to sleep 2, or use OS clipboard-change events (macOS: NSPasteboard change count; Windows: AddClipboardFormatListener).

Image Copies Are Garbled / Corrupted

Most cross-platform tools lose fidelity in image format conversion. For large images, switch to file sync (multi-OS file sync).


Next Steps

References

Changelog

  • 2026-05-12 — Initial draft (devAlice M2 seed expansion)

Comments