KeePassXC usage — save passwords and back up your database

Last content update 2026-10-18
QUICK ANSWER
Create a database in KeePassXC and choose its master password and KDBX file location. Add a currently valid login through Entries → New Entry, then press Ctrl+S to save. Check the site and account when entering the details, and lock and reopen the database to confirm the entry is there. Use Database → Save Database Backup to make a separate copy, then check that the copy opens too.
KeePassXC
Software
Developer KeePassXC Team
Scope of this guide Personal Windows 11 x64 PC · stable desktop app
Storage An encrypted KDBX file you keep yourself
Basic use Free and open source · no online vault account required
Official KeePassXC downloads ↗

Check the official stable release and how storage works

KeePassXC uses a file containing your logins that you manage yourself. You do not need an online vault account, but you must keep track of the .kdbx file’s location, backups and the means to unlock it. If you prefer signing into a cloud-account vault, read the Bitwarden guide (Korean) for its requirements. Choose the storage approach you want before proceeding.

From the official download page in the information box, go to Windows → Download for Windows. The stable release checked was 2.7.12, with a 64-bit installer for Windows 11. See more options also offers a Portable ZIP, but this guide uses the regular installer. Do not confuse the experimental Snapshot or beta builds further down the page with the stable release.

If the app says an MSVC component is required, use the MSVC Redistributable link on that same official page. Do not try to fix it by downloading an individual DLL from elsewhere.

The instructions below are based on official help and the stable-release documentation. English menu labels are included; names can differ with the display language. Follow your organization’s password-management policy first for work accounts and devices.

Create your first password database and login entry

  1. On KeePassXC’s start screen, choose to create a new database and give it a recognizable name.
  2. Keep the default encryption settings unless you have a specific reason to change them.
  3. Choose a long master password to unlock the database. Distinguish it from site passwords and do not reuse a password from another service.
  4. Finish by choosing a location and name for the .kdbx file. Avoid places that are easily cleared, such as a temporary downloads folder, and remember the path.
  5. Add a login with Entries → New Entry or Ctrl+N.
FieldWhat to enter first
TitleA name identifying the site and account
UsernameThe username or email you actually use to sign in
PasswordThe site’s currently valid password
URLThe official login address you have checked yourself

Select OK to add the entry, then press Ctrl+S to save the database. Check for saving errors rather than relying only on autosave settings. Use the entry title and username to distinguish multiple accounts for the same site.

Generating a new password or editing a value in the vault does not change the password on the website. Save the currently valid value for an existing account. If you later change it on the site, update the entry to the new value after confirming that it works, then save.

Keeping the master password only inside this file will not help if you cannot open it. Prepare a separate way to keep it. A key file or hardware key is an additional requirement if you choose to configure one; neither is mandatory for your first save.

Sign in with a saved account

Start by selecting one login and checking it with copy and paste. This method does not require a browser extension.

  1. Open the site’s official login page in your browser and check its address.
  2. Select the correct entry in KeePassXC and use the toolbar’s Copy Username tool.
  3. Select the site’s username field yourself and paste into it.
  4. Use Copy Password for that same entry and paste into the password field.
  5. Check the address and account before signing in. Complete any two-factor authentication required by the site and check which account opens.

Do not assume that double-clicking an entry will copy it. That behavior depends on your settings, so the explicitly named copy tools are clearer. If input fails, first check the selected entry, database lock and current input field. If sign-in fails, compare the saved value with the site’s latest password.

Do not test a copied password by pasting it into Notepad, a chat or a search box. KeePassXC does not remove every copy collected by clipboard-history applications. If you use Ditto, see its privacy and history-exclusion settings (Korean). Test exclusion with a non-sensitive sample sentence instead of a real password.

Browser integration and Auto-Type are separate features

The KeePassXC-Browser extension connects the browser to the desktop app. Auto-Type sends keystrokes to the selected window and does not itself require a browser extension. Its default sequence includes Enter, so do not run it without checking the target window and input fields. For your first use, check manual input as described above.

Connect the browser extension to the current database

Filling saved logins requires a connection between the official KeePassXC-Browser extension, the desktop app and the current database. Installing the extension alone does not make the entries in a KDBX file available.

  1. In the official getting-started guide listed in Sources, find Browser Integration → Install the Browser Extension. Follow the official distribution link for your Chrome-based browser, Firefox or Edge. Distinguish KeePassXC-Browser from similarly named extensions.
  2. Check the publisher and requested permissions on the distribution page, then add KeePassXC-Browser to your browser.
  3. In the desktop KeePassXC app, open Tools → Settings → Browser Integration.
  4. Turn on Enable browser integration, select the browser where you installed the extension, and confirm with OK.
  5. Unlock the KDBX database you intend to use, then open or restart your browser.
  6. Open the browser’s KeePassXC-Browser icon and select Connect.
  7. When prompted for a connection name, choose a unique name identifying this browser, such as edge-desktop, and select Save and allow access.
  8. Check the connection state and save the database if changes remain unsaved.

