ZapKit

Encrypt & Decrypt Files with a Password

Lock any file, a PDF, spreadsheet, photo or ZIP, with a password using AES-256, and unlock it again later. Files are processed on your device.

What is file encryption?

File encryption scrambles a file's contents so that only someone with the key, here derived from a password, can restore it. An encrypted file can be stored in the cloud, emailed or put on a USB stick without exposing what's inside.

It's useful for tax returns and ID scans you keep in cloud storage, contracts you send by email, backups of private photos, and handing a file to someone over a channel you don't fully trust. This tool needs no installation or account, works with any file type and never uploads your data.

How to use the Encrypt

  1. 1.Choose encrypt or decrypt

    Encrypting saves a new .enc file; decrypting restores the original.

  2. 2.Pick the file and password

    Any file up to 200 MB.

  3. 3.Save the result

    Keep the password safe: there's no way to recover it.

Example: encrypting a PDF

Encrypting tax-return.pdf (2.4 MB) with a passphrase:

Saved as
tax-return.pdf.enc
Size
about 2.4 MB plus 47 bytes
Decrypted
tax-return.pdf, byte-for-byte identical
Wrong password
rejected without producing a file

The encrypted copy is safe to store anywhere; only the passphrase opens it.

What the .enc file contains

The file is read into your browser's memory and encrypted with AES-256-GCM, using a key derived from your password with PBKDF2-SHA-256 and 600,000 iterations. The .enc file holds a short header, the random salt and nonce, and the encrypted data with an authentication tag that detects any change.

Decrypting restores the exact original bytes and file name minus the .enc extension. Because everything happens locally, it works for confidential documents you shouldn't upload anywhere, and keeps working offline once the page has loaded.

Frequently asked questions

What kinds of files can I encrypt?

Any type: documents, images, videos, archives, backups.

Is there a size limit?

200 MB, because the whole file is processed in memory.

Can I open the .enc file elsewhere?

Only this tool can decrypt it, using the same password.

Is the file uploaded?

No. Encryption and decryption run in your browser and nothing is sent to a server.

More Developer tools