AES-256 Text Decryptor
Decrypt and encrypt text with AES-256-GCM, with PBKDF2 key derivation, or decrypt CryptoJS and OpenSSL AES-256-CBC text, using the password you know.
Decrypt and encrypt text with AES-256, Caesar, Vigenère and more, privately in your browser. Fast, free and no signup.
The most likely English result is marked. Click Use this shift to select it.
Add the encrypted text and choose the algorithm that was used.
Type the password, key or shift. It stays in your browser.
Click Decrypt text and copy the readable result.
Need to read an encrypted message, or protect a private note with a password? This free online text decryptor and encryptor does both, safely and privately in your browser. Paste your text, choose the algorithm, enter the password or key and get the result in one click. It supports modern AES-256-GCM encryption with a strong key derived from your password, AES-256-CBC text that is compatible with CryptoJS and OpenSSL (the Base64 text that starts with U2FsdGVkX1), and the classical ciphers that are popular for puzzles and learning: Caesar, ROT13, Atbash and Vigenère, including a Try all shifts button that solves a Caesar cipher without the key. Your text and your password never leave your device, because the tool uses the Web Crypto API that is built into your browser, and there is no signup, no upload and nothing to install.
Decrypt and encrypt text with AES-256-GCM, with PBKDF2 key derivation, or decrypt CryptoJS and OpenSSL AES-256-CBC text, using the password you know.
Solve and create Caesar, ROT13, Atbash and Vigenère ciphers instantly, and see every Caesar shift at once with the most likely English result highlighted.
The encryption runs on your device with the Web Crypto API. Nothing is uploaded, no password is sent anywhere, and no account is needed.
Decrypting text with this tool takes only a few seconds. Follow these steps to turn encrypted text back into a readable message.
Encryption is the process of scrambling readable text, called plaintext, into unreadable text, called ciphertext, with a mathematical algorithm and a secret key. Decryption is the reverse process, which turns the ciphertext back into the original text, and it needs the right key. The strength of the protection depends on the algorithm and on the secrecy of the key, not on hiding how the algorithm works. Modern, well-reviewed algorithms such as AES are public and have been studied by experts for many years, and they stay secure as long as the password or key is strong and kept private.
When you encrypt text with AES-256-GCM, the tool first turns your password into a 256-bit key with PBKDF2 using SHA-256 and 600,000 iterations, together with a random 16-byte salt. This makes guessing the password slow and gives every message a different key, even when the password is the same. The text is then encrypted with AES-GCM using a random 12-byte initialization vector (IV), which also creates a 16-byte authentication tag that protects the integrity of the message. The result is stored as Base64 text in this order: one version byte, the salt, the IV and the ciphertext with the tag. Because the salt and the IV are saved inside the text, you only need the password to decrypt it, and every encryption of the same text looks different.
Many websites and programs use CryptoJS or the OpenSSL command line to encrypt text with a passphrase, and the output is Base64 text that starts with U2FsdGVkX1, which is the Base64 form of the Salted__ header. To decrypt it, choose AES-256-CBC (OpenSSL / CryptoJS), paste the text and enter the passphrase. The tool reads the 8-byte salt after the header and derives the key and the IV in the way these programs do it, with the EVP_BytesToKey method. CryptoJS and OpenSSL versions before 1.1 use MD5 for this step, and OpenSSL 1.1 and newer use SHA-256, so the tool tries both automatically. Text that was encrypted with the PBKDF2 option of OpenSSL, with a raw key and IV, or with another mode such as ECB or CTR is not supported.
The Caesar cipher is named after Julius Caesar and shifts each letter by a fixed number of positions. For example, with a shift of 3, the word Hello becomes Khoor. Because the alphabet has only 26 letters, there are only 25 useful shifts, so the cipher can be solved by trying them all. The Try all shifts button shows the result for every shift and marks the one that looks most like English by comparing the letter frequencies. This works best for longer English texts, and a very short message may need a quick look at the list to find the right line. Numbers, spaces and punctuation are not changed.
ROT13 is the Caesar cipher with a shift of 13, and since the alphabet has 26 letters, running ROT13 two times gives back the original text. It is often used online to hide spoilers and puzzle answers. The Atbash cipher mirrors the alphabet, so A becomes Z, B becomes Y and so on, and it also reverses itself. The Vigenère cipher uses a keyword: each letter of the key gives the shift for the matching letter of the text, and the key repeats until the end. With the key LEMON, the text ATTACK AT DAWN becomes LXFOPV EF RNHR. Only letters of the English alphabet are changed, and the key can contain letters only.
These three terms are often mixed up. Encryption protects data with a key and can be reversed only by someone who has the key. Encoding, such as Base64 or URL encoding, only changes the format of data so that it can be stored or sent, and it is not secret, because anybody can decode it. Hashing, such as SHA-256, turns data into a fixed fingerprint that cannot be reversed, and it is used for checking integrity and storing passwords. If your text looks like random letters and numbers, it may be only Base64 encoded, and you can read it with the Base64 Encode / Decode tool, without any password.
For modern encryption such as AES-256, the answer is no. If the password is long and unique, there is no practical way to recover the text without it, and this is exactly what makes the encryption useful. A tool that promises to decrypt any text without a key is not telling the truth. The cases where decryption without the key does work are weak or classical ciphers such as Caesar, ROT13, Atbash and simple Vigenère, and passwords that are short, common or guessable. This also means that if you forget the password of text that you encrypted, it cannot be recovered, so keep the password in a safe place such as a password manager.
This tool is built so that the sensitive parts stay on your device. The text and the password are processed by the Web Crypto API inside your browser, and nothing is sent to our server, which you can confirm by opening the Network tab of your browser developer tools while you use it. No account is needed and no data is stored. As with every online tool, it is wise to use it on your own device and a trusted browser, and for information that is extremely valuable or secret, use specialized software that you can audit and control yourself.
Decode Base64 text with the Base64 Encode / Decode tool, decode web addresses with the URL Encoder / Decoder, escape special characters with the HTML Encoder, or tidy copied text with the Text Cleaner before you decrypt it.
Our free text decryptor makes it easy to decrypt and encrypt text with AES-256, CryptoJS and OpenSSL compatibility and the classical ciphers, from any device. There is nothing to install, no account to create and no data to upload. Paste your text, enter the key and get a private, instant result.
Find answers to the most common questions about decrypting text, AES and CryptoJS decryption, wrong password errors and the safety of classical ciphers.
A text decryptor is a tool that turns encrypted text back into readable text. You paste the encrypted text, choose the algorithm that was used, such as AES-256, enter the password or key, and the tool reverses the encryption. This text decryptor also encrypts, so you can protect a message with a password and decrypt it later. All the work is done in your browser with the Web Crypto API.
Not if the text was encrypted with a modern algorithm such as AES-256. Without the correct password, strong encryption cannot be broken in any practical time, and no online tool can do it. Only weak classical ciphers, such as the Caesar cipher, can be solved without the key, because there are very few possible keys, which is why this tool has a Try all shifts button for Caesar.
Choose AES-256-CBC (OpenSSL / CryptoJS), select Decrypt, paste the Base64 text that usually starts with U2FsdGVkX1, and enter the password. The tool reads the Salted__ header, derives the key with MD5 (used by CryptoJS and older OpenSSL) or SHA-256 (used by OpenSSL 1.1 and newer), and tries both automatically. Formats that use PBKDF2 or a raw key and IV are not supported.
The encryption and decryption run entirely in your browser, using the Web Crypto API built into it. Your text and your password are never uploaded, sent to a server or stored, and you can check this in your browser developer tools on the Network tab. Still, use a trusted device, and do not enter secrets that protect extremely high-value information.
Use AES-256-GCM for anything that needs real protection, because it uses a strong key derived from your password and also detects if the text was changed. Use AES-256-CBC only when you need to work with text from CryptoJS or OpenSSL. Caesar, ROT13, Atbash and Vigenère are classical ciphers for puzzles, games and learning, and they must not be used to protect real data.
The most common reasons are a wrong or mistyped password, text that was cut off or has extra characters, the wrong algorithm, or a different key derivation method. Paste the complete encrypted text, check the password for spaces and capital letters, and for CBC text from another program try the other key derivation option. With AES-GCM, any change to the text or a wrong password makes decryption fail on purpose.
No. They are classical ciphers from the past and are very easy to break with modern methods, in many cases in a fraction of a second. They are fun for puzzles, escape rooms, geocaching and teaching how encryption works, but anyone can decode them. For private messages, use AES-256-GCM with a long, unique password.
Merge, split, compress and convert files in seconds. Explore powerful free tools for all your everyday needs.
Explore All Tools →