NinjaFunction (Ninja Function) logo

File Encryptor

Lock any file with a password using AES-256 encryption, and open it again later. Private, done in your browser.


Choose a file to protect with a password

Drag and drop a file here, or click the button. Any file type, up to 200 MB. To open a file made here, choose it too.

Your file and your password stay on your device. Everything is done in your browser and nothing is uploaded.

About This Tool

NinjaFunction's File Encryptor locks any file with a password using AES-256-GCM encryption, with the key made from your password by PBKDF2 (600,000 rounds). Choose a file, set a password or let the tool make a strong one, and download the locked file. To open it again, choose the locked file and type the password. The original file name is locked inside too, and any change to the file is detected. Your file and password never leave your browser.

🔑 How to Use

  1. Choose the file you want to protect. Any type works.
  2. Pick a password, or let the tool make a strong one for you. Type it twice.
  3. Press Lock the file and download the result, which ends in .nfenc.
  4. To open it later, choose the .nfenc file on this page, type the password and press Open the file.
  5. Delete the original only after you have saved the password and tested that the locked file opens.

💡 Pro Tips

  • ✔ Use a password manager. A long random password is much stronger than a word you can remember, and the manager remembers it for you.
  • ✔ Test it first. Open the locked file once before you delete the original.
  • ✔ Send the password separately, for example by phone or in another app, not in the same message as the file.
  • ✔ Need a strong password? Use the Password Generator.

What Is Used Under the Hood

PartWhat it isWhy it matters
AES-256-GCMThe encryption that locks the fileStrong, and it also detects any change to the file
PBKDF2, 600,000 roundsTurns your password into the keyMakes guessing passwords very slow
Random salt and IVMade fresh for every fileThe same file and password give a different result each time
Your browserDoes all the workNothing is uploaded, so nobody else sees your file

Frequently Asked Questions

Is my file or password uploaded to a server?

No. The file is locked and opened inside your browser using the encryption built into it. Your file and your password never leave your device, and we cannot read them.

How strong is the protection?

The file is locked with AES-256-GCM, the same kind of encryption used by banks and password managers. The key comes from your password through PBKDF2 with 600,000 rounds, which makes guessing very slow. The real limit is your password, so a long and random one is best.

What if I forget the password?

The file cannot be opened. There is no reset and no back door, because we never have the password. Save it in a password manager before you delete the original file.

How do I open a locked file?

Come back to this page, choose the file that ends in .nfenc, type the password and press Open the file. The original name and content come back exactly as they were.

Can the person I send it to open it?

Yes, if they use this page and know the password. The locked file is a special format, so it does not open in normal programs. If you need a file that opens in other software, a password protected ZIP or PDF is a better fit.

Is the file name hidden?

Yes. The original name is locked inside the file and comes back when you open it. The size of the file is still visible, roughly, because it is only slightly bigger than the original.

What happens if the file is changed or damaged?

It will not open, and you will see a message that the password is wrong or the file has been changed. This is a safety check built into the encryption, which makes sure no one has altered the file.

Is there a size limit?

Files can be up to 200 MB, because the whole file is held in your browser memory while it is locked. Very large files can be slow on a phone.

Always FreeAll tools are 100% free to use.
No Sign UpNo registration or login required.
Blazing FastInstant results, always.