File Encryption Tool (Password or Public Key)
Drop files, choose a strong password or a contact's public key, and download encrypted .sfe files; decrypt them later on any device with this page. Create and share key pairs for password-free sending.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Choose Encrypt files
Or Decrypt files.
- 2Drop your files
Any type and size.
- 3Pick password or public key
Repeat the password.
- 4Download the .sfe file
Send it any way you like.
- 5Share the password separately
Or use key pairs.
- 6Decrypt on any device
Same page, same password or key.
About this tool
Email attachments, cloud folders and USB sticks are convenient but rarely private. Encrypting a file before it leaves your computer means that whoever intercepts it, or whoever runs the storage service, sees only random bytes. This tool encrypts files of any type and size entirely in your browser with AES-256-GCM, the same authenticated cipher used by modern TLS and disk encryption. You can lock a file with a password, or with a contact's public key so that only their private key can open it, with no shared password to pass around. Nothing is uploaded: the page reads the file, encrypts it in 1 MB chunks and hands you a download.
Who this is for
Anyone sending tax papers, ID scans, contracts, medical records, backups or business documents by email or cloud storage; journalists and lawyers exchanging files; people archiving sensitive files on USB drives.
Two ways to lock a file
- **Password:** the key is derived from your password with PBKDF2-HMAC-SHA256 and 600,000 iterations (the 2023 OWASP recommendation), which makes guessing slow. A long passphrase of four or more random words is far stronger than a short complex password. Send the password through a different channel than the file, for example by phone. - **Public key:** create a key pair in the Public keys tab and send your public key to people who will send you files. When they encrypt for you, the tool creates a one-time key with elliptic-curve Diffie-Hellman (P-256) and HKDF, so only your private key can derive the file key. No password is ever shared.
How the file format works
The output .sfe file starts with a small header (original name, size, type, salt and nonce) followed by the encrypted chunks. Each chunk has its own authentication tag and is bound to its position and to the header, so a changed, reordered or truncated file is rejected instead of producing corrupted output. Large videos and archives work because only one chunk is in memory at a time while reading.
Step by step
Choose Encrypt files, drop one or more files, pick password or recipient key, then Encrypt and download. To open a file, choose Decrypt files, drop the .sfe file, enter the password or pick your private key and download the original.
Keys and backups
Key pairs are stored in this browser's storage. Export your private key backup and keep it offline; anyone with it can open files encrypted for you. Public keys are safe to share. Each key has a short ID so you can confirm with the other person, by phone, that you have the right key.
Common mistakes
- Sending the password in the same email as the file. - Using a short password: attackers can test millions of guesses offline. - Losing the only copy of the private key or password; there is no recovery. - Expecting the file name to stay secret: the original name is stored inside the encrypted header, but the .sfe file name you choose is visible.
Limits
Encryption protects the file contents, not the fact that you sent a file or its size. Keep your device free of malware, which can read files before they are encrypted. This is not legal advice on data protection duties.
Worked example
A 2.6 MB scan encrypted with a 5-word passphrase becomes a 2.6 MB .sfe file; the wrong password is rejected instantly.
Quick facts
- Category: Security & Privacy
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: Web Crypto API: AES-256-GCM (NIST SP 800-38D), PBKDF2-HMAC-SHA256 with 600,000 iterations (OWASP Password Storage Cheat Sheet 2023), ECDH P-256 with HKDF (RFC 5869)
Frequently asked questions
Is my file uploaded anywhere?
No. It is read and encrypted inside your browser tab.
Which encryption is used?
AES-256-GCM with PBKDF2 (600,000 rounds) or P-256 ECDH key agreement.
Can I encrypt very large files?
Yes. Files are processed in 1 MB chunks; available memory still sets a practical limit for the download.
What if I forget the password?
The file cannot be opened. There is no back door or reset.
How does the recipient decrypt?
They open this page, choose Decrypt and use the password or their private key.
Is my data stored?
Files are never stored; only your keys stay in this browser if you create them.
