Mac2FA generates two-factor codes locally on your Mac.
Import from Google Authenticator, paste
otpauth://
URIs, or add secrets manually — all stored securely in the
macOS Keychain.
Features
A focused, local-first authenticator built natively for macOS with SwiftUI.
Secrets live in the macOS Keychain under the
Mac2FA service — never in plain text,
never synced to a cloud.
Bring accounts over from Google Authenticator by
pasting an
otpauth-migration:// link or dropping
its QR code as an image.
Paste any standard
otpauth://totp/... URI from your
providers — Mac2FA parses it the same way mobile
apps do.
Drag a QR screenshot onto the window or pick a file — Mac2FA decodes the code locally without sending it anywhere.
Type to filter by issuer or account label. Click any row to copy its current code straight to the clipboard.
Supports the full TOTP spec: 6, 7, or 8 digits, 30s or 60s periods, and SHA-1, SHA-256, or SHA-512 algorithms.
How it works
Download the app, bring in your accounts, and copy codes with a click — no extra service required.
Download the latest build from GitHub and drag Mac2FA into Applications.
Paste a Google migration link, drop a QR image, or type a Base32 secret by hand.
Click an account row to copy its rolling TOTP code — the countdown ring shows when it refreshes.
App Preview
A focused dark interface built with SwiftUI — accounts, imports, and manual entry all in one window.
Paste an otpauth-migration:// link or drop the migration QR.
Drag any otpauth QR screenshot onto the window or pick a file.
Paste any standard TOTP URI from your provider's setup page.
Type a Base32 secret with issuer, label, algorithm, digits, and period.
Click any account row to copy the current TOTP code. The ring shows the time remaining before it rotates.
Setup Guide
Get Mac2FA running in a few minutes.
Drag to Applications and launch.
Secrets stay local
Account data lives in
~/Library/Application Support/Mac2FA and the macOS Keychain.
Requirements
Mac2FA is small and focused — almost nothing required.
Mac2FA targets macOS Sonoma or later and uses modern SwiftUI APIs.
Standard macOS Keychain access is enough — no third-party services or cloud accounts.
A Google Authenticator export, a provider QR code, or a Base32 secret to seed your first account.
Download Mac2FA for free and keep your TOTP secrets local to your machine.
Download Mac2FA