How To Set Up KeePassXC And Import Your Passwords (2027)

Quick answer

  • Create the database with the create new database button on the Welcome screen, add a long random password, click Done and save the .kdbx file; then use Database > Import to bring in a CSV file and re-map any columns that do not match.
  • A CSV file is unencrypted, so securely delete it after the import succeeds.
  • If you lose the database password, the database may be permanently locked, so keep a backup of the .kdbx file with Database > Save Database Backup.

Applies to: KeePassXC (steps follow the official Getting Started Guide and User Guide)

To start with KeePassXC, create a database, then import your passwords from a CSV file with the Import wizard. Both jobs take a few minutes.

This guide follows the official KeePassXC Getting Started Guide and User Guide, with the warnings that matter before you move real passwords in.

Table of Contents

The steps at a glance

JobWhere to click
Create a databaseCreate new database button on the Welcome screen
Import a CSV fileDatabase > Import, or Import File on the Welcome screen
Add one entryEntries > New Entry, or Ctrl + N
SaveCtrl + S (Save Database), Ctrl + Shift + S (Save Database As)
Manual backupDatabase > Save Database Backup

KeePassXC stores everything in one file with the default .kdbx extension.

Create a new database

  1. Open KeePassXC and click the create new database button on the Welcome screen.
  2. Type a database name and an optional description, then click Continue.
  3. On the Encryption Settings screen, leave everything alone except the decryption time slider if you want to.
  4. Click Continue.
  5. Enter a database password. The guide recommends a long, randomized one, and the dice button opens the password generator.
  6. Click Done, choose a save location and save the file.

The User Guide advises against changing the encryption settings other than the slider, and suggests about one second of decryption time.

A higher decryption setting adds protection but makes the database slower to open.

Export your passwords from the old place first

KeePassXC reads a CSV file, so your old browser or manager must export one.

Our guides cover the common sources: export Chrome passwords to a CSV file, move saved passwords out of Edge and export your passwords from LastPass.

The KeePassXC guides do not give browser-specific steps, so use the maker’s own export page for each source.

Import the CSV file

  1. In KeePassXC, click Database > Import, or click Import File on the Welcome screen.
  2. Select the CSV file in the Import wizard.
  3. Choose to import into a new database or an existing one.
  4. In the CSV Import Wizard, check the preview at the bottom.
  5. If the columns do not match your file, re-map the column associations.
  6. Click Done.

The User Guide warns that a CSV file is unencrypted and you should securely delete it after a successful import.

Import from other password managers

SourceWhat the User Guide says
1Password export (.1pux)Select 1Password Export, click Continue, then Done
1Password vault (.opvault)Needs 1Password version 7 or 8; select 1Password Vault, enter the vault password, then Continue and Done
Bitwarden (.json)Select Bitwarden; enter a password only if you chose the encrypted JSON export
KeePass 1 (.kdb)Select KeePass1 Database, enter the password and key file if set
Proton Pass (.json)Select Proton Pass, click Continue, then Done

Add or edit an entry

  1. Go to Entries > New Entry, or press Ctrl + N.
  2. Enter a title, username, password, URL and notes.
  3. Click the dice icon to generate a password, or the eye icon to reveal one.
  4. Click OK.

Deleted entries go to the Recycle Bin only if it is enabled, and otherwise deletion is permanent.

Back up the database

Losing the database password might permanently lock the database, and deleting the file loses its contents.

For a one-off copy, click Database > Save Database Backup.

For automatic copies, set a backup destination in the database settings; relative paths resolve from the database’s location.

The User Guide’s example name pattern is below, using the placeholders {DB_FILENAME} and {TIME}.

{DB_FILENAME}-{TIME}.bak.kdbx

That pattern saves each backup with the database name and a timestamp.

Add a key file for extra protection

  1. Click Database > Database settings and open the Security tab.
  2. Click Add Key File.
  3. Browse to an existing file or generate a new one.

To unlock later, click I have a key file on the unlock screen and give it with your password.

Fill passwords in your browser

  1. Install the KeePassXC-Browser extension for Chrome, Chromium, Vivaldi, Brave, Firefox, Tor Browser or Microsoft Edge.
  2. In KeePassXC, go to Tools > Settings > Browser Integration.
  3. Check Enable browser integration, select your browsers and click OK.
  4. Unlock the database, then open or restart the browser.
  5. Click the extension icon, click Connect, enter a unique connection name and click Save and allow access.

Reusing a connection name overwrites the earlier connection and blocks access.

If the connection drops, click the extension icon and choose Reload.

Merge two databases

Click Database > Merge From Database to combine another database into the open one.

Entries are matched by UUID and modified time, the most recent version becomes current, and the older one moves to history.

Safety notes from the guides

  • Do not share database credentials unless you fully trust the person.
  • Storing TOTP codes in the same database as passwords removes the benefit of two-factor authentication.
  • Since version 2.7.0, double-click copying of usernames and passwords is disabled by default.
  • Exporting a database stores all your passwords in an unencrypted format, so do not keep the export file.

Sources

Checked on November 29, 2026 against the official KeePassXC Getting Started Guide and KeePassXC User Guide.

Leave a Reply

Your email address will not be published. Required fields are marked *