[IS IT SAFE TO ENCRYPT FILES ONLINE?]
It depends entirely on where the encryption happens. Here is how to check.
Last updated
"Online" covers two very different things. Some tools upload your file to their server and encrypt it there — so the operator sees the file and the password. Others, including this one, run the encryption inside your browser, and the file never leaves your device. The first kind asks for your trust; the second can be checked.
Below is a checklist that works for any tool, a step-by-step test you can run on this site in two minutes, and the risks that no web page can remove — so you can decide when an installed program is the better choice.
[THE CHECKLIST]
| Check | Good sign | Warning sign |
|---|---|---|
| Upload | No request the size of your file in the Network tab | A progress bar labelled "uploading", or a large POST request |
| Offline | Still works after you disconnect | Fails or hangs without a connection |
| Algorithm | Named: AES-256-GCM, ChaCha20-Poly1305 | "Proprietary", "military-grade", or nothing stated |
| Password to key | PBKDF2 (hundreds of thousands of rounds), scrypt or Argon2 | Not documented |
| Format | Documented, so others can write a decrypter | Only this website can ever open your file |
| Operator | Named person or company, privacy policy, contact address | Anonymous, or asks for payment to "unlock" a file |
| Connection | HTTPS, padlock shown | Plain HTTP: anyone on the network can alter the page's code |
[TEST THIS SITE YOURSELF]
You do not have to take any of the claims on this site on trust. In Chrome, Edge or Firefox on a computer:
- Open the home page and press F12 (on a Mac, Cmd+Option+I) to open the developer tools.
- Select the Network tab and click the clear button so the list is empty.
- Encrypt a test file of a few megabytes with a password.
- Look through the list. You will see small requests from analytics and error reporting, but none with a size close to your file, and none whose payload contains your password. Click a request and open Payload to inspect what it sent.
- For a stronger test, reload the page, turn off Wi-Fi or tick Offline in the Network tab's throttling menu, then encrypt and decrypt a file. Both work, because nothing needs the server once the page has loaded.
The page's JavaScript is also readable in the Sources (Chrome) or Debugger (Firefox) tab, and the file layout is published in the .enc format specification, so a CryptFile file can be decrypted without this website.
[HOW THE PASSWORD BECOMES A KEY]
Passwords are short; keys are 256 bits. A good tool stretches the password with a deliberately slow function so that each guess costs an attacker real time. This site uses PBKDF2-SHA256 with 600,000 iterations and a random 32-byte salt per file — the iteration count OWASP currently recommends for PBKDF2-SHA256.
Key stretching multiplies the cost of every guess; it cannot rescue a password that is near the top of a leaked-password list. Rough guide: a random 12-character password with mixed character types, or four to five random dictionary words, is out of reach. A name plus a year is not. If in doubt, choose Generate random key and keep the key in a password manager.
[RISKS A WEB PAGE CANNOT REMOVE]
- Code delivered on every visit. A web page's code is downloaded each time. A tool that is client-side today could be changed tomorrow, by its author or by someone who compromised the site. You trust it each time you use it, not once.
- Other scripts on the page. Most free sites, this one included, run analytics, ads and error reporting in the same page. Browsers do not wall these off from the tool. The privacy policy lists what this site loads; the Network tab test above shows what is actually sent.
- Browser extensions. An extension with permission to "read and change data on all websites" can read anything you type into any page, including passwords. Use a browser profile with no extensions, or a private window where extensions are disabled, for sensitive files.
- Shared or managed computers. On a work or school machine, endpoint software may record files and keystrokes, and downloads may sync to company storage. Encrypt sensitive personal files on your own device.
- The unencrypted original. Encrypting produces a new file; the original stays on your disk, in your Downloads folder, and possibly in a cloud-synced folder. Delete it if it should not remain.
[WHEN TO USE AN INSTALLED TOOL INSTEAD]
For occasional files — sending a contract, protecting a scan before a cloud upload — a client-side web tool that passes the checks above is a reasonable choice. Prefer installed, open-source software when:
- a leak would be catastrophic (legal, medical, source code under NDA),
- you encrypt the same kind of data every day and want code that does not change between uses,
- you need a whole folder or drive protected, not a single file.
7-Zip (AES-256 archives), VeraCrypt (encrypted volumes) and GnuPG (gpg -c) are the usual free choices; how to encrypt a file walks through each, along with the encryption built into Windows and macOS.
[FREQUENTLY ASKED QUESTIONS]
Does CryptFile.Online upload my files?
No. Encryption and decryption run in your browser with the Web Crypto API. You can confirm it in the Network tab of your browser's developer tools, or by going offline after the page loads.
Is client-side encryption as strong as desktop software?
The cryptography is the same: browsers implement AES-GCM, HKDF and PBKDF2 natively. The difference is trust in how the code is delivered, explained above, not the strength of the encryption.
Can the website operator see my password?
Not with a client-side tool: the password is used in your browser to derive the key and is never transmitted. With a tool that uploads files, assume the operator can see both the file and the password.
Is it safe to encrypt files online on a phone?
Yes, with the same checks. Mobile browsers have the same Web Crypto API. The practical limits are memory for very large files and that testing the Network tab is harder on a phone, so run the test once on a computer.