A couple of years ago, I converted from LastPass to Bitwarden. I exported my passwords from that program and imported them into Bitwarden. But for whatever reason, it only imported the site names/URLs but not the actual passwords. I decided at the time (not sure why now) to just let it go and update the old passwords as I needed them.
Today I learned how to delete multiple login entries, so now I’d like to go through and purge all the login entries with no password, but I don’t know how to search for them.
There may be another workaround - though that would be back to deleting one entry at a time… When you turn on “Show quick copy actions on Vault” (Settings → Appearance") then the browser extension shows entries without a password greyed out on that quick copy button:
Did it import the usernames? You cannot search for empty passwords, but you can search for empty username fields. To do so, copy and paste the following expression into the Search box of a (non-mobile) Bitwarden app:
>-login.username:*
You also need to set your vault filters to show only Login items, or else the above search will also find all cards, identities, and secure notes (none of which contain usernames).
Using the Web Vault for this will allow you to quickly delete multiple items at once.
If you have a technical bent, you should be able to use the CLI together with something like the jq utility to find login items with empty password fields.
This will produce a sorted list of all login items that have an empty password.
It should be possible to script something a little more complex, which uses bw delete to delete login items with empty passwords. Alternatively, you can use the “id” values (in the third column of the table printed by the expression given above) to search for the corresponding item in any Bitwarden app or browser extension. You can also paste a deep link of the following form (where “xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx” is the “id” value from the table) into the address bar of a browser tab that has a logged in Web Vault session:
Well, I downloaded the CLI and ran that script and it worked but just looking at it reminds me that my scripting skills is rudimentary at best.
Besides, this is not an urgent task. BW works fine and I’m just an individual using it for personal stuff. It’s not like it’s for a business or a job. So it has some extra logins in it. I don’t think it’s worth spending a lot of time on.
There is one more thing you could try, if you have not added any credit card items, identity items, or passkeys to your Bitwarden vault since you set up your account. Basically, you could create a CSV export of your vault, use a spreadsheet app to find and remove unwanted entries in the CSV, then purge your vault contents and import the modified CSV file.
Bitwarden exports in the CSV format only contain Login items and Secure Note items, so this would not work if your vault contains any Identity or Card items (those items would be lost). Similarly, for Login items exported in CSV format, there are some limitations — for example, you would lose any stored passkeys and customized URI match detection settings, and all custom fields that are of the Hidden, Linked, or Checkbox type would be converted to basic Text type.