Skip to content
OTP Generator

PlayStation 2FA code generator

Paste your PlayStation 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

Your account for PlayStation signs you in on PS5, PS4, PlayStation Store and the PlayStation App. Sony's 2-step verification (2SV) can use text messages or an authenticator app. When you choose the app, Sony shows a QR code and an alphanumeric code to enter by hand. Paste that code above to generate the 6-digit code.

PSN accounts hold digital games, subscriptions and saved payment methods, so adding a second sign-in step is sensible. This generator works in your browser and does not upload your key. It also helps when a console asks for a code while your phone is elsewhere. Keep the key backed up and record your 10 backup codes.

How to find your PlayStation secret key

  1. Sign in to Account Management on playstation.com and select Security.
  2. Next to 2-step Verification Status, select Edit. On a PS5, go to Settings > Users and Accounts > Security > 2-Step Verification instead.
  3. Select Authenticator App as the verification method.
  4. Sony shows a QR code and an alphanumeric code for your app. Copy the alphanumeric code; it is your setup key. Labels may change slightly over time.
  5. Store the key privately before entering a verification code and selecting Activate.

How to log in to PlayStation with the code

  1. Paste the PlayStation key into the generator at the top of this page.
  2. Copy the 6-digit code, enter it on Sony's setup screen and select Activate, then record your Backup Codes.
  3. When PSN, a PS5 or a PS4 asks for a verification code at sign-in, generate a fresh one here.

PlayStation 2FA tips

  • Sony issues 10 backup codes, each usable once. You can view them under Account Management > Security > Backup Codes, and turning 2SV off and on again gives you a new set.
  • PSN asks for a code on the first sign-in after you turn 2SV on, after you sign out manually, after a password reset and after you change your sign-in ID or online ID.
  • To move from text messages to an authenticator app, deactivate 2SV and set it up again with Authenticator App selected. Sony also offers passkeys on devices that support them.

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

PlayStation 2FA FAQ

How do I turn on 2-step verification on a PS5?

Go to Settings > Users and Accounts > Security > 2-Step Verification and choose Authenticator App. Scan the QR code or enter the alphanumeric code in your app, type the code it shows and select Activate. Then record your backup codes.

Which authenticator apps work with PSN?

Sony names Authy, Google Authenticator and Microsoft Authenticator as examples. The codes are time-based, so this generator shows the same 6-digit code as those apps when you paste the same key.

I lost my phone. How do I sign in to PSN?

Use a backup code: in Account Management choose Trouble Receiving Code? and then Sign In Using a Backup Code, or enter one on the 2SV screen of your PS5. Then turn 2SV off and set it up again. Without backup codes, Sony asks you to contact PlayStation Support through its Online Assistant; if you saved your key, you can also paste it above.

Why is my PlayStation code rejected?

Make sure your device clock syncs automatically and enter the code before it changes. If you set up 2SV again, paste the new key here, because codes from the old key will not match. If nothing works, sign in with a backup code.

Get your PlayStation code

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