How to Set Up Excel to Import Passwords into Microsoft Edge
If you've been storing passwords in a spreadsheet — or you've exported them from another password manager into a CSV file — you might be wondering how to get them into Microsoft Edge's built-in password manager. The process involves formatting your data correctly in Excel, exporting it as a CSV, and then importing it into Edge. Here's exactly how that works.
Why Edge Has a Built-In Password Manager
Microsoft Edge includes a native password manager that saves, autofills, and syncs login credentials across devices when you're signed into your Microsoft account. It stores usernames, passwords, and the URLs they belong to.
Like most modern browsers, Edge supports CSV-based password import, which means you can bring in credentials from external sources — including a manually built Excel spreadsheet — as long as the file is formatted correctly.
What Excel Has to Do With This
Excel itself isn't a password manager, but it's a common tool people use to organize credentials before migrating them into a browser or dedicated password manager. The key step is that Edge doesn't read .xlsx files directly. It reads CSV (Comma-Separated Values) files — a plain-text format that Excel can export.
So the workflow looks like this:
- Build or clean up your password list in Excel
- Format the columns correctly
- Save/export as CSV
- Import that CSV into Edge
Step 1: Format Your Excel Spreadsheet Correctly 🗂️
Edge expects a specific column structure when importing passwords. If the headers don't match, the import will fail or produce incomplete results.
Your spreadsheet must include these four columns, with these exact header names in Row 1:
| Column Header | What Goes Here |
|---|---|
name | The website or service name (e.g., Gmail) |
url | The full URL of the login page (e.g., https://mail.google.com) |
username | The email address or username used to log in |
password | The password for that account |
Important notes on formatting:
- Headers must be lowercase —
name,url,username,password - URLs should include
https://where applicable - Leave no blank rows between entries
- Avoid special characters in cell formatting (plain text only)
- Do not use merged cells or decorative formatting
If you're migrating from another password manager that already exported a CSV, open it in Excel first to check whether the column headers match Edge's expected format. You may need to rename columns.
Step 2: Export from Excel as a CSV File
Once your data is formatted:
- Click File → Save As
- Choose a save location
- In the "Save as type" dropdown, select CSV UTF-8 (Comma delimited) (*.csv)
- Click Save
- Excel will warn you that some features aren't compatible with CSV — click Keep Current Format
Why UTF-8 matters: Choosing CSV UTF-8 ensures that special characters in passwords (symbols, accented letters) are preserved correctly. The standard CSV format can sometimes corrupt these characters depending on your system's regional settings.
Step 3: Import the CSV into Microsoft Edge 🔐
With your CSV file ready:
- Open Microsoft Edge
- Navigate to
edge://settings/passwords - Click the three-dot menu (⋯) next to "Saved passwords"
- Select Import passwords
- Choose From a file when prompted
- Browse to your saved CSV file and select it
- Edge will process the file and confirm how many passwords were imported
If any entries fail to import, Edge typically flags them. Common causes include malformed URLs, missing fields, or duplicate entries already saved in Edge.
Variables That Affect How Well This Works
Not every import goes smoothly, and several factors determine the outcome:
Edge version: The import feature and its exact location in Settings has shifted across Edge updates. The steps above reflect the general layout in modern Edge (Chromium-based), but the exact UI wording may vary slightly depending on your version.
Operating system: The import-from-file option is available on Windows and macOS versions of Edge. Mobile versions of Edge (iOS/Android) have more limited import capabilities and may not support CSV import directly.
Password complexity: Passwords containing commas, quotes, or line breaks can cause parsing errors in CSV files. If you have credentials with these characters, they may need to be wrapped in quotes within the CSV or handled carefully before export.
Microsoft account sync: If you're signed into Edge with a Microsoft account, imported passwords can sync across your devices automatically. If you're using Edge without an account, passwords stay local to that browser installation.
Data volume: There's no officially published hard limit on how many passwords Edge can import at once, but very large files (thousands of entries) may take longer to process or occasionally require splitting into batches.
A Note on Security While Doing This ⚠️
A CSV file containing your passwords is a plain-text, unencrypted file. Anyone with access to it can read every credential it contains. During this process:
- Keep the file in a location only you can access
- Delete the CSV file immediately after a successful import
- Do not email it, upload it to cloud storage, or leave it in your Downloads folder
The risk window is short if you act quickly, but it's worth being deliberate about.
What Determines Your Specific Experience
Whether this process takes five minutes or turns into a troubleshooting exercise depends on factors specific to your situation: how your existing passwords are stored, whether your URLs are consistently formatted, which version of Edge you're running, and whether you're working across multiple devices or operating systems. Someone migrating 20 clean entries from a tidy spreadsheet will have a very different experience than someone consolidating years of inconsistent password records from multiple sources.