AES-256 is the Advanced Encryption Standard used with a 256-bit key. It is a symmetric cipher, meaning the same key locks and unlocks the data, and it is the most widely trusted encryption method in use today: it protects web traffic, Wi-Fi, disk encryption such as BitLocker, encrypted ZIP files and most file encryption software. There is no known practical way to break AES-256 itself. When encrypted files are broken into in the real world, it is almost always because of a weak password, a stolen key or an unencrypted copy left lying around, not a flaw in AES.
This guide explains what AES-256 is in plain English, what the numbers mean, and what actually determines whether your encrypted files are safe.
Where AES came from
In the late 1990s, the US National Institute of Standards and Technology (NIST) ran an open, public competition to replace the aging Data Encryption Standard (DES). Cryptographers from around the world submitted designs and spent years trying to break each other's. The winner was a cipher called Rijndael, designed by two Belgian cryptographers, Joan Daemen and Vincent Rijmen. NIST published it as the Advanced Encryption Standard in 2001.
That open process is a big part of why AES is trusted. It has been studied intensely by researchers for more than two decades, and the US government approves it for protecting classified information, including at the TOP SECRET level when used with 192 or 256-bit keys.
How AES works, without the math
AES is a block cipher. It takes data in blocks of 128 bits (16 bytes) and transforms each block through a series of rounds. Each round substitutes bytes, shifts and mixes them, and combines the result with part of the key. After all the rounds, the output looks completely random, and changing a single bit of the input or key changes about half the bits of the output.
The number of rounds depends on the key size:
| Variant | Key length | Rounds | Possible keys |
|---|---|---|---|
| AES-128 | 128 bits | 10 | 2 to the power of 128 |
| AES-192 | 192 bits | 12 | 2 to the power of 192 |
| AES-256 | 256 bits | 14 | 2 to the power of 256 |
Because files are much bigger than 16 bytes, AES is used in a mode of operation that chains blocks together. Common modes include GCM, which also detects tampering, and XTS, which BitLocker uses for disks. You rarely need to choose a mode yourself; good software picks a sound one for you.
What the "256" really means
The 256 is the length of the key in bits. A 256-bit key can have 2 to the power of 256 values, a number with 78 digits. Trying every possible key is not just slow; it is beyond any conceivable computer, even with every computer on Earth working on it for longer than the age of the universe.
AES-128 vs AES-256
AES-128 is also considered secure today, and no practical attack exists against it either. AES-256 adds a much larger safety margin. That matters most for long-term protection: a quantum computer, if large ones are ever built, could in theory speed up key searching enough to halve the effective strength of a key. AES-256 would still offer about the strength of AES-128 today, which is why it is often recommended for data that needs to stay secret for many years. On modern PCs, AES-256 is barely slower than AES-128, because processors have built-in instructions that accelerate AES.
Your password is the real key
When you encrypt a file "with a password", the software does not use your password directly as the AES key. It runs the password through a key derivation function, which turns it into a 256-bit key and deliberately makes the process slow, so that each password guess costs an attacker time.
This is where most of the real-world risk lies. An attacker who cannot break AES will instead try passwords: common passwords, dictionary words, names with years, leaked passwords from other sites. If your password is "Summer2025!", the size of the AES key does not matter, because the password will be guessed long before anyone thinks about the key.
So in practice:
- A long, unique password or passphrase is what makes AES-256 strong for your files.
- Slow password checking in the software makes guessing much harder.
- A recovery key, kept safely, protects you from losing access without weakening the encryption.
Document Key includes a strength meter and a password generator for exactly this reason: the generator produces long random passwords, and the meter warns you before you settle on one that is easy to guess. Our guide to creating a strong password for encryption shows how to choose one you can remember.
What AES-256 does not protect you from
- Unencrypted copies. The original file in Downloads, an email attachment or an old backup is not protected by the encrypted version.
- Files while they are open. When you decrypt a file to work on it, it is readable on your PC until you close or re-lock it.
- Malware on your PC. A keylogger can capture the password as you type it.
- Weak older formats. Not everything labeled "password protected" uses AES. Old ZIP encryption (ZipCrypto) is weak; see is ZIP password protection secure?
Where you already use AES
You probably rely on AES dozens of times a day without noticing. It secures HTTPS connections to websites, WPA2 and WPA3 Wi-Fi, BitLocker and Device Encryption on Windows, password-protected Office documents in current versions, AES-encrypted ZIP files, and most messaging apps.
File encryption software uses it too. Document Key encrypts files, folders, vault drives and share packages with AES-256 and a key made from your password. Wrong password guesses are slowed down, so brute-force guessing is impractical, and a recovery key protects against a forgotten password. If you are comparing tools, look for AES-256 or another standard, well-studied cipher, and be wary of anything using its own home-made encryption. Our guide to choosing file encryption software for Windows covers what else to check.
"Military-grade encryption" in marketing usually just means AES-256. It is a good sign, but it is the baseline, not the whole story. How the software handles passwords, keys and leftover copies matters just as much.
Frequently asked questions
Can AES-256 be cracked?
There is no known practical attack on AES-256 itself, and trying every key is far beyond any computer. Real-world attacks target weak passwords, stolen keys or unencrypted copies instead.
Is AES-256 better than AES-128?
Both are considered secure. AES-256 has a larger safety margin, including against future quantum computers, and costs very little extra speed on modern PCs.
What does the 256 mean?
It is the length of the key in bits. A 256-bit key has 2 to the power of 256 possible values.
