Posted inApps / Linux / Security

KeePassXC: A Beginner’s Guide to the Free, Open Source Password Manager

KeePassXC open source password manager logo

Using strong, unique passwords for every online account is one of the simplest ways to improve your digital security. The problem, of course, is remembering them all.

That’s where a password manager comes in. But what if you want to manage your passwords without creating another online account, paying for a subscription or relying on a company’s cloud infrastructure?

KeePassXC is a free, open source password manager for Windows, macOS and Linux that puts you in control of where and how your passwords are stored.

Last updated: November 20, 2026.

What Is KeePassXC?

KeePassXC is a community developed password manager based on KeePassX. It uses the widely supported KeePass database format (.kdbx) to store your credentials in an encrypted file.

Unlike password managers that rely on a centralized cloud service, KeePassXC stores your database wherever you choose. That could be your computer, an external drive, a NAS or your preferred cloud storage provider.

There’s no account to create, no subscription and no mandatory internet connection.

KeePassXC can store considerably more than usernames and passwords:

  • Secure notes and recovery codes.
  • Software licenses and serial numbers.
  • Custom entry fields and file attachments.
  • Time-based one-time passwords (TOTP).
  • Passkeys for compatible websites.
  • SSH keys and agent integration.

It also includes a password generator, browser integration, Auto-Type functionality and database reports that help identify weak, reused and potentially compromised passwords.

The Advantages and Limitations of KeePassXC

Advantages Limitations
Completely free and open source No official mobile application
No required account or subscription Synchronization requires your own setup
Portable, encrypted database You’re responsible for database backups
Browser autofill and passkey support No recovery service for a forgotten master password
Works without an internet connection Some integration features depend on your operating system

The main trade-off is responsibility. You control your password database, but you’re also responsible for keeping it accessible, backed up and protected.

Download and Install KeePassXC

KeePassXC is available for Windows, macOS and Linux from its official download page.

At the time of this update, the latest stable release is KeePassXC 2.8.0, released on October 21, 2026.

This release introduces several significant improvements, including a migration to Qt 6, native Windows ARM64 builds, configurable keyboard shortcuts, Linux Wayland Auto-Type support and remote database synchronization using external tools.

Windows

Download the official installer or portable version for your system. Alternatively, install KeePassXC using Windows Package Manager:

winget install -e --id KeePassXCTeam.KeePassXC

macOS

Download the DMG file for your Mac or install KeePassXC using Homebrew:

brew install --cask keepassxc

Linux

KeePassXC is available through the package repositories of many Linux distributions. The project also provides an official AppImage and other distribution options.

Check the official download page for the installation method appropriate for your distribution.

Create Your First Password Database

The first thing you’ll need to do after installing KeePassXC is create an encrypted database.

  1. Launch KeePassXC and select Create new database.
  2. Enter a name for your database and an optional description.
  3. Review the encryption settings. The default settings are a sensible starting point for most users.
  4. Choose a strong, unique master password.
  5. Optionally configure a key file or supported hardware security key.
  6. Save the database as a .kdbx file somewhere on your computer.

KeePassXC welcome screen with the option to create a new password database

The screenshots throughout this article are from earlier versions of KeePassXC. The current interface and database creation wizard may look different.

For example, you could save your database as Passwords.kdbx. This file contains your encrypted credentials and can be moved between compatible computers and mobile devices.

Choosing a Master Password

Your master password protects everything inside your database, so this is the one password you really don’t want to get wrong.

A long passphrase made from six or more randomly selected words is a good option. KeePassXC’s built-in password generator can create one for you.

Don’t reuse a password from another account or construct a passphrase from a familiar quotation, personal information or predictable combination of words.

KeePassXC database credentials dialog showing master password and optional key file settings

Important: If you forget your master password and have no other way to unlock your database, there is no password recovery service that can decrypt it for you.

Consider keeping a written emergency copy of your master passphrase in a physically secure location.

Database Encryption and Key Files

KeePassXC supports strong encryption algorithms, including AES-256 and ChaCha20, alongside key derivation functions that make password guessing attacks more computationally expensive.

For new databases, the modern KDBX 4 format with Argon2id is a sensible choice, provided your other KeePass-compatible applications support it.

