SkyShelf

Guides

How to Set Up KeePassXC and Move Away From Browser-Saved Passwords

How to Set Up KeePassXC and Move Away From Browser-Saved Passwords

Browsers will happily offer to remember your passwords, and for many people that is a perfectly reasonable starting point. But a dedicated password manager gives you a single encrypted file you control, works the same way in every browser, and can hold more than logins: recovery codes, licence keys, notes and secure answers. KeePassXC is a free, open-source option that keeps your data in a local database file instead of a hosted account. This guide walks through a clean setup on Windows, based on the official KeePassXC documentation.

Before you start

You need three things: the KeePassXC installer from the project's official site (keepassxc.org), a folder where the database file will live, and about twenty minutes. Decide up front where the backup copy will go, such as a second drive or a folder that your normal file backup already covers. A password database you cannot open is worse than no database, so the backup is part of the setup, not an afterthought.

Step 1: Create the database

  1. Install and launch KeePassXC, then choose the option to create a new database.
  2. Give it a name and, when asked about encryption settings, accept the defaults unless you have a reason to change them. The official guide says KeePassXC databases are protected with AES-256 or Twofish and that the master password is strengthened by a configurable number of key transformations.
  3. Confirm the format is KDBX 4.0, which the documentation recommends. If you ever need to check, open the Database menu, choose Database security, go to the Encryption Settings tab and look for the KDBX 4.0 option.
  4. Choose a master password. Use a long passphrase made of several unrelated words that you have never used anywhere else. This is the one password you must remember, so make it memorable and long rather than complicated.
  5. Save the file to your chosen folder with a name you will recognise.

Step 2: Consider a key file or hardware key

A master password alone is fine for most people. If you want a second factor for the database itself, KeePassXC supports two options described in the user guide:

  • Key file. In the database security settings you can add a key file and generate one. Store it separately from the database, for example on a USB drive, and keep a backup. The guide is explicit that losing the key file means losing access to the database.
  • Hardware key. A YubiKey-style device can be set up for HMAC-SHA1 challenge-response and then added as extra protection. Record the programmed secret somewhere safe, because a lost or broken key with no recorded secret locks you out permanently.

Both add safety and both add ways to lock yourself out. Start with just the master password and add a second factor once you are comfortable.

Step 3: Import what the browser already saved

Export your saved passwords from the browser's password settings as a CSV file, then import that file through KeePassXC's Database menu (the import entry for CSV). You will be asked to map columns such as title, username and password to KeePassXC fields; the browser's header names usually match without effort.

Two cautions. First, the CSV contains every password in plain text, so keep it off cloud-synced folders and delete it, including from the Recycle Bin, as soon as the import is verified. Second, spot-check a handful of entries before you delete anything: open the entry, confirm the URL and password, and test a login.

Step 4: Connect KeePassXC to your browser

KeePassXC offers an extension, KeePassXC-Browser, for Firefox and for Chrome, Chromium and Vivaldi according to the official documentation. The process is:

  1. Install the extension from your browser's own extension store. If you use Firefox, install the Firefox version.
  2. In KeePassXC, open the application settings, find the Browser Integration section and enable it for the browser you use.
  3. Click the extension icon in the browser and connect it to the open database. KeePassXC asks you to name the connection.
  4. Visit a site you have saved. The extension offers to fill the matching entry, and offers to save new logins to the database.

Menu labels shift slightly between versions, so if something does not match, check the official troubleshooting guide for the browser extension rather than guessing.

Step 5: Turn off the browser's own password saving

Once the manager is working, disable the browser's built-in "offer to save passwords" and autofill for passwords, then delete the stored passwords from the browser profile. Otherwise you have two places holding the same secrets and two prompts competing for each login.

Step 6: Plan backups and syncing

The database is a single file, which makes backup easy: copy it to a second location regularly. If you sync it between devices through a cloud folder, the documentation advises syncing only the database file, never the key file. If you would rather have a hosted service handle sync across phone and desktop, a cloud-based manager such as Bitwarden works on a different model; read its official documentation to see which trade-off suits you.

Common questions

Can I store two-factor codes in KeePassXC? It can store and generate TOTP codes. The official guide points out that keeping them in the same database as your passwords weakens the benefit of two-factor login, so for important accounts keep the codes in a separate database or app.

What if I forget the master password? There is no recovery mechanism. That is the price of a database nobody else can open. Keep a sealed written copy somewhere physically safe if that worries you.

Is the autofill extension required? No. You can copy usernames and passwords manually, or use Auto-Type, which types credentials into a window for you. The extension is simply more convenient.

Does it work offline? Yes. The database is a local file, so no internet connection is needed to open it.

Wrapping up

A good setup is small: one database, a strong passphrase, a tested backup, and the browser extension for convenience. Once that is running, retire the browser-saved passwords and enjoy a single, portable vault you control.

Comments

No comments yet.

Code