This is a complete rewrite that just contains an HTML file and uses JavaScript for removing the duplaces. For the old version see the branch html-generator-python.
Find duplicate logins based on domain, from Bitwarden export. Always read through webpages and scripts before you open them as you are handling sensitive information.
-
Export your Bitwarden vault under Tools -> Export Vault to a
.json
file (NOT the encrypted one). -
Download the file
index.html
(see "Download raw file" in the top right corner). -
Open it in your preferred browser.
-
Open your Bitwarden export file on the page.
-
Delete the duplicate entries.
-
Download the updated Bitwarden export file (with the removed logins deleted).
-
Delete your Bitwarden vault under Settings -> My account -> Empty vault (at the bottom of the danger zone). THIS WILL DELETE ALL YOUR PASSWORDS IN BITWARDEN, MAKE SURE YOU HAVE AT LEAST ONE EXPORT OR BACKUP!
-
Import the updated file into Bitwarden under Tools -> Import data -> Bitwarden (json).
-
IMPORTANT: Delete all created json files as they contain all your passwords in plain text (they can be read by any program or user!). It is best to open them with an editor (notepad for example), delete the contents and overwrite them again before you move them to the trash.
Tip: you can upload your new updated Bitwarden export file again to further remove duplicates.
-
Export your Bitwarden vault under Tools -> Export Vault to a
.json
file (NOT the encrypted one). -
Go to https://elias123tre.github.io/bitwarden_find_duplicates/ (hosted on GitHub Pages, mirrors the exact
index.html
file in this repository's main branch). -
Do steps 3-8 from the instructions above.
- Official forum post for a duplicate removal feature (you can find more scripts and alternatives there)
- General Reddit discussion on different ways to remove duplicates in Bitwarden
- Reddit thread for a script that solves this