Image Encryption

Encrypt any image with AES-256-GCM and a password. The encrypted file can only be opened with the correct password. All processing happens in your browser — nothing is uploaded.

500+ images encrypted

Drag & drop a file here, or

JPG PNG WebP GIF BMP AVIF TIFF .enc Max 100MB • Processed in browser • Nothing leaves your device

AES-256-GCM

Military-grade encryption using the same standard trusted by governments and financial institutions. AES-256-GCM provides both confidentiality and authenticity — tampered files are automatically rejected during decryption.

PBKDF2 Key Derivation

Your password is strengthened through 600,000 iterations of PBKDF2-SHA256 with a unique random salt. This makes brute-force attacks computationally impractical even against short passwords.

100% Client-Side

Encryption and decryption happen entirely in your browser using the Web Crypto API. Your images and passwords never leave your device — no server uploads, no logs, no data retention.

Why encrypt images with AES-256?

AES-256-GCM is the gold standard for symmetric encryption — trusted by governments, banks, and security professionals worldwide. When you encrypt an image, the pixel data and embedded metadata are transformed into an unreadable ciphertext that can only be recovered with the correct password. This goes far beyond simply stripping metadata with the EXIF Remover — encrypted files are cryptographically unrecoverable without the key. For journalists, investigators, and anyone handling sensitive visual evidence, image encryption adds a critical layer of protection during storage and transfer. To assess what metadata your photos already expose, start with the EXIF Checker.

PBKDF2 key derivation and brute-force resistance

A password alone is too short and predictable to serve as an encryption key directly. PBKDF2 (Password-Based Key Derivation Function 2) stretches your password through 600,000 rounds of SHA-256 hashing with a unique random salt, producing a 256-bit key that resists dictionary and brute-force attacks. Each encrypted file uses a different salt and initialization vector, so encrypting the same image with the same password produces a different ciphertext every time. This is the same approach used by password managers and full-disk encryption tools. For verifying file integrity without encryption, the File Hash Scanner generates MD5, SHA-1, and SHA-256 checksums.

Client-side encryption and zero-knowledge privacy

Unlike server-side encryption services, this tool processes everything in your browser using the Web Crypto API — your images and passwords never leave your device. There is no server upload, no temporary storage, and no third-party key escrow. This zero-knowledge architecture means even the service operator cannot access your data. The same privacy-first approach powers all 76 Scanly tools, including the Privacy Score checker that evaluates what personal information your photos reveal. For protecting faces in images before sharing, the Face Blur tool offers automatic detection and blurring, and the Redaction Tool lets you permanently black out any region.

Encrypt vs. strip: choosing the right protection

Encryption and metadata stripping solve different problems. The EXIF Remover strips GPS coordinates, camera serial numbers, and timestamps so the image can be shared safely — but the image itself remains visible. Encryption hides the entire image behind a password, making the file unviewable without decryption. Use metadata stripping when sharing photos publicly; use encryption when storing sensitive images or transferring them through untrusted channels. For a complete privacy workflow, check the GPS Map to visualize embedded location data before deciding which approach you need. Learn more in our articles on image encryption guide and photo privacy guide.

Frequently Asked Questions

How do I encrypt an image with a password online?

Upload any image (JPEG, PNG, WebP, GIF, BMP, AVIF, or TIFF), set the mode to Encrypt, enter a password, confirm it, and click Encrypt Image. The tool produces a .enc file that you download. The encrypted file is unreadable without the correct password. All encryption happens in your browser — nothing is uploaded to any server.

What encryption algorithm does this tool use?

AES-256-GCM (Advanced Encryption Standard with 256-bit key in Galois/Counter Mode). The key is derived from your password using PBKDF2 with 600,000 iterations of SHA-256 and a random 16-byte salt. Each encryption uses a unique 12-byte initialization vector, so encrypting the same image twice with the same password produces different ciphertext.

How do I decrypt a .enc file back to the original image?

Switch the mode to Decrypt, upload the .enc file, enter the same password used during encryption, and click Decrypt File. The tool recovers the original image with its original filename and format. If the password is wrong or the file has been tampered with, decryption will fail with an error message.

What happens if I forget my encryption password?

The encrypted file cannot be recovered without the password. There is no password reset, no recovery key, and no backdoor — this is by design. The tool runs entirely in your browser and never stores or transmits your password. Write your password down in a secure location or use a password manager.

Is my image uploaded to a server during encryption?

No. All encryption and decryption happens 100% client-side using the Web Crypto API built into your browser. Your image, password, and the encrypted output never leave your device. There are no server logs, no temporary storage, and no network requests during the process.

What is the maximum file size I can encrypt?

The tool supports files up to 100 MB. The encrypted output is slightly larger than the original (28 bytes of header plus the original filename length and a 16-byte authentication tag). Processing time depends on file size and your device — most images encrypt in under 2 seconds. Very large files may take a few seconds for the PBKDF2 key derivation step.