Skip to content
hateitall

Encrypt File

Password-protect a file before you email it, upload it or put it on a USB stick.

Processed locallyIn: Any fileOut: Encrypted .hia file

Loading tool…

How to use encrypt file

  1. Drop the file you want to protect.

  2. Type a strong password twice.

  3. Press Encrypt file and wait for the check.

  4. Download the .hia file and share the password separately.

What this tool does

  • AES-256-GCM, so any change to the encrypted file is detected on decryption.
  • The key comes from your password through PBKDF2-SHA256 with 600,000 rounds and a random salt, which slows down guessing.
  • The original file name is stored inside the encrypted part, so it is hidden too.
  • Works on any file type up to 512 MB.

How the result is verified

Before the download appears, the encrypted result is decrypted again with your password and compared byte for byte with your original file. Format: magic HIAE, version 1, payload type, PBKDF2-SHA256 iteration count, 16-byte salt, 12-byte IV, then AES-256-GCM ciphertext with the 40-byte header as authenticated data.

Frequently asked questions

How strong is the encryption?

AES-256-GCM itself is not breakable in practice. The real risk is the password: 600,000 PBKDF2 rounds slow each guess, but a weak password still falls. Use 5 or more random words.

Can I open the file without this website?

Yes. The format is simple and documented on this page: derive the key with PBKDF2-SHA256 from the salt and round count in the header, then decrypt with AES-256-GCM using the IV and the 40-byte header as additional data. A few lines of Python or Node do it.

Is my data uploaded to a server?

No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.

Open a .hia file made by Encrypt File, with tamper detection

Encrypted .hia file→ Original fileModerate on device

Lock a message with a password and share it as text

Text→ Base64 textLight on device

Memorable random word passphrases from the EFF list, with entropy shown

Word count · Separator→ TextLight on device

MD5, SHA-1, SHA-256, SHA-384, SHA-512 and HMAC for text or files

Text · Any file→ HexModerate on device

Open a PDF in the local editor and export an AES-256 password-protected copy with separate owner controls.

PDF→ Protected PDFHeavy on device