Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Security & Privacy

File Encryption (AES-GCM)

Lock a file with a password, or open a file this tool encrypted earlier. A 256-bit key is derived from your password with PBKDF2-SHA256, then the file is sealed chunk by chunk with AES-256-GCM behind a versioned header so large files never need to fit in memory twice. Nothing is uploaded and there is no key escrow.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

Drop a file here, or browse

Files stay on your device.

Ctrl+V to paste an image

    Options

    The same passphrase is needed to decrypt. It is never stored or sent anywhere, and it cannot be recovered if forgotten.

    Drop a file above to begin

    Your file are processed on this device and never uploaded.

    How it works

    Encrypting and decrypting a file

    Pick Encrypt to seal a file into a .tbenc container, or Decrypt to open one this tool wrote earlier. A 256-bit key comes from your passphrase through PBKDF2-SHA256 at 600,000 iterations, and the bytes are sealed with AES-256-GCM. The encrypted copy is named after the original with .tbenc appended.

    Inside the .tbenc container

    A 40-byte header carries the magic TBFENC, a version, the KDF id, the iteration count, the 64 KiB chunk size, a random salt and a nonce prefix. Records follow, each with a flag byte, a length and GCM ciphertext plus tag. The header and counter are authenticated, so edits or truncation fail.

    Memory and streamed chunks

    Files are read and sealed 64 KiB at a time, so peak memory tracks the file rather than doubling it, and there is no hard size limit beyond free RAM. Because the final-chunk flag is authenticated, a cut-short file is rejected instead of decrypting to a silent prefix.

    Options and when to use it

    Direction switches between encrypt and decrypt, and the passphrase field is required for both. Reach for it when a file must cross an untrusted channel such as email or a shared drive, or when a backup should rest on disk unreadable by anyone else.

    Privacy and the lost-password rule

    The Web Crypto API does the work in your browser tab or worker, the page makes no network requests, and nothing is stored between visits. There is no escrow, so a forgotten passphrase leaves the file permanently unreadable.

    Questions

    What exactly is inside a .tbenc file?

    A 40-byte header (the ASCII magic "TBFENC", a format version, a KDF identifier, the PBKDF2 iteration count, the chunk size, a 16-byte salt and an 8-byte nonce prefix) followed by records of flag byte, length and AES-256-GCM ciphertext with its authentication tag. The header lets the format evolve without breaking files written by older versions.

    I forgot the password — can you recover my file?

    No. There is no backup, no recovery hint, no key escrow and no server. A lost passphrase means the file is permanently unreadable, by design.

    Can another program open a .tbenc file?

    No. The container format is specific to this tool, so decrypt with this tool. If you need an interoperable format, use a standards-based tool such as OpenSSL or GPG instead.

    Is there a file size limit?

    No hard limit. Files are read and encrypted 64 KiB at a time, so peak memory stays close to the file size instead of duplicating it. The practical ceiling is the free RAM of your device.

    Does my file or password leave my device?

    No. Encryption uses the Web Crypto API in your browser tab or worker, the page makes no network requests, and nothing is stored or remembered between visits.

    See category