How to Switch Browsers Without Losing Passwords or Bookmarks
In this article
Switching browsers can feel risky when you’ve spent years building up saved passwords, bookmarks, and other browsing data. The good news is that every major browser—Chrome, Firefox, Edge, Safari, and Opera—has built-in tools to export and import this data, so you can move without losing anything. This guide walks you through the entire process, from preparing your data to importing it into your new browser, and covers what to do if something goes wrong.
What You'll Need
- Access to your current browser (the one you're leaving)
- The new browser installed on your device
- Your current browser's login credentials (to unlock saved passwords if they're hidden)
- Optional: a USB drive or cloud storage (like Google Drive or Dropbox) if you want to back up the exported files
Step-by-Step
- Export bookmarks from your current browser. Open your current browser and find the bookmarks manager. In Chrome, press Ctrl+Shift+O (Windows) or Cmd+Option+B (Mac). In Firefox, press Ctrl+Shift+O (Windows/Linux) or Cmd+Shift+O (Mac). In Edge, press Ctrl+Shift+O. In Safari, go to File > Export Bookmarks. Once in the manager, look for the export option: in Chrome and Edge it's under the three-dot menu (⋮) > Export bookmarks; in Firefox it's under Import and Backup > Export bookmarks to HTML. Save the file (usually named
bookmarks.html) to a location you'll remember, like your Desktop or Documents folder. - Export passwords from your current browser. This is a bit more involved because browsers store passwords in an encrypted format. In Chrome, go to Settings > Autofill and passwords > Google Password Manager, then click the gear icon and choose Export passwords. You'll be asked to enter your computer's password (or your Google account password) to confirm. In Firefox, go to Settings > Privacy & Security > Saved Logins, click the three-dot menu, and select Export Logins. Edge has a similar path: Settings > Profiles > Passwords, then the three-dot menu > Export passwords. Safari doesn't offer a direct export; you'll need to manually copy passwords or use iCloud Keychain (see Tips). Save the exported file (usually a CSV) securely—it contains plaintext passwords.
- Import bookmarks into your new browser. Open your new browser and go to its bookmarks manager. In Chrome, press Ctrl+Shift+O (or Cmd+Option+B on Mac), click the three-dot menu, and choose Import bookmarks. Select the HTML file you exported earlier. In Firefox, press Ctrl+Shift+O, click Import and Backup > Import bookmarks from HTML. Edge works similarly: Ctrl+Shift+O > three-dot menu > Import favorites (Edge calls bookmarks “favorites”). For Safari, go to File > Import From > Bookmarks HTML File.
- Import passwords into your new browser. In Chrome, go to Settings > Autofill and passwords &em> Google Password Manager, click the gear icon, and choose Import passwords. Select the CSV file you exported. Firefox: Settings > Privacy & Security > Saved Logins, three-dot menu > Import from a File. Edge: Settings > Profiles > Passwords, three-dot menu > Import passwords. Safari doesn't support importing passwords from a CSV file directly; you'll need to use iCloud Keychain or manually add them (see Tips).
- Verify everything transferred. After importing, check a few bookmarks and try logging into a site with a saved password. Make sure the password autofills correctly. If something is missing, repeat the export/import process or use the browser's built-in sync feature (see Tips).
- Set up sync (optional but recommended). Once you're settled in the new browser, enable its sync feature. In Chrome, go to Settings > You and Google > Sync and Google services. In Firefox, Settings > Sync. In Edge, Settings > Profiles > Sync. This ensures your data is backed up to the cloud and stays in sync across devices, so you won't have to manually export/import again.
Common Mistakes
- Forgetting to export passwords before uninstalling the old browser. Once you uninstall, the data may be gone forever. Always export first.
- Saving the exported password CSV in an insecure location. That file contains plaintext passwords. If you leave it on your Desktop, anyone with access to your computer can read it. Delete it after importing, or store it in an encrypted folder.
- Importing bookmarks into the wrong folder. Some browsers import into a “Imported” folder, not your main bookmarks bar. Check the bookmarks manager and drag items to where you want them.
- Assuming passwords will transfer automatically. They don't. You must explicitly export and import, or use sync.
- Not checking for duplicate bookmarks. If you import twice, you'll get duplicates. Use a bookmark cleaner extension or manually remove them.
Tips
- Use the browser's built-in import feature first. Most browsers can import directly from another installed browser. In Chrome, go to Settings > You and Google &em> Import bookmarks and settings. Firefox: Settings > Import and Backup > Import Data from Another Browser. Edge: Settings > Profiles > Import browser data. This often pulls bookmarks, passwords, and even history automatically, without needing to export/import files.
- For Safari, use iCloud Keychain. If you're moving to Safari, enable iCloud Keychain on your Mac and iPhone, and your passwords will sync automatically. If you're leaving Safari, you can export passwords by going to File > Export > Passwords (on newer macOS versions) or by using Keychain Access.
- Check for extensions. Your old browser may have extensions you rely on. Most are available for other browsers, but you'll need to reinstall them. Write down the names of your must-have extensions before switching.
- Clean up after yourself. After importing, delete the exported files (especially the password CSV) from your computer and empty the trash.
- Do a test run. Before fully committing, try the new browser for a few days with your imported data. If something doesn't work, you can always go back.
Troubleshooting
- Passwords won't import. This often happens because the CSV format isn't compatible. Chrome expects columns:
name,url,username,password. Firefox expectsurl,username,password,httpRealm,formActionOrigin,guid,timeCreated,timeLastUsed,timePasswordChanged. If your file has extra columns, open it in a spreadsheet editor and remove them. Also, make sure you're importing into the same browser version that supports CSV (older versions may not). - Bookmarks import but appear in a weird folder. This is normal—browsers often put imported bookmarks in a folder named after the source browser. Open the bookmarks manager, select all items, and drag them to your bookmarks bar or a preferred folder.
- The import option is grayed out. This can happen if you're in a managed profile (like a work or school account) that restricts imports. Try using a personal profile or contact your IT admin.
- Passwords are missing after import. Double-check that you exported them correctly. In Chrome, if you didn't enter your computer password, the export might have been incomplete. Also, some browsers don't import passwords if the site's URL format differs (e.g.,
httpvshttps). - Bookmarks are there but not syncing. If you enabled sync, give it a few minutes. Check that you're signed into the same account on all devices. If sync is stuck, sign out and back in.
Frequently Asked Questions
- Will I lose my passwords if I switch browsers? Not if you export them first. The export/import process preserves them, but you must do it manually or use the browser's import-from-another-browser feature.
- Can I import passwords from Chrome to Firefox? Yes. Firefox can import directly from Chrome via Settings > Import and Backup > Import Data from Another Browser. Or you can export from Chrome as CSV and import into Firefox.
- Is it safe to export passwords to a CSV file? It's safe as long as you delete the file after importing and don't share it. The file is plaintext, so treat it like a physical key.
- What if I don't want to export/import? Can I just use sync? Yes. If you sign into both browsers with the same account (e.g., Google account in Chrome and Firefox), you can use sync to transfer data. However, this only works if both browsers support the same sync service (e.g., Chrome and Edge can sync via Microsoft account, but Chrome and Firefox cannot sync directly).
- Will my bookmarks appear in the same order? Usually yes, but some browsers may sort them alphabetically or place them in a new folder. You can manually reorder them in the bookmarks manager.
- Do I need to reinstall my extensions? Yes. Extensions don't transfer between browsers. You'll need to install them again from the new browser's extension store.