File & Text Encryptor

AES-256-GCM encrypt/decrypt with a passphrase — keys never leave the tab.

Encrypt and decrypt files or text with a passphrase using AES-256-GCM. Free, in-browser encrypt/decrypt tool — your password and keys never leave the tab.

About File & Text Encryptor

File & Text Encryptor is a free, browser-based tool that encrypts and decrypts text or any file with a passphrase using AES-256-GCM. It runs entirely on your device with the built-in Web Crypto API (with hash-wasm lazy-loaded only if you pick Argon2id), deriving the key from your passphrase via 200,000-iteration PBKDF2-SHA-256 or memory-hard Argon2id. Encrypting text gives you a self-describing base64 blob (optionally a standalone self-decrypting .html), and encrypting a file downloads a .tdec file — your data and passphrase are never uploaded, and there is no signup.

How to use File & Text Encryptor

  1. Choose Encrypt or Decrypt at the top, then pick Text or File as your input.
  2. Type a strong passphrase — the meter shows Weak/Fair/Strong, and there is no recovery if you forget it.
  3. When encrypting, optionally switch the key derivation between PBKDF2 (portable) and Argon2id (strongest); for decrypting, the right method is detected automatically from the blob.
  4. Paste your text or the base64 blob, or drag a file onto the drop zone (or click to choose one), up to 100 MB per file.
  5. Click Encrypt or Decrypt.
  6. Copy the base64 output, or use Download .tdec or Self-decrypting .html (PBKDF2 only); decrypted files download with their original name.

Frequently asked questions

Are my files or passphrase uploaded to a server?
No. Encryption and decryption happen entirely in your browser using the Web Crypto API, and your data and passphrase never leave the tab — nothing is uploaded.
Is it free and do I need an account?
Yes, it's completely free with no signup, account, or watermark.
What encryption does it use?
AES-256-GCM with a passphrase-derived key. The key comes from either 200,000-iteration PBKDF2-SHA-256 (portable) or memory-hard Argon2id (64 MiB, 3 passes — GPU/ASIC-resistant), each with a random 16-byte salt and 12-byte IV.
What happens if I forget my passphrase?
There is no recovery — the passphrase is the only key. If you lose it, the encrypted data cannot be decrypted, so use a long, unique passphrase you can retrieve.
What's the self-decrypting .html option, and what are the size limits?
When you encrypt text with PBKDF2, you can download a standalone .html that decrypts itself in any browser with no app or server. It isn't available with Argon2id. Text is limited to about 5 MB and files to 100 MB, since everything is held in memory.
What format are the encrypted outputs?
Encrypted text becomes a self-describing base64 blob (starting with a TDEC/TDE2 header) that you can copy or download as a .tdec file; encrypted files download as <name>.tdec, and decrypting restores the original filename.

People also search for

File & Text Encryptor is also known as encrypt decrypt file, encrypt decrypt text, encrypt decrypt tool, encrypt txt file, password protect a file, aes 256 encryption online, convert to encrypt.