You can further protect your database using a key file generated by KeePassXC. When combined with your master password, the key file becomes an additional requirement for unlocking the database.

If you decide to use a key file:

  • Keep a secure backup of it.
  • Do not modify its contents.
  • Store it separately from the database where practical.
  • Make sure it remains accessible on every device where you need to unlock the database.

Losing a required key file can permanently lock you out of your passwords. For most beginners, a strong master passphrase and reliable backups are a better starting point than a complicated security configuration.

Organize Your Passwords

Once you’ve created your database, you can start adding your accounts.

Newly created KeePassXC password database

KeePassXC organizes passwords into entries and groups. Think of groups as folders and subfolders that help keep your accounts organized.

For example, you could create separate groups for:

  • Email accounts.
  • Banking and financial services.
  • Shopping.
  • Work accounts.
  • Software licenses.
  • Home network devices.

To create a group, right-click the root group in the sidebar and select the option to add a new group.

Creating a new password group in KeePassXC

Groups are entirely optional. You can start with a single collection of passwords and organize them later.

Add and Generate Passwords

Select a group and create a new entry using the toolbar or context menu.

A typical entry contains:

  • Title: A recognizable name for the account.
  • Username: Your login name or email address.
  • Password: Your existing password or a newly generated one.
  • URL: The website associated with the account.
  • Notes: Additional information you want to store securely.

KeePassXC entry editor showing username, password, website URL and notes fields

To generate a new password, click the dice icon next to the password field.

KeePassXC password generator with configurable password length and character sets

For most online accounts, a randomly generated password of 20 to 32 characters is a practical starting point. Adjust the length and character sets if the website has specific requirements.

The important thing is to use a different password for every account. You no longer need to memorize them individually, so there’s little reason to reuse passwords.

Keep in mind that generating a new password in KeePassXC doesn’t automatically change your password on the associated website. You still need to update it through the website’s account settings.

How to Log In With KeePassXC

There are three main ways to use credentials stored in KeePassXC: manually copying them, using browser integration or using Auto-Type.

Copy and Paste

The simplest method is to select an entry, copy the username or password and paste it into the appropriate login field.

KeePassXC entry context menu with options to copy usernames and passwords

KeePassXC can automatically clear copied credentials from the clipboard after a configurable period. You can adjust this behavior in the application’s security settings.

Be aware that separate clipboard history and synchronization utilities may retain copied information even after KeePassXC clears the clipboard.

KeePassXC Browser Integration

When this article was originally published in 2018, manually entering credentials was one of the biggest inconveniences of using KeePassXC. That’s no longer the case.

The official KeePassXC-Browser extension allows your browser to retrieve credentials directly from your unlocked local database.

It supports Firefox and several Chromium-based browsers, including Chrome, Brave, Vivaldi and Microsoft Edge.

To configure browser integration:

  1. Install the official KeePassXC-Browser extension for your browser.
  2. Open KeePassXC and navigate to its application settings.
  3. Select Browser Integration.
  4. Enable browser integration and select your browser.
  5. Unlock your password database.
  6. Open your browser and click the KeePassXC-Browser extension icon.
  7. Click Connect and authorize the connection in KeePassXC.

When you visit a website associated with a database entry, the extension can fill in your username and password. It can also generate passwords and offer to save new or updated login credentials directly to your database.

The extension communicates with your local KeePassXC application rather than a hosted password vault.

Safari is not officially supported by KeePassXC-Browser. Browser integration can also require additional configuration with certain sandboxed Linux browser packages.

Auto-Type

Auto-Type is particularly useful because it works independently of browser extensions and can enter credentials into desktop applications as well as websites.

To use it, focus the username field of the login form, switch to KeePassXC, select the appropriate database entry and choose Perform Auto-Type.

KeePassXC context menu showing the Perform Auto-Type option

KeePassXC normally enters your username, presses Tab, enters your password and presses Enter. You can customize this sequence for applications that use different login forms.

You can also configure a global Auto-Type keyboard shortcut through KeePassXC’s settings.

KeePassXC Auto-Type settings showing the global shortcut configuration

On supported platforms, KeePassXC can match entries against window titles and offer a list of relevant accounts. You can configure custom window associations for entries that aren’t matched automatically.

