[DECRYPT & ENCRYPT FILES & TEXT ONLINE]

Client-Side File & Text Encryption Tool - Zero Uploads, Complete Privacy

ENCRYPT_FILE_ONLINE_v1.0.0

[1] SELECT FILE

[2] CHOOSE ENCRYPTION ALGORITHM

[4] ENCRYPT FILE

[ENCRYPT A FILE IN YOUR BROWSER]

The tool above turns any file into an encrypted .enc file that you can email, store in the cloud or copy to a USB stick. Only someone with the password or key can turn it back. The encryption runs in this page, on your device: there is no account, no upload and no watermark.

  1. Choose the file. Click the drop zone or drag one or more files onto it. Any type works: PDFs, Office documents, photos, video, ZIP archives, database dumps. Several files are encrypted one by one with the same password or key.
  2. Pick the algorithm. Keep AES-256-GCM unless you have a reason not to; ChaCha20-Poly1305 is the alternative for older phones without AES hardware. Both are authenticated, so any change to the encrypted file is detected later.
  3. Decide how the key is made. A random 256-bit key, a password, or a key you already have (see the table below).
  4. Encrypt. The file is encrypted in 2 MB pieces. The result is assembled in your browser's memory, so files up to a few hundred megabytes work well; above about 1 GB (less on a phone) the tab can run out of memory.
  5. Save the .enc file and the key separately. Store the password or key in a password manager. Nobody, including this site, can recover a file whose key is lost.

Password, random key or your own key

Key methodStrengthWhat you must keep
Random 256-bit keyCannot be guessed or brute-forcedThe key itself (44 characters), stored safely
PasswordAs strong as the password: PBKDF2-SHA256, 600,000 iterations, random saltThe password
Your own keyAs strong as the key you supply (64 hex or 44 Base64 characters)The key, from your own key management

Compression

Tick "compress before encrypting" for documents, text, code and uncompressed images: they often shrink by a third or more. It does nothing for video, JPEG photos or ZIP files, which are already compressed, so leave it off for those. If compression does not make the file smaller, the tool skips it on its own.

PDFs and Office documents

Encrypting a PDF here is not the same as a PDF password. A PDF password lives inside the document, so any PDF reader can ask for it; set one in your PDF editor, or for free in LibreOffice via File > Export as PDF > Security. An .enc file can only be opened by decrypting it here first, but it works the same for every file type and supports random keys. Use the PDF or Office password when the recipient must open the document directly, and an .enc file for backups and transfers. For Word files, the Word document guide compares the two in detail.

[DECRYPT A FILE ONLINE]

Switch the tool to [DECRYPT], choose the .enc file and enter the password or key it was encrypted with. The decrypter reads the algorithm, key method, salt and original file name from the file's header, so you never have to remember which settings were used. It checks the file's authentication tags as it goes: a file that was cut short or modified is rejected instead of producing a damaged copy.

Like encryption, decryption happens in your browser. Neither the encrypted file nor the password is sent anywhere, so it is safe to decrypt confidential files here. You can even load the page, disconnect from the internet, and then decrypt.

Which files this decrypter opens

Your fileWhere to decrypt it
A .enc file made on this site (any algorithm, compressed or not, old v1 or current v2 format)Here, in the [DECRYPT] tab
A message or share link made on this siteText encryption and decryption
A file from the OpenSSL enc command, or text starting with U2FsdGVkX1 (CryptoJS)OpenSSL decrypter
A WeChat .dat imageWeChat .dat to JPG
Anything else with .enc or an unknown extensionIdentify the program first

When decryption fails with the right password

  • A hidden space. Passwords copied from an email or a chat often carry a trailing space or line break. Type the password by hand once.
  • A different keyboard. A password typed on an AZERTY keyboard and retyped on QWERTY (or on a phone with autocorrect) is not the same password.
  • Key versus password. A file encrypted with a random key needs that key pasted in the key field; a password will not work, and the other way round. The tool tells you which one the file needs.
  • A damaged file. Some email gateways and chat apps cut or alter attachments. Compare the file size with the original, or send it again as a ZIP or through a file-transfer service.

What no online decrypter can do

A file decrypter can only reverse an encryption it understands, and only with the key. No website can decrypt files locked by ransomware, DRM-protected video, WhatsApp backups, or files whose password is lost; sites that promise this either fail or want something from you. The guide to decrypting encrypted files explains how to find the program that made a file and what can still be done.

[WHY IT RUNS IN YOUR BROWSER]

Most online encryption services ask you to upload the very file you want to protect, then send it back encrypted. For that moment the plain file, and often your password, sit on a server you do not control. Here the page is downloaded once and everything happens in your browser with its built-in cryptography (the Web Crypto API) and the open-source @noble/ciphers library.

To check it yourself: open your browser's developer tools (F12, or right-click > Inspect), go to the Network tab, then encrypt a file. You will see page assets, analytics and ad requests, but no request carrying the file, its name or your password. Analytics only records that an action happened, such as "file encrypted", and the algorithm used. The privacy policy lists exactly what is collected, and this checklist explains what to look for on any encryption site.

The encrypted files use a documented format, so they are not locked to this website: with the specification, anyone can write a program that decrypts them.

[FREQUENTLY ASKED QUESTIONS]

Is it safe to encrypt or decrypt files on a website?

Only when the work happens in your browser, as it does here: the file, the password and the key stay on your device. Services that ask you to upload the file decrypt or encrypt it on their server, where the operator could keep a copy. You can check any site yourself in the Network tab of your browser's developer tools.

Can this site decrypt a file encrypted by another program?

Two other formats, yes: files made with the OpenSSL enc command or CryptoJS (on the OpenSSL page), and WeChat .dat images (on the WeChat page). Anything else must be opened with the program that encrypted it. The file identifier tells you which one that probably is.

What happens if I lose the password or key?

The file cannot be decrypted, by you, by this site or by anyone else. There is no reset link because the site never has your key. Keep keys and passwords in a password manager, not next to the encrypted file.

Is there a file size limit?

There is no fixed limit, but the encrypted or decrypted result is held in your browser's memory until you download it. Files of a few hundred megabytes work well on a computer; above about 1 GB, or less on a phone, the tab can run out of memory. For very large files, use an installed tool such as 7-Zip or VeraCrypt.

Should I use a password or a random key?

A random 256-bit key cannot be guessed, but you must store it. A password is easier to keep, and it is stretched with PBKDF2 at 600,000 iterations to slow down guessing, but a short or common password can still be found. Use a long passphrase of several unrelated words if you choose a password.

Is the file name hidden too?

No. The original file name is stored readable in the header so that decryption can restore it, and the downloaded file is called "name.ext.enc". If the name itself is sensitive, rename the file before you encrypt it, or put it in a ZIP archive with a neutral name first.