Skip to content
OTP Generator

Shopify 2FA code generator

Paste your Shopify two-factor secret key to get the current 6-digit login code, the same one your authenticator app shows.

Find it under “Can’t scan the QR code?” when you turn on 2FA. Only have the QR?

2Your code will appear here
Paste a key to start
Calculated in your browser. Your key is never sent anywhere.
On this page

Shopify accounts can be protected with an authenticator app, SMS or security key. Choosing the authenticator app gives you a setup key that this page can turn into the 6-digit code Shopify requests when you sign in to your store admin. The key is processed locally, so it stays on your device.

Store owners and staff often log in from several computers throughout the day, and getting a code without searching for a phone can speed that up. Remember that your Shopify login guards orders, payouts and customer data. Keep a backup of your key in an authenticator or password manager and save Shopify's recovery codes somewhere safe and offline.

How to find your Shopify secret key

  1. Sign in to Shopify and open your account settings by clicking your name and choosing Manage account (or go to accounts.shopify.com).
  2. Open Security, then find Two-step authentication.
  3. Choose to add or turn on an Authenticator app.
  4. Shopify shows a QR code; choose the option to enter the code manually to see the text key, and copy it. Labels may vary a little over time.
  5. Save the key privately before you continue to the verification step.

How to log in to Shopify with the code

  1. Paste the Shopify key into the generator on this page.
  2. Copy the 6-digit code.
  3. Enter it in Shopify to complete setup. Whenever Shopify asks for a two-step authentication code on sign-in, generate a fresh code here.

Shopify 2FA tips

  • Download Shopify's recovery codes after setup. They are the fastest way back into your account if your key is lost.
  • Give staff their own Shopify accounts with their own 2FA instead of sharing the owner login and key.
  • If you are a Shopify Partner or app developer, protect your Partner account with 2FA as well, since it can reach many stores.

Your Shopify key is processed only in this browser and is never uploaded. Keep a copy in an authenticator app or password manager as well.

Shopify 2FA FAQ

Does each Shopify store need its own 2FA key?

No. Two-step authentication is attached to your Shopify user account, not to individual stores. One key protects your login across every store you can access with that account. If you also have a separate Shopify ID for another email address, that login has its own key.

Can Shopify staff use this generator?

Yes. Staff members set up two-step authentication on their own accounts and receive their own keys. Each person should keep their key private and generate codes only for their own login.

My Shopify code is rejected. Why?

Check that your computer clock is correct, that you copied the key without missing characters, and that you have not re-enabled 2FA since saving the key. Then try the next code after the timer resets.

What if I'm locked out of Shopify?

Use a recovery code or your saved key. If neither is available, Shopify Support can help verify ownership, but it may take time and require details about your store. Saving your key now prevents that delay.

Get your Shopify code

Paste the Shopify setup key and copy the current 6-digit code in seconds.