Starting with KeePassXC 2.8.0, Auto-Type also works on compatible Linux Wayland desktops through XDG Desktop Portals. Window title matching is unavailable under Wayland, and support depends on your desktop environment.

Security note: Auto-Type simulates keyboard input. Always verify that the correct window and login field are focused before using it. Unlike browser integration, Auto-Type does not inherently verify the website’s domain.

Two-Factor Authentication and Passkeys

KeePassXC can generate time-based one-time passwords (TOTP), allowing you to store authentication codes alongside your regular passwords.

To configure TOTP for an account, obtain the setup secret from the website, right-click the corresponding KeePassXC entry and select TOTP > Set up TOTP.

Storing both your password and authentication secret in the same database is convenient, but it reduces the separation between authentication factors. For particularly sensitive accounts, consider keeping authentication secrets in a separate authenticator or using a hardware security key.

KeePassXC also supports passkeys through its official browser extension. Compatible websites can create and use passkeys stored within your encrypted database rather than relying exclusively on an operating system’s password manager.

Using KeePassXC on iPhone and Android

There is no official KeePassXC application for iOS or Android. However, the KDBX database format is supported by several independent mobile password managers.

Application Platform
KeePassium iPhone and iPad
KeePassDX Android
Keepass2Android Android

Unlike the mobile applications available when this guide was originally published, modern KeePass-compatible clients support system-level password autofill.

On iOS, KeePassium can be configured as an autofill provider for websites and applications. KeePassDX and Keepass2Android provide similar functionality on Android.

Make sure your chosen mobile application supports your database’s encryption settings and any additional authentication requirements, such as key files or hardware security keys.

Some mobile applications offer optional paid features, even though KeePassXC itself remains completely free.

Synchronize Your Password Database Across Devices

KeePassXC doesn’t require you to use a particular synchronization service. You can choose whichever method fits your workflow.

Some options include:

  • Manually transferring your database between devices.
  • Storing the encrypted database in Dropbox, iCloud Drive or another cloud storage service.
  • Synchronizing it between computers using a NAS or a peer-to-peer synchronization tool.
  • Using KeePassXC 2.8’s remote synchronization functionality with external tools such as rsync or SCP.

Your KDBX file is already encrypted before it is uploaded. However, a strong master password remains essential because anyone who obtains a copy of the database can attempt to guess its password offline.

When editing the same database on multiple devices, allow synchronization to finish before making additional changes elsewhere. Conflicting edits can create duplicate files or result in lost changes.

If you use a key file, avoid storing it alongside the database in the same cloud account whenever possible.

For an alternative approach to storing encrypted documents and photos online, take a look at Cryptee.

Back Up and Protect Your KeePassXC Database

Keeping control of your passwords also means taking responsibility for their availability.

Synchronization is not the same thing as a backup. If a database is accidentally deleted or corrupted, that change can propagate to your other devices.

A few precautions can make a significant difference:

  • Keep multiple copies of your encrypted KDBX database.
  • Maintain at least one backup on a separate storage device.
  • Periodically verify that your backups can actually be opened.
  • Configure KeePassXC to lock your database after inactivity and when your computer is locked.
  • Enable automatic database saving and review the available backup options.
  • Keep KeePassXC and your mobile password managers updated.
  • Use full disk encryption on your devices where available.

If you’re migrating from another password manager, KeePassXC supports importing several database and export formats, including CSV, Bitwarden, Proton Pass and 1Password.

Be especially careful with exported CSV and unencrypted JSON files. They may contain all of your passwords in plain text. Avoid uploading them to cloud storage and remove them once you’ve verified that your credentials were imported successfully.

KeePassXC vs Cloud Password Managers

Cloud password managers can offer excellent security and convenience, including automatic synchronization, account sharing and recovery options. Being a cloud service or charging for a subscription doesn’t automatically make a password manager insecure.

KeePassXC simply offers a different model.

Your password database belongs to you. You decide where it is stored, how it is synchronized and which compatible applications you use to access it.

That requires a little more responsibility, but with modern browser integration, passkeys and mobile autofill, using KeePassXC is considerably more convenient than it was when we first covered it in 2018.

If you prefer open source software and want to manage your passwords independently of a particular cloud provider, KeePassXC remains one of the most compelling options available.

Download: KeePassXC | Official documentation | Source code

Support FSMdotCOM on Liberapay