LogMeOnce
DownloadAbout
Free Security Tool · No Registration

File Encryption Tool

Encrypt a local file without uploading it. The maximum selected input is 25 MiB, or 26,214,400 bytes.

Use the File Encryption Tool

Encrypt files locally within a 25 MiB file-size limit.

Interactive tool controls

Maximum 25 MiB of plaintext. Files stay in this browser and are never uploaded. The original filename remains readable as authenticated metadata in the encrypted file.

Do not reuse a real password you rely on. Clear the field when finished.

Do not reuse a real password you rely on. Clear the field when finished.

Ready.

← View All Free Tools

What Is a File Encryption Tool?

File encryption turns a file into an unreadable copy that only the correct key can restore; this tool derives the key from your passphrase.

How to Use This Tool

  1. Select a file within the 25 MiB limit.
  2. Enter and confirm a strong passphrase.
  3. Encrypt and download the versioned encrypted file.
  4. Test decryption before deleting any original.

How It Works

The file bytes are encrypted with AES-256-GCM and a 128-bit tag. PBKDF2-SHA256 uses 600000 iterations and a fresh random 16-byte salt to derive a 256-bit key, and encryption uses a fresh random 12-byte nonce. The versioned envelope retains version, algorithm, KDF, iteration count, salt, nonce, and tagged ciphertext. The original filename is authenticated but not encrypted; it remains readable in the header so the paired decryptor can restore the download name. The decryptor accepts 25 MiB of plaintext plus the format overhead.

Benefits and Use Cases

  • Protect file contents independently of storage location.
  • Detect modification when the file is decrypted.
  • Keep the original file unchanged during download.

Security Best Practices

  • Keep the passphrase separate from the encrypted file.
  • Avoid sensitive original filenames because filename metadata is not encrypted.
  • Retain an original until a decryption test succeeds.

How Do I Read the Results?

Download the .lmoenc copy and keep the passphrase in your secure vault; delete the original only after testing decryption.

Assumptions and Limitations

Large files are limited by browser memory; lost passphrases cannot be recovered.

Related LogMeOnce Resources

Sources and Further Reading

Frequently Asked Questions

Is the original file overwritten?

No; encryption creates a separate download and should not silently replace the original.

Can I encrypt every file type?

The byte-oriented process does not require a particular file type, but the selected file must meet the size limit.

Does encryption hide the original filename?

No; the filename is authenticated metadata but is not encrypted. File contents are encrypted.

Is the filename necessarily private?

No; downloaded filenames and file sizes can reveal information even when content is encrypted.

Can a lost passphrase be reset?

No; resetting a website password cannot recover a locally derived encryption key.

Published by LogMeOnce. Last updated November 27, 2026.

Keep your accounts easier to protect

Store generated credentials in your secure vault and simplify safer sign-ins with LogMeOnce.

Create a free LogMeOnce account