Encrypt Files with a Password
Lock any file with AES-256 into a .mtenc file, and unlock it with the password. Everything runs inside your browser.
0 B uploaded — this page has not sent your files to any server?
More tools
Lock a sensitive file so nothing opens it without your password
Contracts, scanned IDs and backups are exactly the files you don’t want readable if a USB stick goes missing or a cloud account is breached. This tool encrypts any file, whatever its format, with AES-256-GCM into a .mtenc file, and turns it back into the original on the same page when you enter the password. Neither the file nor the password leaves your browser.
A closer look
Encryption uses the standard cryptography built into your browser (WebCrypto). Your password is not used as the key directly. For every file a fresh 16-byte random salt is generated, and the password is run through PBKDF2-SHA256 310,000 times with it to produce a 256-bit key. That repetition is what makes guessing passwords one by one painfully slow for an attacker. AES-256-GCM then encrypts the contents and appends a 16-byte authentication tag; if the password is wrong, or even a single byte of the file has changed, the tag check fails and decryption is refused. Locking the same file twice with the same password gives two different results, because the salt and IV are random every time.
The .mtenc layout is published: the 6-byte marker MTENC1, the salt, a 2-byte name length, the original file name in UTF-8, a 12-byte IV, then the ciphertext. With the password, anyone can decrypt it using a standard crypto library, even if this site disappears. The important detail is that the original file name is stored unencrypted in that header so it can be restored, and the output is named “original name.mtenc”. The contents are hidden; the name is not. Encryption is not compression either: the result is larger than the original by exactly 52 bytes plus the file name’s length in bytes.
How to use it
- Drop the files you want to lock or press Choose files. Several files are encrypted separately, giving you one .mtenc per file.
- Enter the same value in Password and Confirm password. Press Show if you want to see what you typed.
- Press Encrypt. When “Done!” appears, download the .mtenc files with Save on each row or with Save all.
- To unlock, drop the .mtenc file back in. The page switches to decrypt mode with a single password field; press Decrypt and the file comes back under its original name.
When it helps
Common snags
Tip A forgotten password cannot be recovered, so store it in a password manager before you encrypt, and test-decrypt one file before deleting the original.
File Encryption FAQ
How secure is this?
Files are encrypted with AES-256-GCM, the same standard used by banks and governments. Your password is stretched into a key with PBKDF2 (SHA-256, 310,000 iterations), which makes brute-force attacks dramatically slower, and the GCM authentication tag detects any tampering. The final strength depends on your password though — use a long, unpredictable one.
Is the file format open? Can I decrypt without this site?
Yes — it is fully documented, not proprietary. The layout is MTENC1 magic (6 bytes) + salt (16 bytes) + filename length (2 bytes, big-endian) + original filename (UTF-8) + IV (12 bytes) + AES-256-GCM ciphertext (16-byte auth tag included). The key is PBKDF2-HMAC-SHA256 with 310,000 iterations. The original filename is stored in the header so it can be restored; the contents are fully encrypted. Anyone can implement this with a standard library such as WebCrypto or Python’s cryptography, so your files stay recoverable even if this site disappears — as long as you have the password. Without it, not even we can decrypt them.
What if I forget the password?
There is no way to recover the file. There is no master key, no backdoor, and nothing stored on any server — if the password is lost, the file cannot be recovered by any means. Keep your password somewhere safe.
Are my files uploaded anywhere?
No, nothing is ever sent anywhere. All encryption and decryption runs on your device, inside your browser — once the page is loaded, it even works offline. Neither files nor passwords leave your browser.