Skip to content

johnnytk/safe2KeePass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

SafeInCloud to KeePassXC CSV Converter

A simple Python script to convert password databases exported from SafeInCloud into a CSV format suitable for importing into KeePassXC.

Overview

This script addresses a common migration path for users switching password managers. It parses a JSON export file, generated by an external tool, and reformats the essential data (login and password) into a structured CSV file that KeePassXC can easily import.

  • Input Format: JSON, generated using the joncastro/SafeInCloud export tool.
  • Output Format: CSV, compatible with the import functionality of KeePassXC.

Features

  • Targeted Conversion: Extracts only the essential login and password fields for a clean import.
  • Group Organization: Automatically creates a Group path in the format Root/Title for better organization in KeePassXC.
  • No Dependencies: Runs using only standard Python libraries.

Requirements

  • Python 3.x

Usage

  1. Export from SafeInCloud:

    • Use the joncastro/SafeInCloud tool to export your database as a JSON file (e.g., safeincloud_export.json).
  2. Download the Script:

    • Clone this repository or download the safe2KeePass.py script to your local machine.
  3. Run the Conversion:

    • Open a terminal or command prompt.
    • Navigate to the directory where you saved the safe2KeePass.py script and your JSON export.
    • Run the script using the following command structure:
    python safe2KeePass.py <input_json_file> <output_csv_file>

Example

To convert a file named safeincloud_export.json into a new file named import_to_keepass.csv, you would run:

python safe2KeePass.py safeincloud_export.json import_to_keepass.csv

About

A simple Python script to convert password databases exported from SafeInCloud into a CSV format suitable for importing into KeePassXC.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages