AES Encrypt & Decrypt
Guide: How Password Encryption Works (AES) and When to Use It
This uses AES-256 in GCM mode, with a key made from your password by PBKDF2 (600,000 rounds of SHA-256) and a fresh random salt each time. If you lose the password, nobody can recover the data, including us, because we never see it. Everything happens in your browser.
Nothing you enter or choose here leaves your device. This tool runs in your browser.
What happens when you press Encrypt
The tool turns your password into a 256-bit key and uses that key to scramble your text or file. Here are the pieces, in order:
- A random 16-byte salt is made. It makes sure the same password gives a different key each time.
- Your password and the salt go through PBKDF2 with SHA-256, repeated 600,000 times. This is deliberately slow, so guessing passwords costs an attacker a lot of time.
- A random starting value, called an IV, is made for this one message.
- The data is encrypted with AES-256 in GCM mode, which also adds a check value.
- The salt, IV, settings and encrypted data are packed into one result you can copy or save.
What GCM gives you
Plain encryption hides data, but it can't tell you if someone changed it. GCM adds an authentication tag. If even one character of the encrypted text is altered, or the password is wrong, decryption fails with a clear error instead of giving you quiet nonsense. That's why a failed decrypt can mean either a wrong password or damaged data.
The password is the weak point
AES-256 itself isn't going to be broken by guessing. Your password might be. An attacker who has your encrypted file can try passwords offline as fast as their hardware allows, and the 600,000 rounds only slow them down.
| Password | Strength | Verdict |
|---|---|---|
sunshine1 | Very weak | Cracked quickly from common-password lists |
Tr0ub4dor&3 | Weak | Looks complex, follows well-known patterns |
| 12 random characters | Good | A fair choice for most data |
| 5 or 6 random words | Good to very good | Easy to type and remember |
| 20 random characters | Excellent | Keep it in a password manager |
Generate one with the password generator and save it in a password manager.
Good uses
- Send a sensitive note or file by email or chat, and give the password by a different route, such as a phone call.
- Keep a private file in cloud storage that you don't want the provider to be able to read.
- Protect a backup of recovery codes.
- Learn how password-based encryption works.
Limits you should know
- No recovery. If you forget the password, nobody can open the data, including us. We never see it.
- Tool-specific format. The result opens with this tool, not with other programs. The format is simple, so the data isn't locked to us, but you shouldn't count on another app reading it.
- It doesn't hide that a file exists or how big it is.
- It can't protect a device that's already compromised. Malware on your computer can read your password as you type it.
- Use the same password for both sides. There's no key exchange, so you have to share the password safely.
Everything happens in your browser and nothing is uploaded. For the ideas behind it, see the guide to how password encryption works, and the hash generator for checking that a file arrived unchanged.
Written by Akinrinmade Michael · Updated October 24, 2026 · General information, not professional advice
How to use
- 1Choose Encrypt or Decrypt, and Text or File.
- 2Enter your text or choose your file, and type a password.
- 3Press the button, then copy the result or save the new file.
Frequently asked questions
Is my data uploaded?
No. Everything happens in your browser, and nothing is sent to us.
How strong is it?
It uses AES-256 in GCM mode. The key comes from your password through PBKDF2 with 600,000 rounds and a random salt. The encryption is very strong, so the password is the weak point. Use 12 or more characters.
What if I forget the password?
The data can't be recovered. Nobody can open it without the password, including us, because we never see it.
Will it notice if someone changes the encrypted data?
Yes. GCM adds a check value, so changing even one character makes decrypting fail with a clear message instead of giving back wrong text.
Can I open the result with another program?
Not directly. The format is specific to this tool, so keep using it to decrypt. It's a simple format, though, so the data isn't locked to us.
Read the guide
Learn how this works and how to get the most from it.
Security
How Password Encryption Works (AES) and When to Use It
What AES encryption does, why a password becomes a key, how to protect a message or file, and what you can't recover if you forget the password.
3 min read
Related tools
Password Generator
Create strong random passwords or passphrases, one or many at a time.
Hash Generator
Generate MD5, SHA-1, SHA-256 and SHA-512 hashes and HMACs.
Bcrypt Hash Generator & Checker
Generate bcrypt password hashes and check a password against a hash.
Base64 & URL Encoder / Decoder
Encode and decode Base64 and URL-encoded text instantly.