Proton Pass exports are in JSON format (almost, double quotes seem to be escaped in contravention of the JSON standard) and need to be converted to something KeePass understands.
This converter creates CSV files that you can modify as required, before importing into KeePass. Note: the CSV contains additional fields that the KeePass importer must be configured to add. An easier method is to convert the final CSV into KeePass XML via my CSV to XML converter.
Requirements / Conventions
JSON files MUST be encoded as UTF-8 to retain special characters - this seems to be the default.
Groups / sub-groups are not supported.
How to run a PowerShell Script (not required anymore). MS Technet.article (technet.microsoft.com)
Use
Create a JSON export from Proton Pass.
Extract 2 files from the attached zip.
Run (double click) on the PP2CSV command script to launch the converter.
It may trigger Windows smart screen - click “More Info” and then “Run anyway”.
Import the resulting CSV into a spreadsheet to confirm / modify the data.
This is not a plug-in.
It is written in PowerShell and must be run separately - double clicking the PS1 file is sufficient, after you have set Windows to run a PowerShell script.
Alternatively, download pp2csv.zip (above) and extract the batch file in to same folder as the PS1 file and double click the batch file.
The contents of the batch file is a command to run the PS1 file - see below. powershell -file .\ProtonPass2CSV.ps1 -executionpolicy Bypass
cheers, Paul
Last edit: Paul 2024-01-17
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, for me the first step is learning " PowerShell" and find a tutorial. I am optimistic, but if you have a link ? ( I certainly do a mistake whith the command line )
cheers
Last edit: jacques monteyne 2024-01-19
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Fantastic, I received a readable CSV file! But I'm not any smarter because I don't yet fully understand how all this works. :-)
The goal was to save ProtonPass data from time to time in KeePass which I want to continue to have on hand....
Very good day
JM @ Brussels
( my export is not complete, I still have a few checks to do..... )
Last edit: jacques monteyne 2024-01-19
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, I will have to choose.
PP is quite easy but we depend on a proprietary system. If I export PPass >> KPass from time to time I must also be careful to delete .json files... It's not easy to have this discipline
A+ merci
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Jacques, If you want to semi-automate this process I can modify the converter to import the data direct to a KDBX and then overwrite and delete the JSON file. This saves you having to remember to clean up manually.
It's easy to do as I've just done the same for the CSV converter.
cheers, Paul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Proton Pass JSON to CSV Converter
Proton Pass exports are in JSON format (almost, double quotes seem to be escaped in contravention of the JSON standard) and need to be converted to something KeePass understands.
This converter creates CSV files that you can modify as required, before importing into KeePass.
Note: the CSV contains additional fields that the KeePass importer must be configured to add. An easier method is to convert the final CSV into KeePass XML via my CSV to XML converter.
Requirements / Conventions
How to run a PowerShell Script (not required anymore).
MS Technet.article (technet.microsoft.com)
Use
cheers, Paul
Last edit: Paul 2024-03-03
Thanks for creating this converter!
I've added it to the plugins/extensions page:
https://keepass.info/plugins.html#converttocsv
Best regards,
Dominik
Thanks for this. I have extracted the zip and moved it to the plugins folder or KeePass but not seeing any plugins coming up.
KeePass: 2.55 (64bit) - 1.41 - 0x01c9
This is not a plug-in.
It is written in PowerShell and must be run separately - double clicking the PS1 file is sufficient, after you have set Windows to run a PowerShell script.
Alternatively, download pp2csv.zip (above) and extract the batch file in to same folder as the PS1 file and double click the batch file.
The contents of the batch file is a command to run the PS1 file - see below.
powershell -file .\ProtonPass2CSV.ps1 -executionpolicy Bypasscheers, Paul
Last edit: Paul 2024-01-17
Perfect, thanks
Hello, for me the first step is learning " PowerShell" and find a tutorial. I am optimistic, but if you have a link ? ( I certainly do a mistake whith the command line )
cheers
Last edit: jacques monteyne 2024-01-19
Run the CMD file and it will run happily.
Or post the error and we can advise.
cheers, Paul
Fantastic, I received a readable CSV file! But I'm not any smarter because I don't yet fully understand how all this works. :-)
The goal was to save ProtonPass data from time to time in KeePass which I want to continue to have on hand....
Very good day
JM @ Brussels
( my export is not complete, I still have a few checks to do..... )
Last edit: jacques monteyne 2024-01-19
I don't see the point of saving your data in two password managers. Stick to the one you like and make sure it's backed up and recoverable.
You can save the PP export locally if you want an extra backup. the export is not encrypted so be careful where you store it.
cheers, Paul
Yes, I will have to choose.
PP is quite easy but we depend on a proprietary system. If I export PPass >> KPass from time to time I must also be careful to delete .json files... It's not easy to have this discipline
A+ merci
Jacques, If you want to semi-automate this process I can modify the converter to import the data direct to a KDBX and then overwrite and delete the JSON file. This saves you having to remember to clean up manually.
It's easy to do as I've just done the same for the CSV converter.
cheers, Paul