Privacy & Security · Guide

Sync a KeePass Database Between Two Computers

KeePass has no cloud service of its own, so syncing means putting the encrypted database file somewhere both PCs can reach and letting KeePass merge changes. The file stays encrypted with your master password the whole time.

Step-by-step instructions

  1. Move the database to a shared folder

    Close KeePass, move the .kdbx file into your synced cloud folder (for example OneDrive\Passwords) and wait until the sync client shows it as up to date.

  2. Open it on the first PC

    Start KeePass and use File → Open → Open File to open the database from the cloud folder.

  3. Open it on the second PC

    Install KeePass on the second computer, wait until the cloud folder has synced, and open the same file.

  4. Use Synchronize when both PCs changed

    If you edited entries on both PCs while offline, open one copy and choose File → Synchronize → Synchronize with File…, then select the other copy. KeePass merges entries instead of overwriting them.

  5. Keep the key file safe

    If you use a key file, copy it to the second PC separately. Do not store the key file in the same cloud folder as the database.

Frequently asked questions

Is it safe to store a KeePass database in the cloud?

The file is encrypted, so the cloud provider cannot read it without your master password (and key file, if used). Use a long, unique master password.

Can I use KeePass on my phone too?

Yes. Third-party apps for Android and iOS open KDBX files from the same cloud folder.

Software used in this guide

  • KeePass

    Offline password manager that keeps an encrypted database file under your control.

    No-cost license (GPL-2.0)

    Download