Encrypt File
Password-encrypt and decrypt local files with AES-GCM and PBKDF2 in your browser. No uploads, no server processing.
π Runs entirely in your browser β nothing is uploadedEncrypt private files locally
This tool password-encrypts a file without sending it anywhere. When you choose Encrypt, the
browser reads the file bytes, stores the original filename and MIME type inside the encrypted
payload, derives a 256-bit AES-GCM key from your passphrase with PBKDF2 and creates a downloadable
.enc file. A fresh random salt and IV are generated for every encryption with browser
cryptography. The salt and IV are not secret; they are saved at the front of the encrypted file so
the same passphrase can derive the correct key during decryption. The original file stays on your
device and is not modified.
Decrypting and restoring the original file
To decrypt, select the encrypted file, switch to Decrypt mode and enter the same passphrase. AES-GCM authenticates the ciphertext before releasing data, so an incorrect passphrase or damaged file should fail instead of producing a misleading result. If decryption succeeds, the page reads the encrypted metadata and downloads the restored bytes using the original filename when available. Because the process is local, Privacy Tools cannot reset the passphrase, inspect the contents or tell you what went wrong beyond a general failure message. Keep a backup of important encrypted files and test decryption before deleting originals.
Good passphrase practices
File encryption is only as safe as the secret protecting it. Use a long unique passphrase that is not reused on websites, preferably a random passphrase saved in a password manager. Do not send the encrypted file and passphrase through the same channel if the data is sensitive. For very large files, browser memory limits may matter because the file is read into memory for Web Crypto. This helper is best for personal documents, keys, exports and small archives where the convenience of a private browser-only workflow is useful. For business records, full disk encryption and dedicated backup software may still be the better long-term storage layer.
How to use
- Choose encrypt or decryptSelect the mode for the local file operation.
- Pick a file and passphraseUse any file type and a long passphrase you can keep safe.
- Download the resultSave the .enc file or restored original file after the browser finishes.