Encrypt and decrypt files with a password. Everything happens in your browser, nothing is uploaded.
Drop files here or click to select
Normal files get encrypted, .xmenc files get decrypted
FAQ
Is my file uploaded anywhere?
No. The file is read, encrypted and offered for download entirely in your browser via the Web Crypto API. Neither the file nor the password leaves your device. Once the page is loaded, it also works offline.
How is the file encrypted?
The key is derived from your password with PBKDF2-HMAC-SHA256 (600,000 iterations by default, as recommended by OWASP) and a random 16-byte salt per file. The content is encrypted with AES-256-GCM in chunks of 1 MiB. Every chunk carries its own authentication tag, and the header with all parameters is authenticated as well. Any change, reordered chunks or a cut-off file is detected on decryption instead of producing silently broken output.
What if I forget the password?
Then the file is lost. There is no recovery, no reset and no backdoor - that is the point of the encryption. Keep the password somewhere safe, e.g. in the
Vault. The "Repeat password" field is there because a single typo during encryption would have the same effect.
Is the file name hidden?
The original name, type, size and modification date are stored encrypted inside the file and restored on decryption. By default the encrypted file is still called name.ext.xmenc for convenience, which reveals the name. Tick "Hide file name in output" to get a random name instead. The approximate size of the original stays visible, as with any encryption.
How large can a file be?
The browser keeps the file and its encrypted copy in memory, so it needs roughly twice the file size in free RAM. A few hundred MB are no problem; with multiple GB the tab may run out of memory. For very large files, the Python script below decrypts any size, as it processes the file chunk by chunk.
Can I decrypt a file without this website?
Yes.
decrypt.py is a small standalone Python script that decrypts
.xmenc files and documents the file format. It needs the
cryptography package:
pip install cryptography
python3 decrypt.py secret.pdf.xmenc
Keep a copy next to your encrypted files if you want to be independent of this site.
What is the difference to the Cipher app?
Cipher encrypts text and gives you text back (Base64, hex or JSON) and offers more algorithms, including RSA. File Crypt works on whole files of any type and produces a binary file.