Skip to developer tool

Local File Encryption & Decryption

Protect files locally with AES-256-GCM, securely restore earlier .pkenc archives, and deliver independently encrypted files without uploads.

Private file workbench

Encrypt or unlock a copy. Your original files remain unchanged and nothing is sent to a conversion server.

AES-256-GCM · PKENC001
On-device processing

Any file type up to 50 MiB each. Your original files remain unchanged.

Select files to see the private processing queue.
0 Unicode characters · 0 UTF-8 bytes · 1,024-byte limit

Encryption requires at least 12 characters. Preserve the exact password separately. Unicode, spaces and letter case all matter.

Output & recovery

Files are prepared in your browser. Downloads require your action.

How to encrypt and decrypt a local file

  1. Choose Encrypt a file, select a file up to 50 MiB and enter the same strong password twice.
  2. Encrypt, then download the .pkenc file. Keep the password separately from the encrypted file.
  3. To restore the file, choose Decrypt a .pkenc file, select your downloaded file and enter the original password. Download the restored file after verification succeeds.

What is protected?

AES-256-GCM encrypts the original file bytes, filename and file type, and verifies integrity before releasing a restored file. A new random salt and nonce are generated for every encryption. Password keys use PBKDF2-SHA-256 with 600,000 iterations. The downloaded encrypted file has a generic name; its size is still visible.

Keep and review the encrypted download before relying on it

  1. Use your own small nonprivate practice file first and retain its original. Select Encrypt and enter/confirm a password according to the tool's requirements.
  2. Create and save the separate .pkenc file. This format is not an encrypted ZIP or a password-protected PDF.
  3. For your own verification workflow, switch to Decrypt, choose that downloaded .pkenc and enter the exact password. Spaces and letter case matter.
  4. Download the recovered file separately and compare its intended content with the retained original before relying on the workflow for important material.
  5. Keep your password independently. There is no password reset, and an incorrect password or modified file can both fail the integrity check.

Authored round-trip procedure, no encryption/decryption executed here. The tool neither overwrites nor securely erases originals, clipboard copies or other downloads. Use Checksum Calculator or File Compare for a separate byte-comparison step.

Secure client handoff and optional batch files

Select up to eight files. Each encrypted .pkenc uses its own fresh salt and nonce, even with the same passphrase. The ZIP option packages only ciphertext; the outer ZIP itself is not encrypted. Download the files, keep the password in a separate trusted channel, and test restoration from an actual saved ciphertext before deleting any original.

Formats and limits

This tool creates PixelOkay .pkenc format v1 files. Decryption supports files created by this tool; it does not unlock ZIP archives, PDFs, GPG or other encryption formats. Files are processed in memory with a 50 MiB source limit. Use a modern browser on HTTPS or localhost. Passwords are used exactly as entered, including spaces and letter case.

Reference: Web Crypto encryption API.

Frequently asked questions

Do my files leave my device?

No. File contents and passwords are only used locally by JavaScript and the browser's Web Crypto API. No encryption server or third-party library is required.

Can I recover a forgotten password?

No. There is no password reset or recovery key. Save your password securely and verify that you can decrypt your download before relying on it.

Why did decryption fail?

An incorrect password and a damaged or modified file both fail the integrity check. You must use the exact password and an intact .pkenc file created by this tool.

Does encryption change my original file?

No. This tool creates a separate download. It does not change or securely erase the original file.

Continue your workflow

A separate encrypted copy in this tool’s format

Choose encryption or decryption and the corresponding local input. Download the output separately and retain the original until you have reviewed the result.

Scope of this workflow

Decryption supports this tool’s .pkenc format, not arbitrary archives or PDF encryption. There is no password recovery and no secure erasure of the original.

File Checksum Calculator — SHA-256 & SHA-512 · All developer tools · Privacy policy · Contact PixelOkay