DotBGE is the official app for the open .bge encryption format. Encrypt files for yourself or a contact, or protect them with a password, entirely on your device.
Encryption, without the ceremony
Strong file encryption usually means command lines, key servers, or trusting a company with your data. DotBGE removes the ceremony. You pick a file, choose who (or what password) should be able to open it, and you get a single .bge file you can send anywhere. Decrypting is just as direct: open the file, authenticate, done.
There are no accounts and no DotBGE servers. Everything happens locally, using standard cryptography — RSA-4096 for identities and AES-256-GCM for the file contents.
The app and the format
It helps to separate two things:
- .bge is the format — an open, documented container for encrypted files. Anyone can read the specification and build a tool that reads or writes it. The full spec lives at dotbge.com.
- DotBGE is the app — an application implementing that format for iPhone and Android, with a command-line tool for macOS and Linux. The iPhone app also runs on iPad in compatibility mode; the macOS menu-bar app is in development.
Because the format is open, your files aren't trapped in one vendor's product. That's the point: encryption you can verify, in a format that outlives any single app.
Two ways to lock a file
Identity mode
Choose Me to encrypt with your own public key; only your matching private key opens that file. Choose a contact to encrypt with their public key; only their matching private key opens that encrypted file. Your own private key cannot open a file encrypted for someone else.
An identity card carries a name and a public key. Import someone’s QR code or .bgekey file to add them to Contacts, then select their name when encrypting. You do not need their private key or a shared password. To receive files encrypted for you, share your own card. The card does not contain your private key and cannot decrypt files. See how identity sharing works.
Password mode
Encrypt a file with a passphrase. Anyone who knows the password can open it — useful when you can't exchange keys ahead of time. The key is derived from your passphrase with PBKDF2; the password is never stored.
Your keys stay yours
Your private key is generated on-device and protected by the system Keychain on Apple devices or Android Keystore on Android, with device authentication. It is never uploaded to us. On Apple devices, you can optionally sync through your own private iCloud — it never passes through DotBGE.
Everywhere you work
DotBGE is available for iPhone on the App Store (also running on iPad in compatibility mode) and Android on Google Play, and there's a command-line tool, bge, for macOS and Linux — so you can encrypt in scripts and pipelines too, or even let Claude Code and other AI agents do it. A Mac menu-bar app is on the way. On mobile you can encrypt from the system share sheet and keep encrypted files in a biometric-protected vault; Apple platforms can optionally sync through your private iCloud.
Read the format
If you want the technical details — the byte layout, the algorithms, and how to build your own reader — that's all documented openly.