Best for · Password managers

How do password managers work?

We read every plan page. Paid links are labelled. Money never changes a ranking. How we pick.

Verdict Our pick

The bar guide has a call.

The vectaai bar guide pointing at the verdict
  • A password manager keeps all your logins in an encrypted vault and unlocks it with one master password that only you know.

Compared here

  • 01Bitwarden
  • 021Password
  • 03Proton Pass
  • 04RoboForm
  • 05Keeper

Short answer

A password manager keeps all your logins in an encrypted vault and unlocks it with one master password that only you know. The encryption and decryption happen on your own device. The company's servers only store and sync the scrambled vault, so in a good design they cannot read your passwords. Bitwarden's security white paper says exactly that: it "never stores and cannot access your master password or your cryptographic keys."

When you visit a site, the manager compares the web address with the ones saved in your vault and offers the matching login, which is also why it will not fill your bank password on a lookalike phishing site. Below: the step-by-step flow, what "zero knowledge" really means, how autofill decides, what happens if the company gets hacked and the weak spots that are still on you.

Try BitwardenTry 1PasswordTry Proton PassTry RoboForm

Sponsored links. We may earn a commission; it never changes the pick.

At a glance

How the main steps work, using Bitwarden's security white paper and help pages and 1Password's security page as examples, read 3 December 2026. Other managers use similar designs with different details.
StepWhat happensWhere it happensExample from official docs
1. You type the master passwordIt never leaves your device in plain formYour deviceBitwarden: master password is never sent to its servers
2. Key stretchingThe password is run through a slow key derivation function to make a keyYour deviceBitwarden: PBKDF2 with 600,000 iterations, or Argon2id
3. Unlocking the vaultThat key decrypts the keys that decrypt your itemsYour deviceBitwarden: each item has its own random key
4. EncryptionItems are stored encrypted with strong symmetric encryptionYour device, before uploadBitwarden: AES-256-CBC with HMAC, or XAES-GCM
5. SyncOnly encrypted data goes to the cloud and to your other devicesCompany serversBitwarden: servers only store and sync encrypted vault data
6. AutofillThe manager matches the site address to saved loginsYour deviceBitwarden: default match is the base domain
Extra lockSome add a second secret on top of the passwordYour device1Password: a 128-bit Secret Key plus your password

Money first. Some buttons on this page are affiliate links: RoboForm pays a one-time share on new subscriptions, Proton runs a partner program, and others may too. Bitwarden has no affiliate program at all and we still use it as the main example, because its security white paper is the clearest public explanation we found. We follow the FTC's disclosure guide.

What we did: we read the official security documents, mainly the Bitwarden security white paper and 1Password's security page, on 3 December 2026. We did not audit anyone's code. Where we explain the general idea, we say so; where we quote numbers, they come from those pages.

The short version

A password manager is three things glued together:

  1. A vault: an encrypted file holding your logins, notes, cards and so on.
  2. A key: made on your device from your master password, used to lock and unlock that vault.
  3. A helper: browser extensions and apps that fill logins, save new ones and generate strong passwords.

The trick that makes it safe is where the locking happens. It happens on your phone or laptop, before anything goes to the internet. The company holds a locked box it cannot open.

Step by step: what happens when you unlock

Here is the flow, using Bitwarden's white paper as the worked example. Other managers follow the same pattern with different names and settings.

1. You type your master password. Bitwarden says the master password is never sent to its servers in plain form.

2. Your device stretches it. A key derivation function runs your password through thousands of rounds of math to produce a 256-bit Master Key. Bitwarden lists two options: PBKDF2 with 600,000 iterations, or Argon2id with 6 iterations and 32 MiB of memory, which is deliberately memory-hungry. Your email is used as a salt, so two people with the same password still get different keys.

Why bother? Because it makes guessing slow. If an attacker steals an encrypted vault, every password guess has to go through the same expensive math. That turns a fast brute-force attack into a very slow one.

3. A hash proves it is you. From the Master Key, the app derives a separate Master Password Hash, and that is what gets sent to the server to log you in. The server checks the hash; it never sees the password or the key.

4. The vault unlocks locally. The Master Key decrypts your account's main encryption key. Bitwarden says each vault item then has its own random per-item key, protected by that main key.

5. Items are encrypted with strong ciphers. Bitwarden lists AES-256-CBC with HMAC for older accounts and XAES-GCM for newer ones. You do not need to know the acronyms. What matters: these are standard, well-studied algorithms, not homemade crypto.

What "zero knowledge" actually means

You will see "zero knowledge" on almost every password manager's website. In plain terms it means the company is designed not to know your secrets.

Bitwarden's white paper puts it directly: it "never stores and cannot access your master password or your cryptographic keys," and "Bitwarden team members cannot see your passwords." 1Password says its "dual-key model ensures that even we can't see exactly what you've saved."

1Password's dual key is worth a sentence. Besides your password, your account has a 128-bit Secret Key generated on your device. Both are needed to decrypt your data. So even a weak password is not enough on its own for someone who only has the company's copy of your vault; they would also need that Secret Key from one of your devices.

The honest caveat: zero knowledge is a design promise. You are still trusting that the app does what the company says. That is why independent audits, published white papers and, for Bitwarden, open source code matter. Our page on whether Bitwarden is open source covers that angle.

