Simple tool for de-duplicating bitwarden export files for accounts that don't use organizations or shared collections.
I needed it because some clients failed to sync and vault.bitwarden.com import does not deduplicate items or folders.
- Create an export with duplicates
- Create a de-duplicated file using
cat export.json | node dedupe.js > deduped.json - Remove all items and folders using mass-select in vault.bitwarden.com
- Sync all your clients
- Import deduped.json in https://vault.bitwarden.com/#/tools/import
- Sync all your clients