KeePassXC: Store Passwords Locally Without a Cloud Account
A recent incident involving 1Password reminded many people that cloud password managers ask you to trust both their encryption and their infrastructure. According to 1Password's early statements, stored vault passwords were not exposed—but account metadata and user information were. That is exactly the kind of leak that makes privacy-focused users nervous.
Services like 1Password, Proton Pass, and Bitwarden (unless you self-host) are end-to-end encrypted—but you still create accounts, sync through their servers, and depend on their uptime and security practices. KeePassXC takes a different path: free, open source, no subscription, no signup, and a single encrypted .kdbx file you keep on your own devices.
Why Go Local?
- Free and open source—auditable code, no paywall for core features.
- No cloud account—nothing to breach at a vendor that ties your identity to a vault.
- You own the vault file—back it up on USB, external drives, or your own Nextcloud instance.
- Works offline—credentials are available without reaching a data center.
The trade-offs are real: multi-device sync is not automatic unless you run your own sync layer; you manage backups yourself; and resolving conflicts when two devices diverge is on you. Setup is a bit more hands-on than 1Password or Bitwarden. If minimizing trust in third parties matters more than seamless sync, KeePassXC is a strong option.
Step 1: Download KeePassXC and the Browser Extension
- Visit keepassxc.org and download the installer for your OS (Windows, macOS, or Linux).
- From the same site, install the KeePassXC-Browser extension for Chrome, Brave, Firefox, or another supported browser.
Step 2: Install the Desktop App
On Windows, run the installer from your Downloads folder—accept the license, choose install location, and finish setup. Launch KeePassXC when done.
On first launch you can either create a new database or import from another manager.
Step 3: Import from Bitwarden (Optional)
If you are migrating from Bitwarden:
- In Bitwarden, open your vault and export as JSON (Encrypted), password-protected with a dedicated export passphrase.
- Save the file locally (e.g. Downloads).
- In KeePassXC, choose Import, select Bitwarden JSON, pick the file, and enter the export password.
- Review imported entries, name the database, and continue.
Step 4: Create a New Database and Master Password
If you are starting fresh, choose Create new database, name it (e.g. passwords.kdbx), and tune encryption settings. Higher transformation rounds slow unlock time but harden brute-force resistance (many users aim for roughly 1–5 seconds on their machine).
Create a strong master password using KeePassXC's generator:
- Random password—long mixed character sets (20+ chars can exceed 100 bits of entropy).
- Passphrase—EFF word-list phrases (e.g. seven words) are easier to memorize while staying strong.
.kdbx file somewhere durable (Documents folder, encrypted backup drive, etc.).
Step 5: Add Entries and Connect the Browser Extension
- Use New Entry to add credentials (title, username, password, URL).
- Open the browser extension and click Connect; approve the pairing name in KeePassXC (e.g. desktop-brave).
- With the database unlocked, visit a login page—the extension can prompt you and autofill via the desktop app (both must be running).
If the extension icon is missing, use your browser's extensions menu (puzzle piece) to pin KeePassXC-Browser and ensure it is enabled.
Step 6: Use Your Vault on Android
Android apps such as KeePass2Android or KeePassDX read the same .kdbx file.
- Install your chosen app from the Play Store or F-Droid.
- Transfer the vault file to your phone (USB file transfer is the simplest; Nextcloud or other self-hosted sync works too).
- Open the app, choose Open existing vault, select the file, and unlock with your master password.
- Grant notifications if prompted for convenience features.
Remember: changes on one device do not appear on another until you copy the updated .kdbx file again. Plan a backup routine whenever you add or rotate passwords.
Going Further
- Self-hosted sync—point all devices at one vault on Nextcloud (Start9, Umbrel, or your own server) so updates propagate automatically.
- Hardware keys—add a YubiKey or NitroKey to the unlock flow for stronger protection and faster day-to-day access patterns.
- Air-gapped backups—vault files can live on USB sticks or trusted offline printers; treat copies like seed material.
For a middle ground between pure local files and SaaS, see also our guide on self-hosting Vaultwarden on Start9.
Need 1-on-1 Guidance?
Want help choosing a password strategy, migrating off a cloud manager, or hardening your Bitcoin and digital security? Book a private coaching session at pathtobitcoin.xyz.
Book a 1:1 Coaching SessionWatch the Step-by-Step Tutorial on YouTube
Follow along on screen as ForrestHODL walks through KeePassXC install, Bitwarden import, browser autofill, and copying your vault to Android.