Send your iPhone clipboard (text and photos) to Windows with one Back Tap.
Copy on your iPhone. Double-tap the back. Paste on your PC.
ClipBridge is a tiny background receiver that gives Windows a "Universal Clipboard" for iPhone, built from an iOS Shortcut and about 100 lines of Python.
Apple's Universal Clipboard only works between Apple devices. If you have an iPhone and a Windows PC, there's no built-in way to copy something on one and paste it on the other. ClipBridge fills that gap.
iOS doesn't allow apps to watch the clipboard in the background, so a fully automatic sync isn't possible. This project gets as close as the platform allows: one gesture on the phone, then Ctrl+V on the PC.
- π Text and images from the same shortcut, with no separate setup for each
- πΌοΈ iPhone HEIC photos are converted automatically
- π EXIF orientation fix, so photos aren't pasted sideways
- π Pastes everywhere: Paint, Word, chat apps, browsers and File Explorer
- π Back Tap trigger: double-tap the back of the phone, with no app to open
- π Shared-secret token, so random devices on your network can't touch your clipboard
- πͺΆ Practically free to run: idle CPU use is 0% and memory is a few tens of MB
- π Silent background process with no terminal window, starting automatically with Windows
- π§Ή Self-cleaning: saved images older than 7 days are deleted automatically
sequenceDiagram
participant P as π± iPhone
participant S as βοΈ Shortcut
participant W as π₯οΈ Windows receiver
participant C as π Clipboard
P->>S: Double-tap back (Back Tap)
S->>S: Get Clipboard
S->>W: HTTP POST /clip + X-Token
W->>W: Check token
W->>W: Image or text?
alt Text
W->>C: Copy text
else Image
W->>C: Bitmap + PNG + file
end
W-->>S: "text ok" / "image ok"
Note over C: Press Ctrl+V anywhere
- The Back Tap gesture runs an iOS Shortcut.
- The Shortcut reads your clipboard and sends it over your local network to the PC.
- A small Flask server on the PC checks the secret token and works out whether the payload is an image or text.
- Text is copied as is. Images are placed on the clipboard in three formats at once, so every app can paste them:
| Clipboard format | Used by |
|---|---|
CF_DIB (bitmap) |
Paint, Word, chat apps, most editors |
PNG (registered format) |
Browsers (Chrome, Edge, Firefox) |
CF_HDROP (file path) |
File Explorer and upload boxes that accept pasted files |
- Windows 10 or 11
- Python 3.8 or newer
- An iPhone with the Shortcuts app (iPhone 8 or newer for Back Tap)
- Both devices on the same Wi-Fi network
git clone https://github.com/<your-username>/clipbridge.git
cd clipbridge
pip install -r requirements.txtOpen clip_receiver.pyw in a text editor and set your own secret:
SECRET = "change-this-to-your-own-secret"Use something long and random. Never commit your real secret to GitHub.
| Setting | Default | Meaning |
|---|---|---|
SECRET |
(you choose) | Shared token, must match the X-Token header in your Shortcut |
PORT |
5000 |
Port the server listens on |
SAVE_DIR |
~/Pictures/iPhone Clipboard |
Where received images are saved as PNG |
KEEP_DAYS |
7 |
Saved images older than this are deleted |
Go to Settings β System β About and check Device name. It should contain only letters, numbers and hyphens (rename it if not). Your PC is then reachable at:
http://<device-name>.local:5000/clip
Using the .local name instead of an IP address means the setup keeps working when you change Wi-Fi networks.
Double-click clip_receiver.pyw. Nothing visible happens, because it runs silently in the background.
When Windows Firewall asks, allow access on Private networks.
Open Shortcuts β + and create a shortcut named Send to PC with two actions:
- Get Clipboard
- Get Contents of URL, set up as follows:
| Field | Value |
|---|---|
| URL | http://<device-name>.local:5000/clip |
| Method | POST |
| Headers | X-Token = your secret |
| Request Body | File β the Clipboard variable |
β οΈ iOS likes to capitalize the first letter of what you type. The path must end in lowercase/clip. (The server accepts/Cliptoo, but a lowercase URL is safest.) Don't leave a variable bubble inside the URL field.
Optional: add Show Notification at the end to confirm it sent.
The first run will ask permission to access devices on your local network. Tap Allow.
Settings β Accessibility β Touch β Back Tap β Double Tap β Send to PC
Copy text or a photo on the iPhone, double-tap the back of the phone, and press Ctrl+V on the PC. β
Startup folder
- Press
Win + R, typeshell:startup, press Enter. - Right-click
clip_receiver.pywβ Show more options β Create shortcut. - Move the shortcut into the Startup folder.
Task Scheduler (more reliable on stripped-down Windows builds)
- Run
where pythonwin Command Prompt and note the path. - Open Task Scheduler β Create Basic Task, trigger When I log on, action Start a program.
- Program: the
pythonw.exepath. Arguments:"C:\path\to\clip_receiver.pyw".
Use one method, not both, or the second copy will fail because the port is already in use.
To stop it: Task Manager β Details tab β end pythonw.exe.
| Symptom | Likely cause and fix |
|---|---|
| "Unsupported URL" in Shortcuts | A variable bubble or missing http:// in the URL field. Clear the field and type it again |
| 404 Not Found | Wrong path or capitalization. Use /clip |
| 403 Forbidden | X-Token doesn't match SECRET. Check for typos and trailing spaces |
| Timeout or can't connect | Receiver isn't running, devices are on different networks, or the Wi-Fi profile is set to Public in Windows. Set it to Private |
.local name not found |
Try the PC's IP from ipconfig to confirm everything else works. Some Windows debloat builds disable name discovery |
| Image pastes in Paint but not Explorer or a website | Make sure you're running the latest clip_receiver.pyw, and end any old pythonw.exe first |
| Text pastes, images don't | Run pip install pywin32 pillow pillow-heif again, then restart the receiver |
clipboard busy (503) |
Another app (often a clipboard manager) is holding the clipboard. Try again |
| Nothing happens in Notepad when pasting an image | Notepad can't display images. Paste into Paint, Word or a chat app |
- Tap-to-send, not automatic. iOS has no background clipboard access and no "clipboard changed" trigger.
- Same network required. Both devices need to be on the same Wi-Fi.
- Some networks block it. Hotels, cafΓ©s and some offices isolate devices from each other.
- PC must be awake. If the laptop sleeps, the receiver sleeps too.
- One item at a time. Copying several photos sends only the first.
- Transparency is flattened in the bitmap and Paint paste. The saved PNG file keeps it.
- One direction. This is iPhone β PC only.
Install Tailscale on both devices (free for personal use), sign in with the same account, and use the PC's Tailscale name or 100.x.y.z address in the Shortcut URL. It works across different Wi-Fi networks, on mobile data, and on isolated public Wi-Fi, as long as the PC is on and online.
- The server listens on
0.0.0.0so your phone can reach it. Anyone on the same network who knows the token can overwrite your clipboard. - The token travels over plain HTTP, so use this only on networks you trust, or over Tailscale.
- Use a long, random
SECRET, and don't reuse a password you care about. - For extra safety, restrict the Windows Firewall rule to your iPhone's IP address.
- There is no request-size limit. Don't expose this to the internet.
clipbridge/
βββ clip_receiver.pyw # the ClipBridge receiver (runs with no console window)
βββ requirements.txt # Python dependencies
βββ README.md
- PC β iPhone direction (a Windows clipboard watcher pushing to a notification service)
- Tray icon with a pause/quit menu
- HTTPS support
- Multiple images in a single send
MIT Β© 2026 Piyush Kale. Not affiliated with or endorsed by Apple or Microsoft.