KeePass Explained: A Password Manager You Own
How KeePass and the KDBX file format work, why a local password database is safe, how Argon2 protects it, and how to use it across devices.

KeePass Explained: A Password Manager You Own
Most password managers keep your vault on their servers. That is convenient, but it means trusting a company with the keys to your digital life, and several popular services have suffered breaches. KeePass takes the opposite approach: your passwords live in a single encrypted file that you own and store wherever you like. The KeePass Password Vault editor opens and edits those files in your browser. This guide explains how KeePass works and how to use it well.
One file, many apps
A KeePass database is a .kdbx file. The format is open and documented, so many apps can read it:
- KeePass on Windows, the original.
- KeePassXC on Windows, Mac and Linux.
- KeePassDX on Android.
- Strongbox and KeePassium on iPhone and iPad.
- KeeWeb and this editor in a browser.
Because the file is yours, you decide where it lives: on your laptop, a USB stick, or a cloud folder that syncs it between devices. The cloud provider only ever sees an encrypted blob.
How the file is protected
When you open a database, your master password (and optionally a key file) goes through a key derivation function before it becomes the encryption key:
- AES-KDF in older KDBX 3.1 files repeats AES encryption many thousands of times.
- Argon2d or Argon2id in KDBX 4 files is a memory-hard function that won the Password Hashing Competition. It forces every guess to use, for example, 64 MB of memory and several passes, which makes large-scale guessing on graphics cards very expensive.
The derived key then decrypts the database with AES-256 or ChaCha20, and an HMAC detects any tampering. A strong master password is still essential: four or five random words is a good start.
Key files
A key file is a second secret stored as a file. To open the database you need both the password and the key file. Keep the key file somewhere other than the database itself, for example on a USB stick or in a separate cloud account, otherwise it adds little protection.
What goes in an entry
Each entry holds a title, username, password, URL and notes, plus custom fields for things like security questions or PINs. KeePassXC also stores two-factor secrets in an otp field, and compatible apps, including this editor, show the current six-digit code. Every edit saves the previous version in the entry's history.
Editing in the browser
The editor decrypts the file in your browser tab and never uploads it. You can search, edit entries, generate passwords and see live two-factor codes. Because browsers cannot overwrite files on your disk, saving downloads an updated copy; replace your old file with it. New databases use KDBX 4 with Argon2id at 64 MB by default.
Syncing safely
If the file sits in a synced cloud folder and you edit it on two devices before they sync, you can end up with conflicting copies. KeePassXC and some mobile apps can merge them, but it is easiest to edit on one device at a time and let sync finish.
Backups
Your database is a single point of failure. Keep backups in at least two places, and occasionally test that a backup opens. Losing both the file and its backups, or the master password, means losing every password inside.
KeePass versus cloud managers
Cloud managers offer effortless sync, sharing and account recovery. KeePass offers ownership, no subscription and no central target for attackers. Many people use KeePass for their most sensitive accounts and accept a little more manual work for that control.
Summary
KeePass keeps your passwords in an encrypted file you control, protected by a master password, an optional key file and a memory-hard key derivation function. Use a strong passphrase, keep backups, and open the file in any compatible app, or in the browser with the KeePass vault editor when your usual app is not at hand.



