This utility is no longer maintained because:
- I don't use Bitwarden anymore, so I can't possibly test with new BitWarden changes.
- 1Password can import Bitwarden's export directly. See reference here: https://support.1password.com/import-1password-com/
Inspired from torshinalexey/bitwarden-to-1password-csv.
This cli tool converts exported logins from BitWarden to 1Password compatible csv format.
- Login into BitWarden, and export your vault into CSV format
- For most use cases, you should be fine with CSVs
- But if you're having troubles with multiple URLs per login, use JSON.
- Encrypted JSON files are NOT supported.
- Build the executable, and use the exported file as the input
- Import the converted CSV output into 1Password.
- Deno 1.27+
git clone https://github.com/samhwang/bitwarden-to-1password.git
cd bitwarden-to-1password
deno task compile
Run the script after compiling.
./build/bw-to-1p convert -i path/to/input -f format -o path/to/output
Command Usage:
convert {options}
Description:
Convert BitWarden Logins into 1Password
Options:
-f, --format file format: csv or json. (default: csv)
-h --help Help Screen
-i, --input input file (default: input/sample.csv)
-o, --output output file (default: output/out.csv)
Converting a CSV file
./build/bw-to-1p convert -i input/bitwarden.csv -o output/1password.csv
Converting a JSON file
./build/bw-to-1p convert -i input/bitwarden.json -o output/1password.csv -f json