Free · Open source · Chrome

The code is already here.

When a sign-in code lands in Gmail, CodeSafe shows it right above the field you’re typing in. One click fills it. Nothing leaves your browser.

Free and open source. Install steps are in the README.

Familiar

You already know how this works.

iPhone fills codes from Messages. CodeSafe does the same for Gmail, in Chrome.

9:41100%

Enter code

Sent to your phone

From Messages482193
q
w
e
r
t
y
u
i
o
p
a
s
d
f
g
h
j
k
l
⇧
z
x
c
v
b
n
m
⌫
123
space
done

On iPhone

Enter code

Sent to your email

From stripe.com482193

Now in Chrome

Watch

See it in 30 seconds.

The detour

Twenty times a day, you leave the page to find six digits.

Without CodeSafe

  1. 1Switch to the Gmail tab
  2. 2Wait for it to refresh
  3. 3Open the message
  4. 4Select the code, copy it
  5. 5Switch back, find the field
  6. 6Paste, hope it splits right

With CodeSafe

Click the pill.

One click, every time. You never leave the page.

How it works

If it’s in your inbox, it’s in the field.

01

Focus a code field.

Click into any verification input. CodeSafe recognizes single fields and split six-box inputs alike.

02

The code appears.

It checks only the last 10 minutes of Gmail and floats the code just above the field.

03

One click. Done.

Tap the pill and every box fills. Or press ⌘⇧Y without touching the mouse.

Keyboard

Never reach for the mouse.

⌘⇧Y

Pastes the latest code into the field you are typing in. Ctrl+Shift+Y on Windows and Linux. Change it any time at chrome://extensions/shortcuts.

Security & Privacy

Your inbox stays yours.

An extension that touches email should be small enough to explain in five sentences. Here they are.

0

servers

10 min

of mail, max

5 min

in memory

Read

only scope

Questions

Asked, honestly answered.

No. CodeSafe only queries Gmail when you focus a code field, and only for messages from the last 10 minutes that look like they contain a verification code. Access is read-only, so it can never send, delete, or modify anything.

Three things: the code, the sender’s domain, and when it arrived. They are kept in session memory for 5 minutes, or until the code is used, and then wiped. Nothing is saved to disk and nothing is sent to us. There is no “us” server.

Google requires a security review for any app requesting Gmail scopes, and CodeSafe’s review is in progress. Until it completes, Google shows this warning. The code is open source, so you can read exactly what it does before you approve.

Any site with a one-time code field, including split inputs with one box per digit. If a site uses an unusual field, ⌘⇧Y (Ctrl+Shift+Y on Windows and Linux) pastes the latest code into the text field your cursor is in.

Open CodeSafe on GitHub and follow the README to build it, then open chrome://extensions, turn on Developer mode, and choose Load unpacked. A Chrome Web Store listing is on the way.

Sign out from the CodeSafe popup, or revoke access at myaccount.google.com/permissions. Removing the extension also removes everything it held.

Stop alt-tabbing.

Free forever. Open source. Under 60 KB.

View on GitHub

Free and open source. Install steps are in the README.