Fix Password Manager Import Errors & Duplicate Logins
In this article
Importing passwords into a new manager often fails partway or creates duplicates. The safe fix is to export a clean CSV, deduplicate before importing, and then verify and clean up after. This guide walks you through the entire process without risking your existing logins.
What You'll Need
- Access to your current password manager (the one you're exporting from)
- Access to the new password manager (the one you're importing into)
- A plain text editor (like Notepad on Windows or TextEdit on Mac) – avoid Word or rich text editors
- A spreadsheet app (Excel, Google Sheets, or LibreOffice Calc) – optional but helpful for cleaning
- Your master password for both managers
Step-by-Step
- Back up your current vault. Before doing anything, export your current passwords as a backup file. In most managers, go to Settings > Export or File > Export, and choose CSV format. Save it somewhere safe (like an encrypted USB drive) and delete it after the process is done.
- Export the passwords you want to move. If you're moving from one manager to another, export from the old one as CSV. If you're importing a file from a browser or a CSV you already have, locate that file.
- Open the CSV in a spreadsheet app. Use Excel, Google Sheets, or LibreOffice. This lets you see the columns clearly. Most CSVs have columns like: name, url, username, password, notes.
- Check for duplicate rows. Look for rows that have the same URL and username combination. You can use the spreadsheet's conditional formatting to highlight duplicates, or sort by URL then username. Manually review and delete any exact duplicates.
- Remove blank rows and incomplete entries. Delete rows that are missing a URL or username (unless the entry is a secure note). Also remove any test entries you created earlier.
- Fix column headers. The new manager expects specific column names. Common ones:
name,url,username,password,notes. If your CSV uses different names (likewebsiteinstead ofurl), rename them to match what the new manager expects. Check the new manager's import help page for exact header names. - Save the cleaned CSV as a new file. Use File > Save As and choose CSV (UTF-8) or CSV (Comma delimited). Do not save as Excel format.
- Import into the new manager. In the new manager, go to Settings > Import, or File > Import. Choose the CSV file you just saved. If the manager asks which file type, select CSV.
- Review the import summary. Most managers show a summary like “Imported 45 logins, skipped 2.” If there are errors, note which rows failed.
- Check for duplicates after import. Even after cleaning, the new manager might have its own existing entries. Use the manager's built-in duplicate finder (often under Settings > Security or Tools > Duplicate Passwords) to merge or delete duplicates.
- Update any passwords that were changed manually. If you had to manually fix some entries, make sure the passwords in the new manager match what you actually use.
- Delete the temporary CSV files. Once the import is successful and verified, permanently delete the CSV files from your computer and any backups you made. They contain plain-text passwords.
Common Mistakes
- Importing without cleaning first. Many people skip the deduplication step and end up with hundreds of duplicates.
- Using a rich text editor to edit the CSV. Word or Notepad on Mac may add formatting that breaks the file. Use a plain text editor or spreadsheet.
- Ignoring column header names. If the new manager expects
urland your file haswebsite, the import will fail or create empty fields. - Importing into a vault that already has logins. Unless you want to merge, make sure the target vault is empty or you're prepared to deduplicate after.
- Forgetting to delete the CSV after import. Leaving a plain-text password file on your disk is a security risk.
Tips
- Use the new manager's import tool first. Many managers can import directly from other managers (e.g., LastPass to Bitwarden) without a CSV. This often preserves more fields and reduces errors.
- Test with a small sample. Import a file with just 5 entries first to see if the format works, then import the rest.
- Keep your master password handy. You'll need it for both the export and import. Do not share it with anyone.
- Use a password generator for new passwords. If you're creating new entries, let the manager generate strong passwords.
- Enable two-factor authentication on your new manager. This adds an extra layer of security.
Troubleshooting
Import fails with “invalid CSV format.” Open the CSV in a plain text editor and check for extra commas or quotes. Re-save it as CSV UTF-8. If the file has special characters (like accented letters), make sure the encoding is UTF-8.
Some entries are missing after import. The CSV might have rows that the manager skipped because of missing required fields. Check the import summary and re-add those entries manually.
Duplicates still appear. Run the manager's built-in duplicate finder. If it doesn't exist, manually sort by URL and username and delete duplicates.
Passwords are wrong after import. Some managers encrypt passwords differently. If a password doesn't work, check the original entry and re-enter it manually.
Import is grayed out. Make sure you're logged into the correct vault and that your subscription allows importing (some free tiers restrict it).
If nothing works, try a different format. Some managers accept JSON or a proprietary format. Export from the old manager in that format if available.
Frequently Asked Questions
Can I import passwords from my browser's autofill?
Yes. Most browsers (Chrome, Firefox, Edge) can export saved passwords as a CSV file. Go to browser settings, find “Export passwords,” and then import that CSV into your password manager.
Will importing delete my existing passwords in the new manager?
Usually no. Importing adds entries to the vault. It does not overwrite existing entries unless the manager specifically asks to replace duplicates. Check the import summary.
How do I remove duplicates after import?
Most password managers have a “Duplicate Passwords” tool under Security or Tools. If not, manually sort your vault by URL and delete the extra entries.
Is it safe to email a CSV file of my passwords?
No. Email is not encrypted end-to-end. Never send password files via email. Use a secure file transfer or delete the file after import.
What if my CSV has more columns than the manager expects?
Extra columns are usually ignored, but it's safer to remove them. Keep only the columns the manager expects: name, url, username, password, notes.
Can I import passwords from a Mac to a Windows computer?
Yes. The CSV file is platform-independent. Just make sure the file is saved with UTF-8 encoding to avoid character issues.