p
pastehere
How it worksFAQ
Guide

Copy a 2FA code from your phone to your laptop

The code arrives on your phone but you need it on the laptop. Open a room in the browser on both, pair with a 6-digit code, and the verification code is one paste away — before it expires.


Two-factor codes always seem to land on the wrong device: the text or authenticator code is on your phone, but the login is on your laptop, and you've got thirty seconds to glance over and retype six digits without fumbling. It's a small, daily friction — and a place where a quick, private hand-off genuinely helps.

A shared room turns it into a copy-paste. Add the code on your phone, and it's on the laptop's clipboard to paste straight into the field. Because the codes are short-lived, speed matters, and the room is already paired and waiting once you've set it up.

How to do it in three steps

  1. 1

    Open a room

    Go to pastehere.app in any browser and create a room. You'll get a six-digit code — no sign-up, nothing to install.

  2. 2

    Pair the second device

    Open the same site on the other device and type the six-digit code (or scan the QR) to join. The devices agree on a key directly, so the server never sees it.

  3. 3

    Copy on one, paste on the other

    Add text, a link, an image or a file on either device and it appears on the other within a second. Destroy the room when you're done.

Everything is encrypted in your browser with AES-256 before it leaves the device. Devices agree on the room key through a PAKE exchange over the 6-digit code, so the key never reaches the server — it only ever stores ciphertext.

Why end-to-end encryption matters here especially

A 2FA code is exactly the kind of thing you don't want passing readable through a server. pastehere encrypts everything in your browser with AES-256 before it leaves the phone, and the encryption key is agreed directly between your phone and laptop through the room code — it never reaches the server, which only ever holds ciphertext. The code stays between your two devices.

For maximum hygiene, destroy the room after you've logged in, or clear the item — one-time codes are one-time, and there's no reason to keep them around.

A note on what this is and isn't

This is a convenience for moving a code you already received, not a password manager or an authenticator app. Your 2FA still works exactly as before — the code is generated and delivered the same way — pastehere just saves you from retyping it across devices.

Questions

How do I get a 2FA code from my phone onto my laptop quickly?

Keep a pastehere room open on both devices. When the code arrives on your phone, add it to the room and paste it on the laptop — faster and less error-prone than retyping before it expires.

Is it safe to move a one-time code this way?

Yes. The code is end-to-end encrypted with AES-256 in your browser, and the key never reaches the server — only ciphertext does. Destroy the room or clear the item after you log in for good measure.

Does this replace my authenticator app?

No. Your 2FA works exactly as before; pastehere only moves a code you've already received from your phone to your laptop so you don't have to retype it.