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
- Create a new database
- Export your passwords from the old place first
- Import the CSV file
- Import from other password managers
- Add or edit an entry
- Back up the database
- Add a key file for extra protection
- Fill passwords in your browser
- Merge two databases
- Safety notes from the guides
- Sources
- More sign-in and account guides
The steps at a glance
| Job | Where to click |
|---|---|
| Create a database | Create new database button on the Welcome screen |
| Import a CSV file | Database > Import, or Import File on the Welcome screen |
| Add one entry | Entries > New Entry, or Ctrl + N |
| Save | Ctrl + S (Save Database), Ctrl + Shift + S (Save Database As) |
| Manual backup | Database > Save Database Backup |
KeePassXC stores everything in one file with the default .kdbx extension.
Create a new database
- Open KeePassXC and click the create new database button on the Welcome screen.
- Type a database name and an optional description, then click Continue.
- On the Encryption Settings screen, leave everything alone except the decryption time slider if you want to.
- Click Continue.
- Enter a database password. The guide recommends a long, randomized one, and the dice button opens the password generator.
- 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
- In KeePassXC, click Database > Import, or click Import File on the Welcome screen.
- Select the CSV file in the Import wizard.
- Choose to import into a new database or an existing one.
- In the CSV Import Wizard, check the preview at the bottom.
- If the columns do not match your file, re-map the column associations.
- 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
| Source | What 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
- Go to Entries > New Entry, or press Ctrl + N.
- Enter a title, username, password, URL and notes.
- Click the dice icon to generate a password, or the eye icon to reveal one.
- 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
- Click Database > Database settings and open the Security tab.
- Click Add Key File.
- 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
- Install the KeePassXC-Browser extension for Chrome, Chromium, Vivaldi, Brave, Firefox, Tor Browser or Microsoft Edge.
- In KeePassXC, go to Tools > Settings > Browser Integration.
- Check Enable browser integration, select your browsers and click OK.
- Unlock the database, then open or restart the browser.
- 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.
More sign-in and account guides
- How To Import Or Export Passwords In Apple Passwords (2027)
- How To Export Or Import Passwords In Firefox (2027)
- How To Import Chrome Bookmarks And Passwords To Firefox (2027)
- How To Export Your Passwords From LastPass (2027)
- How To View, Edit Or Delete Saved Passwords In Firefox (2027)
- How To Stop Chrome From Asking To Save Passwords (2027)
See all: Account And Sign-In Guides