The connection name is neither a website username nor the master password. Reusing an existing connection name in the same database overwrites the previous browser connection and can prevent it from accessing the database. Use distinct names when adding another browser or PC.

Check connection state and the filled login

A connected extension and a matching entry for the current website are different things. First check the icon and extension popup to identify the stage.

StateWhat to check first
KeePassXC is not running or is disconnectedOpen the desktop app and check browser integration. If the app is not connected, use Reload in the extension popup to check the connection again
App is running but the current database is not associatedOpen the intended KDBX file, then check Connect and the database association steps
App is connected but the database is lockedUnlock that database in the desktop app
Connected but no matching entry for this siteCheck the entry’s URL, the current login address and which database is open
Connected with matching site entriesCheck the entry and username before choosing among multiple accounts

When the connection is ready, open the official login address and check the following.

  1. If KeePassXC displays Confirm Access, check the requesting website and the entries you intend to allow.
  2. Select only the intended entries and choose Allow Selected. Remember is optional; distinguish allowing this access from remembering the decision for later.
  3. Select the KeePassXC icon in the website’s username field to fill the login. Choose the intended account if more than one entry appears.
  4. Check the address, username and filled fields before signing in, then complete any additional authentication. Filled fields alone do not establish that sign-in succeeded or that the saved password is still valid.

If sign-in is rejected, check that the saved value is the website’s current password, as in the manual-input instructions above. Do not enter the master password into a website or use it as an extension connection name to resolve an association problem. For Linux packaging restrictions, including Snap and Flatpak browsers, consult the official getting-started guide and its linked Troubleshooting Guide for the specific environment. The menus in this Windows guide do not establish compatibility with every environment.

Lock and reopen the database to check saving

After saving, lock the current database with the toolbar’s Lock Database tool or Ctrl+L. Enter its password to reopen it and check that the entry you just saved is there. Locking the database does not end sessions on websites where you are already signed in.

If the list looks empty at the next launch or the recent file cannot be found, do not create a new database first. Use Open existing database on the start screen or Ctrl+O to select the KDBX file you saved earlier. Check the file name and path, and that you are using the password for that file.

After checking unlocking, close the saved file and open it again from the same location. The intended entry and username should still be there. If saving fails while the information remains accessible in the open database, first secure a way to save it to another safe location. Do not overwrite or delete the original.

Make a KDBX backup and prepare for a new PC

If your only password file is on one PC, a storage-device failure can take it with it. Save the current file, make a separate copy, and check that the copy opens.

  1. Save recent changes in the original database with Ctrl+S.
  2. Select Database → Save Database Backup… and save a KDBX copy under a different name and in a different location from the original.
  3. Do not stop at another folder on the same disk. Keep a copy on a separate storage device you control, for example.
  4. Open the backup file itself and check that recent entries and usernames are there. If you configured an additional key, you need it too.
  5. Identify which file remains your working original. Do not overwrite it with an older copy.

On a new PC, install the official app and open the KDBX file you preserved. This is not an account-based system that automatically brings every file across when you sign in. Keep the originals on the previous PC or storage device until you have checked the actual file and entries on the new PC.

Storage methodWhat to check
KDBX backup copyAn encrypted file requiring the password and additional key used when the copy was made
CSV, XML or HTML exportCan expose passwords as plaintext and omit some information depending on the format; distinguish it from a regular backup
External synchronization folderA separately configured service; deletions and overwrites can propagate, so keep a separate backup

Backing up the file and keeping the master password are separate preparations. A backup does not mean you can afford to forget the password. If you use a key file, preserve that unchanged key file separately too. Copying only the KDBX is not enough when the key file is required.

Official sources

Frequently asked questions

Are KeePass and KeePassXC the same application?
No. KeePassXC uses the KeePass family's KDBX format, but its installer, menus and extension system are not identical to KeePass. This guide covers the official KeePassXC desktop app.
Will installing KeePassXC on another PC bring back my passwords?
Installing the app alone does not restore your entries. You need your saved KDBX file and its master password. If you added a key file or hardware key to the database, you need that too. Keep the original until you have checked the entries on the new PC.
Can a backup recover a forgotten master password?
A KDBX backup is an encrypted copy. It needs the password and any additional key required when that copy was made. The backup does not replace the master password. Preserve accessible files and devices first, and do not overwrite the original with a new database.
Why are passwords missing after installing KeePassXC-Browser?
Check that the desktop app is running, browser integration is enabled, the extension is associated with the current KDBX file, and the database is unlocked. Even with a connection, filling requires an entry matching the current site URL and permission to access it. Auto-Type and manual copying are separate input methods.