KeePass is a free, open-source password manager that keeps all of a person’s logins in a single encrypted database unlocked by one master key. It is written for Windows. It also runs on Linux, macOS and BSD through the Mono runtime, and under Wine, so the same database travels between systems. Instead of reusing a handful of memorized passwords, the user stores a distinct credential for every account and recalls only the one key that opens the file.
The encrypted database
Everything KeePass holds lives in one database file. KeePass encrypts the whole file, not only the password fields. This also protects usernames, notes and other entry data. Encryption uses established block and stream ciphers, including AES (Rijndael), ChaCha20 and Twofish. Plugins can add further ciphers. Because the database is a self-contained file, backing it up or copying it to another machine is a matter of moving that one file.
The master key is not used to encrypt the data directly. KeePass hashes its components and then passes them through a key-derivation function, either AES-KDF or Argon2. This function repeats the transformation many times to slow down guessing and dictionary attacks. While running, KeePass keeps stored passwords encrypted in process memory so that a memory dump does not expose them in plain form.
How the master key is built
KeePass calls the key that opens a database a composite key, because it can combine more than one source. A user can protect the database with a master password alone, with a key file alone, or with both at once. Using both means opening the file requires the key file and the password together. Users can keep a key file on removable media such as a USB stick and separate it from the computer. The actively developed edition can additionally tie a database to the current Windows user account, so only that account can open it. Through plugins, it can accept further key sources such as one-time passwords and hardware tokens.
Generating passwords
A built-in generator produces random passwords so the user does not have to invent them. The user sets rules for the output: its length and which character sets (such as upper and lower case letters, digits and symbols) may appear. Mouse movement and keystrokes provide part of the randomness. Generated values drop straight into the password field of an entry.
Entries, fields and groups
Each entry stores a title, user name, password, URL and a notes field, along with timestamps for creation, last change, last access and expiry. Users can attach files to an entry. The newer edition opens attached text, images and documents in a built-in viewer without requiring users to export them first. Entries are organized into groups, which form a tree so a group can contain subgroups to any depth. Users can search entries within a database and sort them by clicking a column header. The modern edition adds exclusion terms in searches and can flag duplicate passwords.
Auto-Type and clipboard handling
Auto-Type lets KeePass fill a login instead of having the user copy and paste. When triggered, it types an entry’s details into the target dialog or web form following a sequence. The user can customize this sequence for sites that need a different field order. A global hotkey can find the matching entry for the active window and run its Auto-Type while KeePass sits in the background. For manual filling, double-clicking a field copies its value to the clipboard. KeePass can clear the clipboard automatically after a set interval.
Moving data in and out
KeePass can export a database to formats including TXT, XML, CSV and styled HTML. CSV serves as a common interchange format for spreadsheets and other password tools. It imports from a range of sources; the modern edition recognizes over thirty-five import formats out of the box, and plugins add more. This makes it possible to move an existing credential set in from another manager or to hand data off to one.
Plugins and portability
A plugin architecture lets third parties extend KeePass, most often by adding import and export formats, backup routines, browser integration or extra key sources. The program is also portable: it can run from a USB stick without installation. It writes no registry keys or configuration files to the host system, so removing its folder leaves nothing behind. Separate community ports bring KeePass databases to Android and iOS.
Two editions
KeePass is offered in two parallel editions that are built independently rather than one succeeding the other. The classic edition receives maintenance and stores its database in a binary inner format. The modern edition is the one under active development. It uses an XML inner format and adds database compression and Argon2 key derivation. It also adds custom fields, entry history, tags, a recycle bin, synchronization and a trigger system for automation. It runs natively across x86, x64 and ARM64. Both editions are free and share the same portable, plugin-extensible design.





