Copy 2FA

Press ⌃⇧C anywhere. Your newest 2FA code is copied.

free · open source · macos 14+ · no internet access

Questions

How do I copy a 2FA code from email on a Mac?

Add your email account to Apple Mail, open Copy 2FA, and press ⌃⇧C when the code arrives. The newest code is copied, ready to paste with ⌘V.

How do I copy an older 2FA code, not the newest one?

Click the Copy 2FA icon in the menu bar and choose Recent Codes. It lists the last five codes from the past 10 minutes, newest first, with who sent each one and whether it came from Mail or Messages. Pick one with the arrow keys and Return, or click it. You can also give Recent Codes its own shortcut in Settings.

Does it work with Gmail, Outlook and iCloud?

Yes. Copy 2FA reads every account you've added to Apple Mail, whatever the provider, and texted codes from Messages if you turn that on.

Can it read codes from Authy, Duo or Google Authenticator?

Those apps don't let other apps read their codes. You can move Google Authenticator accounts into Copy 2FA's own authenticator with its transfer QR code. Authy doesn't allow exports, so set those accounts up again with a new QR code. Duo passcodes sent by text are read from Messages.

Is Copy 2FA safe?

Copy 2FA runs in the macOS App Sandbox with no network access, so it can't send your codes anywhere. It only reads Mail and Messages when you ask, never saves what it reads, and keeps authenticator secrets in your keychain behind Touch ID. The code is open source.