PGP Tool
A complete OpenPGP workbench built on openpgp.js: generate an Ed25519, NIST P-256 or RSA key pair, encrypt text or files to a public key, decrypt with a private key and passphrase, sign and verify messages (detached or clearsigned), and import or export keys. Everything runs in this tab; private keys are never uploaded and are only stored if you explicitly opt in to saving them in this browser.
🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.
Action & options
Key pair
The private key never leaves this tab. Saving it locally is optional and on-by-nothing — leave the box unchecked to keep it only in your hands.
Encrypt
Choose a file, or browse
Optional — attach a file to encrypt it as binary.
Decrypt
Choose a file, or browse
Optional — drop a binary .pgp/.gpg file.
Sign
Verify
Import / export
How it works
Six actions in one OpenPGP workbench
Generate produces a fresh key pair from an Ed25519, NIST P-256, RSA 2048 or RSA 4096 curve with the name and email you enter, plus a passphrase if you set one, and returns the private key, public key, revocation certificate, key ID and fingerprint. Encrypt seals text or a file to the pasted public key and returns ASCII armor or a binary .pgp; decrypt opens a message or file with the private key and passphrase and reveals its text or writes back a file. Sign and verify round out the set, and import exports the public half of a private key so you can share it.
How output is shaped
Every mode reports through the panel, and the report is JSON you can read: generate gives one object holding the fingerprint, key ID, user IDs and all three key artifacts; encrypt names the recipient’s user ID and fingerprint; decrypt notes whether the message carried a signature; verify prints a one-line verdict naming the signer; and import hands back the armored public key. Binary payloads — an encrypted file, a decrypted document, a detached signature — also download under a sensible name such as message.pgp or signature.asc.
Interoperability and the shapes of a signature
The tool produces standard OpenPGP armor and binary packets, so encrypted messages, signatures and keys interoperate with GnuPG, Sequoia, Proton Mail and other implementations. A sign action can be detached, which writes a separate .asc signature you ship alongside the document, or clearsigned, which wraps the original text between BEGIN and END signature blocks so a reader can verify without a second file. A decrypted message that was signed names the signing key, and verify confirms the message was not altered after signing.
Where the keys and your data live
Everything runs in this tab. openpgp.js is loaded lazily and the heavy crypto executes in a Web Worker, so the interface stays responsive, and no key and no message is sent to a server. Private keys are not stored unless you explicitly choose to save one to this browser’s localStorage, which is a per-key decision you can reverse by clearing site data — the default is that a generated key exists only for the session. A key with no passphrase is flagged as a warning, because anyone who obtains it can use it.
Questions
Where do my keys live?
Only in your browser tab. Key generation, encryption and signing all happen locally with openpgp.js; nothing is uploaded and no server stores your keys. If you opt in, a generated private key can be saved to this browser’s localStorage so it is convenient next time, but that is a choice you make per key and you can clear it at any time.
Are my messages interoperable with GnuPG or other PGP tools?
Yes. This tool produces standard OpenPGP armor and binary packets, so encrypted messages, signatures and keys work with GPG, Sequoia, Proton Mail and other OpenPGP implementations.
I lost my passphrase — can the key be recovered?
No. There is no backup, no recovery hint and no key escrow. The passphrase is the only thing that protects the private key, and a lost passphrase means the private key is permanently unusable. Keep your private key and passphrase somewhere safe, ideally offline.
Why does the tool ask for my private key?
Decrypting and signing require the private key, and we never send it anywhere — it is used in this tab and then left in your control. You can paste it each time, or (optionally) save it to this browser so the panel can pre-fill it.
Related tools
See categorySSH Key Fingerprint
Compute the SHA256 and MD5 fingerprints of an SSH public key, with key type and size.
Text Encryption (AES-GCM)
Encrypt or decrypt text with a passphrase using AES-256-GCM and PBKDF2, entirely on your device.
File Encryption (AES-GCM)
Encrypt or decrypt any file with a password using AES-256-GCM — chunked, with a versioned header.
X.509 Certificate Inspector
Parse an X.509 certificate: subject, issuer, validity, key details, SANs and fingerprints.