r/ProtonPass • u/Proton_Team • 23h ago
Announcement Proton Pass CLI can now export your vaults to an offline HTML archive
The Pass CLI has a new export command. For now it has one subcommand, archive, which writes your vaults (and items shared with you) into a single HTML file. Everything the file needs is embedded in it, so it opens in any browser with no network connection and without Proton Pass installed.
Run it with no options and you get all your vaults in proton-pass-archive.html. You can narrow that down:
pass-cli export archive
pass-cli export archive --vault-name "Work" --include-attachments --output work.html
pass-cli export archive --encrypt--vault-name can be repeated if you want more than one vault. --include-attachments downloads your files and embeds them, which makes the archive bigger. --encrypt protects the archive with a password (AES-256-GCM and Argon2id), and the browser asks for that password before it shows anything.
If you’re scripting this, --password-env reads the password from an environment variable instead of prompting.
On Unix the file is created with 0600 permissions. Items come out sorted alphabetically, and anything in your trash is included and marked as trashed.
Once your data is in that file, our end-to-end encryption no longer covers it. Unless you’re writing it straight to an encrypted drive, we’d add --encrypt.
Either way, keep it somewhere safe and delete it when you don't need it anymore.
Docs: https://protonpass.github.io/pass-cli/commands/export/