Encrypt a File with a Password

Protect any file, such as a scanned Aadhaar or PAN card, a bank statement, a salary slip, a contract or a ZIP of documents, with a password before you store it in the cloud or send it. The file is encrypted with AES-256-GCM in your browser, using a key made from your password, and you download a .enc file that only that password can open. Nothing is uploaded. Keep the password safe: if it is lost, the file cannot be opened again.

What
Do

Drop any file to lock it

PDF, photo, document, ZIP: any type, up to 500 MB

500 MB

Keep this password safe. It is not stored anywhere, so nobody, including us, can recover it. If you lose the password, the encrypted file cannot be opened again.

Encryption runs in your browser. Your files never leave this device.

Features

  • AES-256-GCM encryption, the same cipher used for HTTPS and disk encryption

  • The key comes from your password through PBKDF2-SHA-256 with 600,000 rounds and a random salt, which slows down guessing

  • Any file type up to 500 MB

  • The original file name is kept inside the encrypted file and comes back when you decrypt

  • Tampering is detected: a changed or cut-off file will not decrypt

  • Password confirmation and a strength hint

  • Runs in your browser: the file and password never leave your device

When to encrypt a file

Sending documents by email or WhatsApp

Share an ID scan or a statement as a .enc file and tell the person the password on a call, not in the same chat.

Storing copies in the cloud

Keep encrypted copies of important documents in Google Drive or a pen drive, so a leaked account doesn't expose them.

Handing over data to a colleague

Send an export with customer data encrypted, as data protection rules expect.

A private backup

Encrypt a ZIP of personal files before keeping it on a shared computer.

How the encryption works

What happens to your file

  • Your password and a random 16-byte salt go through PBKDF2-SHA-256 600,000 times to make a 256-bit key.
  • The file (and its name) is encrypted with AES-256-GCM and a random 12-byte IV. GCM adds a tag that detects any change.
  • The .enc file holds a short header (format version, rounds, salt, IV) and the encrypted data. None of that reveals the password or the content.

Choosing the password

  • Use 12 or more characters, or four or five random words. Short passwords can be guessed offline, however strong the cipher.
  • Share the password by a different route than the file: a phone call if the file went by email.
  • Store it in a password manager. There is no way to reset it.

Opening the file

Use Decrypt file on any device with a modern browser. The .enc format is specific to this tool: other programs such as 7-Zip or OpenSSL cannot open it, and this tool cannot open files encrypted elsewhere. For a password on the PDF itself, so it opens in any PDF reader, use Protect PDF.

Encrypt a File with a Password - FAQ