How sync works across devices

When you save a login on your laptop, the app encrypts it first, then uploads the encrypted blob. Your phone downloads the blob and decrypts it with your key. Bitwarden says its servers "are only used for storing and synchronizing encrypted vault data."

The practical upshot:

  • Your vault lives on every device you use, encrypted.
  • The company's servers hold one more encrypted copy.
  • None of those copies are readable without your master password (and, with 1Password, your Secret Key).

Most apps can also work with the local copy when you are offline, then sync changes later.

How autofill knows which password to use

This is the part people use every day and rarely think about. When you land on a login page, the manager compares the page's web address with the addresses saved in your vault.

Bitwarden's URI match detection help page explains its default, called base domain matching. It compares the main domain, like google.com. So a login saved for google.com is offered on accounts.google.com, but not on google.net or a lookalike domain. You can make the rule stricter per item, for example to match the exact host.

That small rule is a quiet anti-phishing feature. If you click a fake link to "paypa1-login.com", your manager does not recognize it and offers nothing. When autofill suddenly refuses to fill on a site you use every day, stop and check the address bar.

How the password generator fits in

The generator is the other half of the point. A manager is only useful if every account gets a different, long, random password. CISA's guidance recommends passwords of at least 16 characters, random, and unique for each account, and says to create them with a password manager. CISA also suggests passphrases of 4 to 7 unrelated words, which is a good format for the one password you do have to remember: your master password.

Our password generator page compares the built-in generators.

What happens if the password manager is breached

Companies get attacked. The question is what attackers walk away with.

In a zero knowledge design, they get encrypted vaults. To open any one of them, they need that user's master password, guessed one slow attempt at a time because of key stretching. A long random passphrase makes that hopeless in practice. A short or reused master password, or one already leaked from another site, makes it a real risk.

Some things may not be encrypted in every product, such as which websites you have saved, depending on the vendor's design. Read the vendor's white paper for exactly what is and is not encrypted.

The weak spots that are still on you

A password manager removes the biggest risk, password reuse. It does not remove all of them:

  • A weak master password. Make it long and unique. A 4 to 7 word passphrase works.
  • No two-factor authentication on the manager itself. Turn it on.
  • Malware on your device. If your computer is compromised while the vault is unlocked, encryption does not help.
  • Phishing for the master password. Only type it into the real app or extension.
  • No recovery plan. Because the company cannot see your keys, it usually cannot reset your vault. Set up recovery options or emergency access on day one.

Browser, built-in or standalone?

Chrome, Safari and others have built-in password managers that follow similar ideas and cost nothing. Standalone managers add cross-browser and cross-platform support, sharing, security reports and features like the Secret Key. Our should I use a password manager page covers when the built-in one is enough, and password vault compares the vaults worth paying for. The full roundup is in the password managers hub.

Bottom line

A password manager works by doing all the locking and unlocking on your own device, with a key stretched from your master password, and syncing only encrypted data through the company's servers. Autofill matches saved logins to the real site address, which also blunts phishing. The design is strong. The weak link is the one password you choose, so make that one long, unique and protected with two-factor authentication.

Questions people ask

How does a password manager work in simple terms?

Think of a locked safe that travels with you. Your passwords go inside, the safe is locked on your own device with a key made from your master password, and only the locked safe is copied to the company's cloud so your phone and laptop stay in sync. When you visit a site, the manager opens the safe locally and fills the right login.

Can the password manager company see my passwords?

In a zero knowledge design, no. Encryption happens on your device and the company stores only scrambled data. Bitwarden says its team members cannot see your passwords, and 1Password says its dual-key model means even it cannot see what you saved. You are trusting their code and their claims, which is why audits and open source matter.

What happens if a password manager gets hacked?

If attackers steal the encrypted vaults, they still need each user's master password to open them. That is why key stretching exists: it makes every guess slow. A long, unique master password makes a stolen vault practically useless. A short or reused one makes it crackable, so the master password is the one you must get right.

What happens if I forget my master password?

Usually, you lose the vault. Because the company never has your master password or keys, it cannot reset your way back in. Some managers offer recovery options like emergency access, recovery codes or account recovery set by a business admin. Set one up on day one and store the recovery code somewhere offline.

Are password managers safe to use?

For almost everyone they are much safer than the alternative, which is reusing passwords. CISA's advice is to use long, random, unique passwords made with a password manager. The risks are a weak master password, malware on your device and phishing for your master password, so pair the manager with two-factor authentication.

Do password managers work offline?

Most keep an encrypted copy of your vault on each device, so you can usually unlock and read your passwords without a connection. New changes sync when you are back online. Details vary by app and platform, so if offline access matters, check the manager's help pages before you rely on it on a plane.

Sources

Every fact above comes from these pages. Prices change, so each one carries the date we read it.

  1. Bitwarden security white paper, checked 3 Dec 2026
  2. Bitwarden help: URI match detection, checked 3 Dec 2026
  3. 1Password security, checked 3 Dec 2026
  4. CISA: Use strong passwords, checked 3 Dec 2026
  5. FTC: Disclosures 101 for Social Media Influencers, checked 3 Dec 2026