AES-256 Text & File Encryptor
Encrypt text and files with AES-256-GCM and PBKDF2. All in your browser, no servers. Your data never leaves your device.
Text & File Encryptor
AES-256-GCM · PBKDF2 · 100% in browser
Encrypt above → appears here. Or paste your ciphertext here → click Decrypt.
Built by
Miguel Ángel Colorado Marin
Built by
Miguel Ángel Colorado Marin
Full-Stack Developer · Guadalajara, España
I develop web apps, digital tools and full projects — from design to deployment.
How to use the AES-256 encryptor?
- 1
Choose text or file
Select the 'Text' tab to encrypt messages or text snippets, or the 'File' tab to encrypt any type of file (documents, images, etc.).
- 2
Enter your password
Type a strong password. The strength meter tells you if it's secure enough. Remember this password well: without it, encrypted data is unrecoverable.
- 3
Encrypt or decrypt
Click the Encrypt button to encrypt. For text you'll receive a Base64 string; for files an .enc file will be downloaded. To decrypt, enter the encrypted string (or .enc file) along with the same password.
- 4
Store encrypted data safely
Copy the encrypted text or save the .enc file in a safe place. You can share it without worry: without the password it's completely unreadable even with modern computing resources.
Frequently asked questions
What is AES-256-GCM?
AES-256-GCM is a symmetric encryption algorithm considered military-grade. 'AES' stands for Advanced Encryption Standard, '256' indicates the key size in bits, and 'GCM' (Galois/Counter Mode) is the mode of operation that also provides message authentication, detecting any tampering with the encrypted data.
What is PBKDF2 and why is it used?
PBKDF2 (Password-Based Key Derivation Function 2) is an algorithm that transforms a password into a secure cryptographic key by applying a hash function thousands of times. Here it uses 100,000 SHA-256 iterations, making brute-force attacks extremely slow even for attackers with powerful hardware.
What happens if I forget the password?
If you forget the password, the encrypted data is unrecoverable by design. This is precisely the security property that makes encryption useful: no one, not even the tool creator, can decrypt your data without the correct password.
Does it work for large files?
Yes, the tool uses the browser's native Web Crypto API which can handle files of any size. For large files it may take a few seconds to process. A warning is shown for files over 50 MB but it still works.
Is it safe to use this tool?
Yes. All encryption happens entirely in your browser using the standard Web Crypto API, the same API used by banks and HTTPS services. No data leaves your device. The source code is public on GitHub so anyone can audit it.
Embed the encryptor on your site
Embed this AES-256 encryptor in any web page with a simple iframe:
<iframe
src="https://miguelacm.es/embed/text-encryptor"
width="100%"
height="600"
frameborder="0"
title="AES Text Encryptor"
></iframe>View embed in new tab →