Enpass-Escape
A lightweight Python CLI to migrate Enpass website passwords to Apple Passwords or Google Password Manager.
🚀 Features
- Converts Enpass CSV or JSON export to Apple Passwords import CSV
- Converts website passwords to Google Password Manager CSV
- Keeps the newest safely identifiable duplicate by default
- Preserves TOTP/2FA secrets with proper otpauth URI formatting
- Maintains titles, URLs, usernames, passwords, and notes
- Combines any additional fields into organized notes
- Excludes archived and trashed items unless requested
- Writes output atomically with owner-only permissions
- Zero external dependencies except Typer for the CLI interface
📋 Prerequisites
- Python 3.11 or higher
🛠️ Installation
Install from PyPI:
pip install enpass-escape
Or install development version:
git clone https://github.com/ake2l/enpass-escape.git
cd enpass-escape
python -m venv .venv
source .venv/bin/activate
make install
make check
Run make help to list the local development commands. For example:
make dry-run INPUT=/path/to/export.json TARGET=google
make export INPUT=/path/to/export.json OUTPUT=google.csv TARGET=google
💻 Usage
Note: The Enpass CSV export does not support all fields completely (e.g., TOTP, notes, extra fields). For best results, it is recommended to use the JSON export from Enpass!
Run the enpass-escape command with your Enpass export and desired output path:
# CSV-to-CSV
enpass-escape enpass-export.csv export-apple-passwords.csv
# JSON-to-CSV
enpass-escape export.json apple-output.csv
# Google Password Manager; website passwords only
enpass-escape export.json google-output.csv --target google
# Analyze without creating a plaintext export
enpass-escape export.json --target google --dry-run
# Keep all duplicates
enpass-escape export.json apple-output.csv --duplicates keep
# Include archived items
enpass-escape export.json apple-output.csv --include-archived
# Replace an existing output file
enpass-escape export.json apple-output.csv --force
# View help
enpass-escape --help
The output CSV will have the header:
Title,URL,Username,Password,Notes,OTPAuth
Input Formats
- JSON (recommended): Enpass JSON export (recommended for complete data export)
- CSV: Standard Enpass CSV export (limited field support)
Output Formats
Apple Passwords import CSV with the following columns:
Title,URL,Username,Password,Notes,OTPAuth
Google Password Manager CSV:
url,username,password,note
Google exports contain only entries with an HTTP(S) URL and a password. Only the title and item note accompany the login; arbitrary Enpass fields are not copied into Google's note. Files are split automatically at Google's 3,000-entry import limit. TOTP secrets, attachments, and passkeys are not exported.
Duplicates
newest(default): keep the entry with the highest Enpassupdated_atfor the same normalized URL and usernameexact: remove only entries with identical migrated contentkeep: do not remove duplicates
Entries with missing or tied timestamps are kept when their content differs. CSV exports usually have no timestamps, so JSON is recommended for newest.
🔒 Security Considerations
- All processing is local; no network calls
- No data is stored or cached
- Output files are unencrypted and readable only by their owner
- No external dependencies other than Typer
- Delete the output after importing it successfully
🤝 Contributing
Contributions welcome! Open an issue or submit a pull request.
📝 License
MIT License. See LICENSE for details.
Release files for enpass-escape 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| enpass_escape-0.2.0.tar.gz | 19.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| enpass_escape-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.2 kB
Release files / enpass_escape-0.2.0.tar.gz
| Download URL | enpass_escape-0.2.0.tar.gz |
|---|---|
| Size | 19.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d996e5b355c2ac1a397a919928eb0324e16702575312d2f1ae0d630d553f5b6
|
|
BLAKE2b-256 checksum How to use checksums |
c1416c2d72b6efa59b3ead6148579938c48883dde0039b6630dc3a1623b70e87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 13, 2026.
Transparency logRelease files / enpass_escape-0.2.0-py3-none-any.whl
| Download URL | enpass_escape-0.2.0-py3-none-any.whl |
|---|---|
| Size | 10.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
beb065fdcef6416d8e793331475a967328915a84618c9c9908fa3776af2174a1
|
|
BLAKE2b-256 checksum How to use checksums |
9f4696c33f6856f6a1c54a43ee1a18b45cf4aa6fa0dd5fa42b1888a3db321404
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 13, 2026.
Transparency log