b2KIT

File Encryption Tool

Encrypt and decrypt files of any type using AES-256-GCM with password-based key derivation, processed entirely client-side.

Tested tool guide Tested browser tools Checked August 16, 2026

What File Encryption Tool does and how it behaves

A selected file becomes authenticated AES-256-GCM ciphertext under a 256-bit key derived from the password you enter. Supplying compatible ciphertext and the same password reverses the operation. The tool treats the file as binary data, so it can handle documents, images, archives, audio, and other formats without interpreting their contents. Processing remains entirely inside the browser. The common surprise is that the password is not attached to the encrypted file in recoverable form. Losing it can make the contents inaccessible, while changing even part of the ciphertext causes authentication to fail.

How the result is produced

1

Encryption and authentication

When you select a file and enter a password, the tool converts that password into a 256-bit AES key through password-based key derivation. AES-GCM then encrypts the file bytes and produces an authentication tag associated with the ciphertext and encryption parameters. The result is opaque encrypted data rather than an ordinarily readable copy with a password prompt.

2

Verified decryption

For decryption, provide an encrypted file in the format expected by this tool and enter the exact password used originally. The tool derives the key again and asks AES-GCM to authenticate the encrypted data before recovering the plaintext bytes. A wrong password, damaged ciphertext, altered authentication data, or incompatible file format should produce a decryption failure instead of plausible but corrupted output.

Good uses

  • Encrypt a PDF containing tax or identity information before copying it to a removable drive that could be lost.
  • Protect a source-code or document archive before placing it in a shared storage location, then communicate the password through a separate channel.
  • Decrypt an encrypted file previously created by this tool without sending either the ciphertext or recovered contents to a remote service.

Limits and checks

  • AES-256 does not make a weak password strong. A short, reused, or predictable password can still be tested by an attacker who obtains the encrypted file.
  • AES-256-GCM identifies the cryptographic mode, not the complete file format. Another encryption program may package its nonce, authentication tag, and password-derivation parameters differently and therefore be unable to open this tool's output.
  • Support for any file type concerns the contents, not unlimited file size. Very large files can be constrained by the browser, available device memory, or the time required to process and save the result.

Common questions

Can I recover the file if I forget the password?

No built-in property of AES-GCM can recover a forgotten password. Decryption requires recreating the same key, which in this workflow depends on the original password and derivation parameters. Unless the password can be recovered from your own records or feasibly guessed, the ciphertext is intended to remain inaccessible. Keep a verified password record before discarding the original file.

Can every AES-256-GCM application decrypt the resulting file?

No. Compatibility requires more than selecting AES-256-GCM. Both applications must agree on how the password becomes a key, which derivation parameters are used, how the GCM nonce and authentication tag are stored, and how the encrypted file is packaged. Use the same tool for decryption unless another application explicitly supports its format, and test recovery before relying on the encrypted copy.

References and verification

The behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools