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.
Output & recovery
Files are prepared in your browser. Downloads require your action.Verification decrypts the generated ciphertext and checks every restored byte against your selected source. It does not inspect the copy saved by your browser.
How to encrypt and decrypt a local file
- Choose Encrypt a file, select a file up to 50 MiB and enter the same strong password twice.
- Encrypt, then download the .pkenc file. Keep the password separately from the encrypted file.
- 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
- 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.
- Create and save the separate .pkenc file. This format is not an encrypted ZIP or a password-protected PDF.
- For your own verification workflow, switch to Decrypt, choose that downloaded .pkenc and enter the exact password. Spaces and letter case matter.
- Download the recovered file separately and compare its intended content with the retained original before relying on the workflow for important material.
- 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