Creating Facebook & Gmail backup codes, archiving & encrypting them

8 May 2023 5 minutes Author: D2-R2

What do you think is the worst nightmare for computer users?

In a fit of curiosity, run an encrypted virus sent by mail? Drop a flash drive with a single copy of an important file into the sewer? Pour beer on a new ultrabook, etc. Here is another, no less nightmarish scenario. You’ve read compelling articles and watched impressive videos about digital security. Two-factor (two-step) authentication has been included wherever possible. No SMS (it’s unreliable), linked to a smart app on a smartphone. From now on, you walk the world with the confident gait of a happy person who has protected all his accounts. Until a busy pizza delivery guy taps you on the shoulder. He is riding a bicycle into the cheese sauce-soaked distance, and your favorite phone is flying to the asphalt. Suddenly, you find yourself in a sad world where there is no Google, Facebook, Instagram, Twitter, Slack, Zoom, your favorite cloud storage, corporate mail and many other familiar and useful resources.

More specifically, all of these sites are live, but your accounts are unreachable. A second factor is required to sign in, and that’s your phone. And he, as the repairman with the face of a sleeping fish said, will return to you in a week. May be. Backup codes allow you to get out of such a situation. Where to get them and what are they? In the same section of the service settings where you enabled two-step authentication. Backup codes will come in handy if you use a smartphone linked to the service as a second factor, and something bad happened to this device. It was broken, lost, forgotten at work, stolen by villains, seized during a search. Or maybe the smartphone just fell into a dark and dusty nowhere, where you can’t find it, and there it treacherously discharged. Let’s go to the instructions!

How to get Facebook login codes without a phone?

  1. If you have enabled 2-step verification, you can get 10 recovery codes to use without using your phone.
    Follow these steps to get the code.
  2. Click the account in the upper right corner of the Facebook page.
  3. Select Settings and privacy, and then press Settings.
  4. Click Security and authorization
    In the Two-Step Verification section, click Use 2-Step Verification. You may be prompted to re-enter your password.
  5. Next to Recovery Codes, click Set up, and then click Get Codes. If you have already set up recovery codes, you can click Manage and then Show codes.

You can print or save 10 displayed codes. Each code can be applied only once. If you run out of codes or lose them, you can request new ones by clicking Get New Codes.

How to create a set of gmail backup codes?

  1. Відкрийте сторінку Акаунт Google.
  2. In the navigation pane on the left, click Security.
  3. In the “Sign in to Google Account” section, select 2-Step Authentication. If necessary, log in.
  4. In the “Backup Codes” section, click the arrow to the right .
  5. You can:
    • Get backup codes. To do this, click Get backup codes.
    • Create a new set of codes and deactivate the old one. To do this, click “Refresh” .
    • Delete backup codes. To delete and automatically deactivate old backup codes, click “Delete” Delete.
    • Download backup codes. Click “Download Codes” .
    • Print backup codes. Click “Print”

How to log into the account using a backup code?

  1. Find backup codes.
  2. Sign in to your Google Account.
  3. Click Other way.
  4. Select Enter 8-digit backup code.
  5. Enter an unused backup code.

Advice. We recommend that you notice the codes you use because they only work once.

How to find a lost backup code and how to store it?

Search your computer on demand Backup-codes-imya_polzovatelya.txt, substituting your username. For example, a user named google123 should be entered in the search bar Backup-codes-google123.txt. Note that the codes must be downloaded to your computer so that they can be found in this way.

Backup codes must be stored in a safe place. Protected against unauthorized access as much as possible. You can print it on paper and put it in a safe. You can encrypt it on your computer and put it in the cloud. It is not recommended to save backup codes on the desktop of the computer in the text file kody.txt. Those using password managers (such as Bitwarden or KeePassXC) can try storing backup codes in password databases. Thus, codes will be provided with the same high level of protection as passwords. Of course, provided that the password base is protected by a strong master password. On the other hand, if unauthorized access to the password database does occur, the attacker will immediately receive the password and the backup code for two-step authentication. It is difficult to give an unequivocal recommendation here, it is up to you. But here’s what you can advise, for sure: make another copy of the backup codes and save them in another safe place. Have two copies just in case.


  • If you used all the backup codes or were stolen, create a new set of codes. To do this, click “Refresh” .
  • After that, all old codes will be automatically deactivated.

Other related articles
Personal safetyPrivacy
Read more
Gmail security settings
Gmail offers a number of security options to help users protect their email accounts from unauthorized access and other security threats. These settings include two-factor authentication, which adds an extra layer of security to the login process, as well as the ability to view recent account activity and track suspicious login attempts.
Found an error?
If you find an error, take a screenshot and send it to the bot.