Encrypt files and text
Encrypt a message or a file for someone's public key. Only the matching private key can open it. Nothing is uploaded: the page does all the work locally and keeps keys only until you close the tab.
How to use it
- Get their public key. Ask the person you are sending to for their public key — they make it on this page.
- Paste it into the Public key field in step 1 below.
- Encrypt. Type the text or choose a file in step 2 and press Encrypt text or Encrypt file.
- Send the result — the line of text that appears, or the .enc file — any way you like. Without their private key it can't be read.
- Generate a key pair with the button in step 1.
- Send the public key to the person (Copy under it). It's safe to share.
- Keep this page open. The private key lives only in this tab until they reply.
- Decrypt. Paste the line they sent, or choose their .enc file, in step 3 and press Decrypt text or Decrypt file.
- Keys exist only in this browser tab. Closing or reloading the page wipes them — use Save .pem if you need to keep a key.
- We recommend a new key pair for every exchange.
1. Keys
Generate a new pair, or paste keys you already have (PEM). Give the public key to anyone who should send you something; keep the private key secret and safe — without it the data can't be recovered.
2. Encrypt with the public key
3. Decrypt with the private key
How it works: a random AES-256-GCM key encrypts the data, and RSA-OAEP 4096 (SHA-256) locks that key with the public key. The result is one line of text (or an .enc file) that only the private key opens, and any change to it is detected. This tool is separate from chats: it never talks to the server, and the keys are not stored anywhere — save the private key yourself.