How to import sites into terminal from Mac app exports?

Soham Sadhu's Avatar

Soham Sadhu

02 Feb, 2021 09:19 PM

As the question says, I am unable to import all the websites I created on my previous laptop Mac to a terminal application in Ubuntu laptop.

The Mac app exports the sites file as first-name last-name (YYYY-MM-DD).mpjson. When I present this file to be ingested by master password in terminal it says invalid file format.

workbook ~ % mpw -f Documents/first_name\ last_name\ \(2021-02-02\).mpjson Invalid sites format: Documents/first_name last_name (2021-02-02).mpjson

The file does exist in the above location. Just to make sure, that terminal was not confused, I provided it the absolute path to the file. The results were still the same.

Just to go around the problem I copy-pasted the contents of mpjson file to this location .mpw.d/first-name\ last-name.mpsites.json and tried again, and the results were still the same.

Maybe I am not reading the usage guide properly or the export of the file from mac app is incompatible with the terminal app.

The problem is now I am stuck on my other non-Mac laptop typing in the website password preferences and counters. Also, it does not remember my login names, which are there in the app.

Could you please let me know if there is any way I can use the mpjson file or do I have to just create the sites and user names again by scratch and by typing them again in my terminal or desktop app in Ubuntu.

Any directions on how to alleviate the problem are appreciated.


  1. Support Staff 1 Posted by Maarten Billemo... on 02 Feb, 2021 09:29 PM

    Maarten Billemont's Avatar

    Hi Soham,

    First and foremost - please make sure you're using the CLI version on MasterPassword's master branch to make sure you're using the most up-to-date version of the parser.

    If you're still having trouble, would you be able to create a test user on your Mac and share that user's export file so I can take a closer look?

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

09 Oct, 2023 03:28 PM
09 Oct, 2023 02:56 PM
22 Jun, 2022 11:22 AM
02 Feb, 2022 02:22 PM
25 Jan, 2022 11:25 PM


31 Dec, 2021 11:42 AM
22 Dec, 2021 06:41 PM
04 Nov, 2021 01:24 AM
30 Oct, 2021 08:29 PM
21 Oct, 2021 08:44 AM
14 Sep, 2021 08:02 AM