Home / Developer / Encrypt / Decrypt Text & Files

Encrypt / Decrypt Text & Files

Password-protect text or any file with AES-256-GCM, ChaCha20-Poly1305 or OpenSSL-compatible AES.

Free, no uploads, no sign-up. Runs 100% in your browser.

How Encrypt / Decrypt Text & Files works

A 256-bit key is derived from your password with PBKDF2-SHA256 and a random salt, then the data is encrypted with the Web Crypto API (AES) or @noble/ciphers (ChaCha20). OpenSSL mode matches openssl enc -aes-256-cbc -pbkdf2 so files open on the command line too.

Input: Any file. Output: OFENC, ENC, Base64.

How to use Encrypt / Decrypt Text & Files

  1. Open Encrypt / Decrypt Text & Files and paste or type your input.
  2. Results update instantly as you type.
  3. Tweak options such as format, indentation or algorithm.
  4. Copy the output or download it as a file.

Tips

  • Everything is computed locally. Safe for tokens, keys and private data.
  • Use Ctrl/⌘ + K to jump between developer tools quickly.

Encrypt / Decrypt Text & Files FAQ

Are my files uploaded?
No. This tool runs entirely in your browser tab. Files are read from your disk into memory and the result is generated locally.
Is it free? Are there limits or watermarks?
Free and open source (MIT). There are no file-size caps, daily quotas, accounts or watermarks.
Does it work offline?
Yes, once the page (and any engine it needs) has loaded, it keeps working without a connection thanks to the service worker cache.

Related tools

OpenFile runs in your browser. Turn on JavaScript to use the tools.