Import Data from Google Chrome
Use this article for help exporting data from Google Chrome and importing into Bitwarden.
tip
The steps in this article can also be used with any Chromium-based browser, including Opera, Microsoft Edge (Chromium), Brave, and Vivaldi.
You can export Google Chrome data from a desktop browser or a mobile browser:
To export passwords from Chrome on your desktop:
Using the address bar, navigate to
chrome://settings/passwords
.Select the menu button in the saved passwords section, and select Export passwords... from the dropdown.
You may be prompted to enter your computer's password for authorization.
Specify a location to save your export to, and select comma-separated values from the Format: field.
Select Save to finish exporting from Chrome.
To export passwords from Chrome on your mobile device:
Tap the menu button and tap Settings.
Tap Passwords.
Tap Export Passwords.
You may be prompted to enter your device PIN or a biometric for authorization.
Specify a location to save your export to.
Data must be imported to Bitwarden from the web vault or CLI. Data is encrypted locally before being sent to the server for storage.
To import data to your vault:
Log in to the web vault at https://vault.bitwarden.com, or
https://your.bitwarden.domain.com
if self-hosting.Select Tools from the top navigation bar.
Select Import Data from the tools menu.
From the format dropdown, choose a file format.
Select Choose File and add the file to import or copy/paste the contents of your file into the input box.
注意
Importing does not check whether items in the file to import already exist in your vault. If you import multiple files or import files with items already in your vault, this will create duplicates.
Select Import Data to trigger the import. If you are importing a password protected
.json
file, enter the password into the Confirm Vault Import window that will appear.After successful import, delete the import source file from your computer. This will protect you in the event your computer is compromised.
Additional items such as File attachments, Sends, trash, and password history will need to be manually uploaded to your vault.
To import data to your vault from the CLI, use the following command:
bw import <format> <path>
Text Copied!
bw import
requires a format (use bw import --formats
to retrieve a list of formats) and a path, for example:
bw import lastpasscsv /Users/myaccount/Documents/mydata.csv
Text Copied!
After successful import, delete the import source file from your computer. This will protect you in the event your computer is compromised.
Imports may be rejected for exceeding any of the following data limitations:
If your import has more than 6,000 items.
If your import has more than 1,000 folders.
If your import has more than 1,000 collections.
If your import has more than 6,000 item-folder relationships (e.g. a single item in 3 folders can be said to have 3 item-folder relationships).
If your import has more than 6,000 item-collection relationships (e.g. a single item in 3 collections can be said to have 3 item-collection relationships).