Privacy & security

File Encryptor

Encrypt any file with a passphrase or with someone's public key, in the open age format, or decrypt an .age file back. Files of any size, all in your browser. Old .kenc files from this page still open.

  • Encryption runs locally. Your file, passphrase and keys are never uploaded.
Drop a file here or click to choose
Any file, any size. It never leaves your device.
No recovery. If you lose the passphrase or the secret key, the file cannot be decrypted by anyone. There is no backdoor. The file's name and size stay visible; only its contents are encrypted.

How it works

1

Keep encrypt selected and drop in any file.

2

Choose a passphrase (or press generate), or switch to public keys and paste the age1… key of the person who should open it.

3

Click encrypt & download. You get an .age file.

4

To open it, switch to decrypt, drop the file and enter the passphrase or the secret key. The page sees which one the file needs.

Built on age, an open standard

Files are encrypted in the age format, a modern, simple file encryption standard designed by Filippo Valsorda. Anything made here also opens with the age command-line tool on any computer (post-quantum keys need age 1.3 or later), and files from age and rage open here: age -d -o report.pdf report.pdf.age.

With a passphrase, the key is derived with scrypt, which is slow and memory-hard on purpose, so guessing passphrases is expensive. With public keys (X25519, or the post-quantum hybrid ML-KEM-768 + X25519), you encrypt to someone's public key and only their secret key opens the file, so no passphrase has to be shared. A file can be encrypted to several public keys at once. The contents are encrypted with ChaCha20-Poly1305 in 64 KB chunks, each one authenticated, so any change to the file is detected and nothing is decrypted from a damaged or truncated file.

Encryption uses the age-encryption library by the same author, built on the noble cryptography libraries. It runs in a background thread and streams the file to your browser's local storage, so large files work without loading them into memory.

Frequently asked questions

Is my data private?

Yes. The file is read and encrypted entirely in your tab. Nothing is uploaded; you can check the network tab, and the page works offline once loaded. Secret keys you generate are shown once and never stored by the page.

How big a file can I encrypt?

There is no fixed limit. The file is processed as a stream and the result is written to your browser's temporary storage, so the practical limit is your free disk space. Text armor is limited to 100 MB, since it is meant for pasting.

What about my old .kenc files?

They still decrypt here: drop a .kenc file in decrypt mode and enter its passphrase. New files are always saved as .age, which other tools can open too. Old .kenc files are limited to 1 GB, as before.

Why does a passphrase take a moment?

That pause, about half a second on a laptop and longer on a phone, is scrypt doing its job. Every guess costs an attacker the same time and 256 MB of memory, which makes trying billions of passphrases impractical. Public-key files open instantly.

Related tools