What This Tool Does
This tool encrypts a file with a password so that only someone who has that password can open it again — and decrypts a file back to its original form given the correct one. Drop a file, type a password, and download a self-contained .enc file; drop that .enc file back in with the same password later, and you get the exact original bytes and filename back.
Everything happens on your device. There's no upload step, no account, and no key stored on a server anywhere — the password you choose is the only thing that can unlock the file, and it's never sent over the network.
Choosing an Algorithm
| Algorithm | Strengths | Best for |
|---|---|---|
| ChaCha20-Poly1305 (default) | Fast in pure software, no special hardware needed | General use, especially on phones or devices without AES hardware acceleration |
| AES-256-GCM | The most widely recognized standard name | Situations where a policy or compliance requirement specifically names AES |
Both are modern AEAD (authenticated encryption) ciphers with no known practical weaknesses — this is a choice between two equally strong options, not a security trade-off.
How Your File Is Protected
Your password never becomes the encryption key directly. It's first passed through Argon2id, a memory-hard key derivation function, using a random salt generated fresh for every file — this makes brute-forcing the password computationally expensive even if someone gets hold of the encrypted file. The derived key then encrypts your file's contents with an AEAD cipher, which produces both ciphertext and an authentication tag in one step.
Your Filename Is Encrypted Too
The original filename and extension travel inside the encrypted payload itself, alongside the file's bytes — not as visible metadata in the container. Someone who intercepts your .enc file learns nothing about its name or contents without the password; decrypting with the right one restores both the exact original filename and its contents.
What Happens If You Forget the Password
There is no recovery path. The Argon2id-derived key is the only way to unlock the file, and this tool doesn't store passwords, keys, or any escrow mechanism anywhere. This is a deliberate security property, not a missing feature — a recoverable system would mean someone other than you could also unlock the file. Keep your password somewhere safe before you close the tab.
Decrypting on Another Device
The .enc file is fully self-describing — it carries the algorithm choice and the parameters needed to reverse the process, so you don't need to remember any settings, only the password. Copy the file to a phone, another laptop, or send it to someone else entirely; as long as they open this same tool and enter the correct password, decryption produces an identical result.
File Size Limits
This tool processes the whole file in your browser's memory, so there's no hard cap enforced by the tool itself — the real limit is how much memory your device and browser tab can spare. Small to moderately large files (photos, documents, archives up to a few hundred megabytes) work quickly; multi-gigabyte files will work but may take longer and use more memory, especially on phones or older hardware.
If you also want to check a file's integrity with a checksum, see the Hash & checksum tool. If you need to evaluate or hash a password on its own, see the Password strength & hash generator — both run on-device the same way this tool does.