How to copy verification codes from phone to PC (stop typing OTPs manually)
Quick answer: Open clipboardsyncer.com on both your phone and PC. Connect with a room code. When an OTP arrives on your phone, copy it and paste into ClipboardSyncer. It appears on your PC instantly. Paste it into the login form. Total time saved: the 15-30 seconds of squinting at your phone and typing digits.
You are logging into your bank on your laptop. The site asks for a verification code. Your phone buzzes. You pick it up, read "Your code is 847293", try to memorize six digits, look back at your screen, type "847..." wait, was it 293 or 239? You look back at your phone. The notification has disappeared. You request a new code.
This happens multiple times a day for anyone using two-factor authentication. SMS codes, app verification codes, email OTPs - they all arrive on your phone while you are trying to log in on your computer. The result is an awkward dance of switching between devices, memorizing short number sequences, and occasionally mistyping them before the 30-second timer expires.
There are better ways. This guide covers every practical method to get verification codes from your phone to your PC without manually typing them. Some methods mirror your messages directly, others sync your clipboard, and some let you bypass SMS codes entirely.
Why verification codes are stuck on your phone
SMS messages go to your phone number, which lives on your SIM card. Your computer does not have a phone number. It cannot receive text messages directly. This is by design from a security perspective - the assumption is that your phone is something "you have" (a second factor), separate from the computer you are logging in on.
But in practice, most of us sit at our desk with our phone right next to our computer. The security benefit of physical separation barely exists when both devices are within arm's reach. What remains is just the inconvenience of transcribing numbers between screens.
The same problem applies to app-based codes (Google Authenticator, Authy) and push notifications (Duo, Microsoft Authenticator). The code exists on your phone. You need it on your computer. The gap between those two screens is where time gets wasted.
Method 1: ClipboardSyncer (copy on phone, paste on PC)
ClipboardSyncer is a browser-based clipboard sync tool. You connect two devices with a room code and text transfers between them instantly. For OTP codes, the workflow is simple: copy the code on your phone, it appears on your PC, paste it into the login form.
Initial setup (one time, takes 10 seconds)
- On your PC: Open any browser and go to clipboardsyncer.com
- Click "Sync devices" then "Create new room"
- Note the room code (something like
pw49dft7) - On your phone: Open your browser, go to clipboardsyncer.com
- Click "Sync devices" then "Join existing room"
- Enter the code or scan the QR code from your PC screen
When an OTP arrives
- Your phone receives the SMS or notification with the code
- Long-press the code to copy it (most phones let you copy directly from the notification)
- Switch to your browser tab with ClipboardSyncer and paste (or the code copies automatically if you pasted)
- On your PC, the code appears in ClipboardSyncer instantly
- Copy it from ClipboardSyncer (Ctrl+C or Cmd+C) and paste into your login form
Pro tip for faster workflow
Keep ClipboardSyncer open in a pinned browser tab on both devices. When you know a verification code is coming (you just clicked "Send code"), have the sync ready. The whole process takes about 3 seconds once connected vs 15-30 seconds of manual typing.
Why this works well for OTPs
- No app install on either device
- Works with any phone + any computer combination
- No account needed (important when you are trying to log into something quickly)
- Text does not get stored on any server - important for sensitive codes
- Works over any network (phone on mobile data, PC on WiFi)
Limitations: You still need to manually copy the code on your phone and paste it into the sync tool. It is not fully automatic like Phone Link notifications. But it works with any phone/PC combination without platform lock-in.
Method 2: Google Messages web (see SMS directly on computer)
Google Messages for web lets you view and send SMS messages from your computer through a browser interface. If your verification codes come via SMS, this eliminates the need to look at your phone at all.
Setup
- Make sure Google Messages is your default SMS app on Android (it probably already is on Pixel phones)
- On your PC, open messages.google.com
- On your Android phone, open Messages, tap the three-dot menu, select "Device pairing"
- Scan the QR code shown on your PC screen
- Check "Remember this computer" if it is your personal machine
Using it for verification codes
Once paired, all your SMS messages appear in the browser on your PC. When a verification code arrives, you see it directly in the Messages web interface. Click on the conversation, select the code, copy it (Ctrl+C), and paste directly into your login form. No phone interaction required after initial setup.
Advantages
- Codes appear on your PC screen automatically - no manual action on your phone
- Full SMS conversation history visible on PC
- You can also send texts from your PC keyboard
- Free, no paid tier
- Works on any computer with a browser (Windows, Mac, Linux, ChromeOS)
Limitations
- Only works for SMS codes (not app-based 2FA like Google Authenticator)
- Android only (iPhone uses iMessage, not Google Messages)
- Phone must stay connected to the internet for messages to relay
- If your phone dies or loses signal, messages stop appearing on PC
- Some banks send codes through RCS or proprietary channels that may not appear
Best for: Android users who receive most verification codes via SMS and want a passive solution that does not require any action when a code arrives.
Method 3: Microsoft Phone Link (Windows + Android notification mirroring)
Microsoft Phone Link (previously called "Your Phone") mirrors your Android phone's notifications directly on Windows. When a verification code arrives as an SMS or notification, it pops up on your Windows PC automatically.
Setup
- On your Windows PC: Open the Phone Link app (pre-installed on Windows 10/11, search for it in Start menu)
- On your Android phone: Install "Link to Windows" from the Play Store (Samsung phones have it built in)
- Sign into the same Microsoft account on both devices
- Follow the pairing process (QR code scan or sign-in)
- Grant notification access when your Android phone prompts you
- In Phone Link settings on Windows, make sure Notifications are enabled
How it works for verification codes
Once connected, every notification from your phone appears as a Windows notification in the bottom-right corner of your screen. When an SMS with a verification code arrives, you see it pop up on your PC. Some notifications even include an inline "Copy" button for the code.
For SMS specifically, you can also open the Messages section in Phone Link and read the full message there, then select and copy the code.
Advantages
- Completely automatic - codes appear without touching your phone
- Works for SMS and app notifications (not just text messages)
- Built into Windows, no third-party software needed
- Samsung phones get extra features (screen mirroring, app running)
- Also handles calls, photos, and messages
Limitations
- Windows only (no Mac support)
- Android only (very limited iPhone support - no SMS access)
- Requires a Microsoft account
- Some notifications do not display full content due to Android restrictions
- Connection can drop if phone goes to sleep or loses WiFi
- Some banking apps block notification content from being forwarded
Best for: Windows + Android users who want a fully automatic, built-in solution with no ongoing interaction needed. The setup takes 5 minutes but then verification codes just appear on your PC screen forever.
Method 4: iMessage on Mac (Apple ecosystem)
If you have an iPhone and a Mac, iMessage/SMS forwarding sends all your text messages to your Mac automatically. Verification codes show up in the Messages app on your Mac and macOS even offers auto-fill suggestions in Safari.
Setup
- Make sure both devices are signed into the same Apple ID
- On your iPhone: Go to Settings > Messages > Text Message Forwarding
- Toggle on your Mac from the device list
- Enter the verification code shown on your Mac (meta, right?)
- Done. All SMS messages now forward to your Mac
The auto-fill magic
macOS and Safari have a feature where verification codes that arrive via SMS get detected automatically. When you are filling in a verification code field in Safari, macOS shows the code from your recent messages above the keyboard/field and you can click it to auto-fill. No copying or pasting needed.
This also works in some third-party apps that use standard text field APIs.
Advantages
- Fully automatic, zero interaction after setup
- Auto-fill in Safari means you do not even need to copy/paste
- Works for both iMessage and regular SMS
- Built into the OS, no apps to install
- Also includes Universal Clipboard for manual copy-paste between iPhone and Mac
Limitations
- Requires iPhone + Mac (does not work with Android or Windows)
- Both devices must share the same Apple ID
- Auto-fill only works in Safari (Chrome on Mac does not get the auto-fill suggestion)
- If you use Chrome as your main browser, you still need to open Messages and manually copy
- Does not work for app-based OTPs (Google Authenticator, Authy, etc.)
Best for: People in the Apple ecosystem using Safari as their primary browser. This is the most seamless experience available for verification codes, but only if you have the right hardware and software combination.
If you are looking for something that works beyond Apple devices, check our guide on alternatives to Apple Universal Clipboard.
Method 5: Samsung Flow (Samsung phones + Windows)
Samsung Flow is Samsung's proprietary bridge between Galaxy phones and Windows PCs. It handles notification mirroring, clipboard sync, and screen sharing.
Setup
- Install Samsung Flow from the Microsoft Store on your Windows PC
- Install Samsung Flow from the Galaxy Store on your Samsung phone
- Open both apps and pair via Bluetooth or WiFi
- Grant notification access on your phone when prompted
How it works for codes
Notifications from your Samsung phone appear on your Windows PC through Samsung Flow. When an SMS verification code arrives, it shows in the notification panel within the Flow app. You can expand the notification to see the full message and copy the code.
Samsung Flow also includes clipboard sync, so if you copy the code on your phone, it becomes available in your PC clipboard directly (paste with Ctrl+V without needing to interact with the Flow app).
Limitations
- Samsung phones only (Galaxy S, A, Note, Z series)
- Windows only (no Mac support)
- Bluetooth or same-network WiFi required
- Connection stability varies depending on Bluetooth version and distance
- App updates sometimes break pairing, requiring re-setup
Best for: Samsung phone owners with Windows PCs who want tight integration without Microsoft Phone Link. The clipboard sync feature makes verification codes especially easy to transfer.
Method 6: Switch to email-based 2FA where possible
This is not a sync solution but a workflow change. Many services offer email as an alternative to SMS for verification codes. If you check email on your computer (which you almost certainly do), receiving codes via email eliminates the phone-to-PC problem entirely.
How to switch
- Go to your account's security settings on the service you want to change
- Look for "Two-factor authentication" or "Login verification" options
- If email is offered as a delivery method, select it
- Verify your email address if needed
- Now verification codes arrive in your inbox instead of SMS
Advantages
- Codes arrive directly on your computer (in your email client or webmail)
- No sync setup needed at all
- Works regardless of what phone or computer you use
- Email is already open on most people's computers
Limitations
- Not all services offer email-based codes (banks especially prefer SMS)
- Email is generally less secure than SMS for 2FA (email accounts get hacked more often)
- If your email is compromised, the attacker gets your 2FA codes too
- Some services do not let you change the delivery method
- Email delivery can be delayed by seconds or minutes
Best for: Non-critical accounts where the convenience outweighs the slightly reduced security. Do not switch banking or financial service 2FA to email.
Comparison table: which method works for your setup
| Method | Phone | Computer | Setup time | Works for app OTPs | Automatic | Reliability |
|---|---|---|---|---|---|---|
| ClipboardSyncer | Any | Any | 10 seconds | Yes (manual copy) | Manual sync | High |
| Google Messages web | Android | Any (browser) | 2 minutes | No (SMS only) | Automatic | High |
| Microsoft Phone Link | Android | Windows | 5 minutes | Yes (notifications) | Automatic | Medium-High |
| iMessage on Mac | iPhone | Mac | 2 minutes | No (SMS only) | Automatic + auto-fill | High |
| Samsung Flow | Samsung | Windows | 5 minutes | Yes (notifications) | Automatic | Medium |
| Email 2FA | N/A | Any | Varies | N/A | Automatic | Medium (delivery delays) |
Key takeaway: If you want a solution that works regardless of what phone and computer you have, ClipboardSyncer is the only universal option. Platform-specific solutions (Phone Link, iMessage, Samsung Flow) offer more automation but lock you into specific hardware combinations.
Security considerations: is it safe to sync OTP codes?
Valid question. Verification codes exist specifically as a security layer. Sending them between devices might seem like it defeats the purpose. Here is the reality:
Why it is mostly fine
- OTPs expire quickly. Most codes are valid for 30-60 seconds. Even if somehow intercepted during transfer, they become useless almost immediately
- Physical proximity. You are transferring between your own devices sitting on the same desk. The threat model for 2FA assumes a remote attacker, not someone physically beside both your devices
- Encrypted channels. Tools like ClipboardSyncer use WebSocket connections. Phone Link uses Microsoft's encrypted connection. iMessage uses end-to-end encryption. The transfer itself is secure
- No persistent storage. With ClipboardSyncer, the code is never written to a server. It passes through the connection and that is it. Compare this to the SMS itself which sits on your carrier's servers
What to avoid
- Do not paste OTPs into public paste sites (Pastebin, etc.) to transfer them. These are indexed and publicly accessible
- Do not email yourself the code. Email is unencrypted in transit and the message persists in your sent folder
- Do not use shared/public computers for clipboard sync with sensitive codes. Clipboard managers on the machine could log the code
- Do not leave sync sessions open indefinitely. Disconnect when done, especially in shared environments
The real risks with SMS-based 2FA
The bigger security concern is not how you get the code from phone to PC. It is using SMS for 2FA in the first place. SIM swapping attacks let hackers redirect your SMS to their phone entirely. SS7 network vulnerabilities allow SMS interception. These are the real threats - not clipboard sync between your own devices on your desk.
For a deeper look at secure text transfer, see our guide on sharing text between devices securely.
Pro tips: reducing OTP friction permanently
Switch to authenticator apps with multi-device support
Apps like Authy and Microsoft Authenticator support multiple devices. Install them on both your phone and your computer (Authy has a desktop app). When you need a code, generate it directly on the device you are logging in from. No transfer needed.
Google Authenticator recently added account backup/sync, but it still does not have a desktop app. Authy remains the best option for generating TOTP codes directly on your computer.
Use a password manager with built-in TOTP
Password managers like 1Password, Bitwarden, and Dashlane can store TOTP secrets and generate verification codes directly. When you log into a site, your password manager fills the password AND the verification code in one step. This completely eliminates the phone-to-PC transfer problem for sites that support TOTP.
Enable passkeys where available
Passkeys are the newest authentication standard supported by Google, Apple, and Microsoft. They replace passwords and verification codes entirely. You authenticate using your device's biometric sensor (fingerprint or face) or device PIN. No code to type, no code to transfer. If a service supports passkeys, switch to them.
Keep backup codes saved on your computer
Most services that use 2FA provide one-time backup codes during setup. Save these in your password manager or an encrypted note on your computer. If you ever cannot access your phone for a code, these backup codes let you log in directly from your PC.
Use browser-based clipboard sync proactively
If you regularly log into services with 2FA, keep ClipboardSyncer open in a pinned tab on both your phone and PC. Connect them once in the morning and leave the session active. Every time a code arrives, the transfer is instant - paste on phone, appear on PC.
FAQ
How do I copy a verification code from my phone to my computer?
The fastest universal method is using ClipboardSyncer. Open the site on both devices, connect with a room code, copy the OTP on your phone, and it appears on your computer instantly. Alternatively, if you have Android + Windows, Microsoft Phone Link shows codes automatically. iPhone + Mac users get codes via iMessage forwarding. See our full guide on copying from phone to computer for more options.
Is it safe to sync OTP codes between devices?
Yes, when using encrypted channels. OTP codes expire in 30-60 seconds, making interception during device-to-device transfer impractical. ClipboardSyncer uses temporary connections with no server storage. The real security risk with SMS codes is SIM swapping and carrier-level interception, not clipboard sync on your own devices.
Can I see my phone's SMS messages on my Windows PC?
Yes. Microsoft Phone Link mirrors Android notifications and messages on Windows. Google Messages web (messages.google.com) shows your SMS conversations in any browser. Both require initial pairing but then work automatically. For iPhone to Windows, there is no native solution - use ClipboardSyncer or switch to email-based codes.
Why do verification codes only go to my phone and not my computer?
SMS codes are sent to phone numbers, which are tied to SIM cards in mobile devices. Computers do not have phone numbers. This is intentional security design - your phone serves as a separate "something you have" factor. To bridge this gap, use message mirroring (Google Messages, Phone Link) or clipboard sync tools. For more on how clipboards work across devices, see what is a clipboard.
What is better than SMS for two-factor authentication?
From most to least secure: hardware security keys (YubiKey) > passkeys > authenticator apps (Authy, Google Authenticator) > push notifications (Duo) > SMS codes. Authenticator apps are the best practical middle ground - they are free, work offline, and are not vulnerable to SIM swapping. If a service supports passkeys, use those to eliminate codes entirely.
Does Microsoft Phone Link work with iPhone?
Partially. Phone Link can mirror some iPhone notifications and handle calls on Windows, but it cannot access full SMS messages or clipboard content. The complete feature set (message reading, notification interaction, photos, apps) is Android-only. iPhone users who need SMS codes on Windows should use Google Voice (if available) or ClipboardSyncer for manual transfer.
Tired of typing verification codes manually?
Try ClipboardSyncer - sync codes instantly (free)