Find and merge duplicate items¶
bwtidy does not look for duplicate items by itself. The grid shows your whole vault in one place though, so duplicates are easy to spot. This page shows how you find them and fold one into the other. It also shows how you clean up plain copies.
Spot the duplicates¶
- On the Vault page, click the header of
nameto sort the grid by name. Duplicates end up next to each other. Sort bylogin.urisorlogin.usernameinstead to find copies saved under different names. - Type a site's name in Search to narrow the grid to that site. Search looks in every text cell but never in a secret one.
- Turn on Hide empty columns in the toolbar. Only the columns that hold a value in the shown rows stay, which makes two rows easier to compare.
bwtidy does find custom field names that differ only in case or spaces, with Merge near duplicates… in the header menu. That merges columns and not items.
Merge one item into another¶
Pick the item to keep as the target. The other one is the source, which goes to the trash after the merge.

- Right click any cell of the source item and pick Merge into item…
- In Target item ①, type the name of the item to keep and pick it from the list. The list shows each item's type and folder to tell items with the same name apart.
- The table lists each value of the source. For each one pick a column of the target ② or pick Don't move. The column on the right shows what the target holds there now.
- Check the values the target already has. bwtidy picks the same column
when it is free in the target. Otherwise it picks a custom field named
after the value, such as
fields.username. Pick Don't move for a value the target already holds and you get no extra field. - For
login.urispick Add to the list to keep the target's URIs and add the source's, or pick Replace. Add to the list is the default and skips a URI the target already has. - Click Merge ③.
Merge stays off while two values go into the same column. The dialog also warns when a value replaces one the target has or when a hidden value would go into a column that is not secret.
The merge waits in the queue like any other edit. The write takes a backup of your vault first and then moves the values and the source item to the trash (see How edits are saved).
What stays with the source¶
Values you leave at Don't move stay in the source item, so they are in the trash and in the backup. The same goes for what a merge never moves:
- the passkeys and the password history
- the attachments
- the folder, the collections and the other columns of the Item group apart
from
notes
Trash plain copies¶
When a duplicate holds nothing the item you keep lacks, you can skip the merge and move it to the trash.
- Tick the checkbox at the start of each row to drop.
- Click Move to trash in the selection bar below the grid.
- Check the list in the question and confirm.
Undo a merge or a trash¶
bwtidy never deletes an item. A source item or a copy in the trash comes back in any vault app (see Trash, never delete). Each write also takes a backup of the vault as it was before. To get back the target's old values, take them from that backup (see Restore a vault from a backup).