Complete Guide to KeePassXC: Database Synchronization and Merging

Last update: 29/10/2026

  • Keep both original databases and perform the merge on a copy.
  • KeePassXC identifies entries using UUIDs and uses their modification dates.
  • Merging may result in deletions; it does not guarantee that everything will remain as active entries.
  • Check the result before replacing the main vault and resynchronizing it.
KeePassXC Guide

If you have two copies of your vault with different changes, KeePassXC allows you to merge databases to gather your entries. This feature is useful when a sync service creates a conflicting file or when you've updated passwords on different devices.

Before you begin, keep both original files. Merging isn't about automatically choosing the correct copy of everything: you need to review the result, especially if you've modified the same entry in two places or deleted items.

Before merging, save a copy of both databases.

What is KeePassXC

Locate the two files .kdbx And verify that you can open each one with its corresponding credentials. Don't rely solely on which one has the most recent archive date: both copies may contain changes you need.

Prepare a working folder outside the location being synchronized and create copies with easily distinguishable names, for example:

  • boveda-original-PC.kdbx
  • boveda-original-movil.kdbx
  • boveda-trabajo-fusion.kdbx

Use the third copy as a working copy and keep the other two unmodified. If your phone has pending changes that need to be saved or uploaded, resolve this before assuming the cloud file contains them.

During the operation, avoid editing the vault on other devices. You don't need to convert it to CSV or copy passwords into unencrypted documents.

Exclusive content - Click Here  Open-Shell: Bring back the Classic Start Menu in Windows 11

How to merge two databases in KeePassXC

Computer screen that displays a data transfer.

With the copies prepared, perform the operation from KeePassXC:

  1. Open and unlock the working copy who will receive the changes.
  2. Enter Database > Merge from database, either Database > Merge From Databasedepending on the language.
  3. Select second base .kdbx.
  4. Enter the unlocking elements requested by that database: password, key file, or additional protection, as appropriate.
  5. When finished, review the affected entries and save the result.

The changes are incorporated into the open database. You shouldn't assume that the other copy is also updated.

Working on a copy is especially useful if you have automatic saving enabled: you don't depend on being able to cancel all changes before they are written to disk.

What happens with repeated entries, changes, and deletions?

The merger compares the unique identifiers of the entries, called UUIDsand their modification marks. When the identifier matches, the most recently modified version becomes the current one, and the previous one is added to the history. New entries and groups are added.

Two records created separately can have the same title and correspond to the same service, but retain different UUIDs. Don't expect the merger to deduct them as a single account. If duplicates appear, compare their data before removing any.

Don't interpret "most recent" as "correct." If an old password has been resaved since then, it may become the current version. Double-check important credentials and review their history.

Exclusive content - Click Here  AOMEI Backupper Complete Guide: Fail-Free Automatic Backups

Eliminations require special attention

A permanent deletion can leave a record that propagates during the merge. Therefore, An entry that exists in a copy may disappear from the result if the other one registers its deletion.

The fact that an entry never existed at second base is not the same as having been deleted. Emptying the trash is also not the same as permanent deletion. Do not empty trash or perform cleanup while attempting to recover versions.

Check the result before replacing the usual vault

Visual representation of digital information encryption.

Before using the merged database as your main file, review a representative sample:

  • A new entry created on each device.
  • A password that was recently changed.
  • An entry that you would have edited in both copies.
  • Notes, attachments, and other important fields.
  • The tickets you expected to find in the trash.

Next, close the merged copy and reopen it to verify that you can unlock the saved file. Keep the originals until you've confirmed that the result contains everything you need.

The history can help recover previous versions, but It does not replace a separate backupDo not empty it before finishing the review.

How to resync files between PC and mobile

Once the result is validated, decide which file will be the main vault. Avoid leaving multiple editable copies with similar names within the usual folder.

KeePassXC can work with a database located in a folder synchronized via services like Dropbox, Google Drive, or OneDrive. That service transfers the file; you shouldn't assume it will always correctly handle your internal changes.

Exclusive content - Click Here  How to change the model folder in LM Studio and optimize its use

To reduce new conflicts:

  1. Close the old versions on other devices after securing your changes.
  2. Place the validated base in the main location.
  3. Wait for the service to complete the synchronization.
  4. Open that location from each device and check for a recent entry.
  5. Avoid editing simultaneously while confirming that everyone is using the correct file.

KeePassXC does not have its own mobile app. Its documentation lists compatible clients such as KeePassDX and KeePass2Android on Android, and Strongbox and KeePassium on iOS. Verify that your chosen client supports your database format and protection.

What to do if the conflict appears in KeePass2Android

KeePass2Android can detect that the file has changed since you opened it and offer options for merge, overwrite, or cancelThe behavior also depends on the configuration and how you access the storage.

If you need to preserve changes from both versions, don't choose to overwrite without checking the contents of each. If you're unsure about the state of the copies, keep the files and perform the merge from your computer.

Just because a change appears on your mobile device doesn't mean it's been uploaded to the remote destination. Verify synchronization before deleting any files or app caches.

The most reliable way to resolve these situations is to keep the originals, merge them onto a copy, and check the important entries before redistributing the vault.