Skip to content

slavos1/keepass_to_1password

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

keepass_to_1password

A simple script to convert KeePass-exported XML database to 1Password-compatible CSV.

For each "Entry" in XML, it converts only the bare minimum:

  • XML element "Title" is saved as "title" CSV field
  • "URL" as "website"
  • "UserName" as "username"
  • "Password" as "password"
  • "Notes" as "notes"

Only non-expired entries are considered.

How to use

Create a virtualenv:

python3 -m venv venv
source ./venv/bin/activate

Install poetry as described in its documenation.

Then run:

poetry install

Now you can use cli script:

cli --help
cli convert --help
cli info --help

Examples

Convert entries from export.xml and group my_group to import.csv:

cli -i export.xml convert -o import.csv -g my_group

Show all the groups in export.xml:

cli -i export.xml info

License

See the related file.

About

Convert KeePass XML to 1Password-compatible CSV

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages