Skip to content

Encrypt a file

You have a file not everyone should read: a payslip, a contract, a scan of your ID. Loclavis encrypts it with a password only you know. The encryption happens in your browser, and the file is not uploaded to do it.

Three steps

Choose a file, type or generate a password, press Protect. Then download the result. There is no step in between where you have to pick a method: Loclavis chooses the right one for your file type automatically.

What you get back

For an ordinary PDF you get a password protected PDF the recipient can open directly. For every other file type you get a protected file that you reopen with Loclavis later. In both cases the contents and the filename are encrypted.

What counts as a good password

Length beats complexity. Twenty random characters, or six random words, are effectively unguessable. If you are unsure, use the built in generator: it produces the password locally with your browser's random source and stores it nowhere.

If the password is lost

Then the file cannot be opened. Not by us either. There is no back door, no recovery code and no support process that gets around it. Write the password down somewhere safe, separate from the protected file.

What Loclavis does technically

Your password is turned into a key with Argon2id. The contents are encrypted with AES-256-GCM, in sections, so that even large files never have to sit in memory in full. If you want the details, they are on the security page.