Initializing, please wait a moment

Choose a file, type a password, and click Encrypt to download a protected copy with a .enc extension; click Decrypt on a .enc file with the same password to get the original file back under its original name.

Need a strong password first? Generate one with the password generator.

File Encryption Tool


Encrypt or decrypt a file with a password, right in this browser - no upload, no app to install.


Key features

  • Reads the file you choose with the browser FileReader and never uploads it to a server.
  • Derives an encryption key from your password with WebCrypto PBKDF2 (250,000 rounds) plus a fresh random salt, entirely in the browser.
  • Encrypts the file with AES-256 (WebCrypto AES-GCM) using a fresh random IV generated in the browser for every run.
  • Decrypts a .enc file back to the original with WebCrypto AES-GCM when you supply the same password.
  • Builds the protected copy as a downloadable file in the browser, with no server round-trip.

When to use it

Reach for it when you need to protect a single file with a password before storing or sharing it, and you would rather not upload the file or install an app. The file is opened locally in your browser and never leaves the device, so it suits sensitive documents you want to keep off any server.


Encrypt and decrypt

ActionYou provideYou get back
EncryptAny file plus a passwordA protected copy with a .enc extension
DecryptA .enc file plus the same passwordThe original file under its original name

Encrypting the same file with the same password twice produces two different .enc files, because a fresh random salt and IV are used every time - that is expected, not a bug.


Privacy

Everything runs in your browser: the file is read locally with FileReader, the key is derived from your password, and the encrypted or decrypted result is built as a download with no server round-trip. Your file and your password are never uploaded.


How the encryption works

The file is scrambled with AES-256 using a key derived from your password (PBKDF2, 250,000 rounds) plus a fresh random salt and IV every time. The .enc file carries a small 32-byte header - a tag plus that fresh salt and IV - in front of the scrambled data, and your original filename is encrypted inside the data too, so Decrypt can restore the exact filename without it ever being stored outside the encrypted file.

A wrong password, or a .enc file that was edited or corrupted, is refused with a plain error message instead of producing a broken or garbage file.

← Back to Developer Tools

Related tools:

  • MD5 converter - Text to MD5 + MD5 to text cached lookup.
  • Convert PDF to TEXT online - Extract text from PDF online for copying and editing.
  • Text To HTML Editor - Text to HTML editor online - write in a WYSIWYG view and watch the generated HTML update live, with
  • CSS Gradient Animator Generator - CSS gradient generator - build animated linear gradients with live preview; copy ready-to-paste CSS
  • CSS Minifier - Minify CSS online for faster page loads.
  • CSS UnMinifier - CSS unminifier online - beautify minified CSS with proper indentation, line breaks, and readable
  • JavaScript Minifier - JavaScript minifier online free - paste your JS, click Minify, and copy the compressed code.
  • JSON Parser By Tree View - Paste JSON to validate, format, and view it in a tree.
  • JavaScript UnMinifier - JavaScript unminifier online - reformat minified JS with indentation and line breaks for
  • Keyboard Test - Press each key - the on-screen layout highlights it.
  • Text Diff - Compare code, text, or HTML online, side by side.
  • Developer Tools - Developer tools to parse JSON, minify or unminify CSS/JS, compare text, and generate MD5 hashes.

Tags: #developer

Related guides:

Loading reviews...

Frequently Asked Questions

What does File Encryption Tool do?

Encrypt or decrypt a file with a password, right in this browser - no upload, no app to install.

When should I reach for file encryption tool?

The file is scrambled with AES-256 using a key derived from your password (PBKDF2, 250,000 rounds) plus a fresh random salt and IV every time, so encrypting the same file twice with the same password produces two different .enc files - that is expected, not a bug.

What complementary tools work well alongside file encryption tool?

There is no password recovery: this tool does not store your password anywhere, so a lost password makes the encrypted file permanently unrecoverable - write it down somewhere safe before you close this tab.