What is Text Encrypt Decrypt?
Text Encrypt Decrypt — An Encrypt/Decrypt Tool is a free tool that encrypts text using AES, DES, or other symmetric algorithms with a password, and decrypts ciphertext back to plaintext.
Loading your tools...
Encrypt text with AES-256, TripleDES, or RC4 using a password key. Decrypt ciphertext back to plaintext instantly. All encryption runs locally in your browser — no data sent to servers. Supports Base64-encoded output for safe sharing.
Text Encrypt Decrypt: Enter your text and a password, select an encryption algorithm (AES-256 recommended), and click encrypt. To decrypt, paste the ciphertext and enter the same password. All operations run in your browser.
Advanced Encryption Standard. The most secure and widely used algorithm globally. Recommended for all use cases.
Applies the Data Encryption Standard (DES) algorithm three times. Slower but provides good legacy compatibility.
A high-speed stream cipher. exceptional performance. Good for high-performance requirements.
A stream cipher. Not recommended for new secure applications due to vulnerabilities, but useful for legacy compatibility.
Text Encrypt Decrypt — An Encrypt/Decrypt Tool is a free tool that encrypts text using AES, DES, or other symmetric algorithms with a password, and decrypts ciphertext back to plaintext.
Enter your plaintext message and choose an encryption algorithm (AES-256 recommended).
Set a strong password key and click Encrypt to generate Base64-encoded ciphertext.
Switch to Decrypt mode, paste the ciphertext, and enter the same password to recover plaintext.
Copy the encrypted or decrypted output for use in your application, API, or testing workflow.
Testing AES encryption and decryption in web applications
Verifying ciphertext compatibility across programming languages
Encrypting sensitive text before sharing via email or messaging
Learning symmetric cryptography concepts with live examples
AES (Advanced Encryption Standard) was selected by NIST in 2001 after a five-year public competition among cryptographers worldwide. The 256-bit key variant is approved for U.S. government classified data up to TOP SECRET level, used by every modern bank for transactional encryption, embedded in TLS 1.3 cipher suites, and the default in disk-encryption systems (BitLocker, FileVault, LUKS). After 20+ years of public cryptanalysis, no practical attack against AES-256 exists — the best known attack reduces the effective key strength by only ~2 bits, leaving 254 bits of security (still computationally infeasible). Choose AES-256 unless you have a specific compatibility reason to choose otherwise.
TripleDES (3DES) applies the DES cipher three times with two or three different keys (effective key strength 112 bits). It's been deprecated by NIST for new applications since 2017 due to the Sweet32 attack (practical collision attack on 64-bit block ciphers). Reason to use it here: interoperability with legacy systems — older payment terminals, government databases, and embedded firmware still encrypt with 3DES. RC4 is a stream cipher that was used in TLS 1.0 / WEP and is now considered cryptographically broken — biases in the keystream allow recovery of plaintext after ~16 million ciphertexts (the Bar-Mizrahi attack). Reason to use it here: red-team testing and decrypting captured legacy traffic. Do not use RC4 for new applications.
Human passwords are low-entropy (typically 20–40 bits) and unsuitable as direct AES keys (which need 128 or 256 bits of randomness). The tool uses PBKDF2 (Password-Based Key Derivation Function 2) to stretch your password into a strong key: it hashes the password combined with a random salt tens of thousands of times. The salt prevents rainbow-table attacks; the iteration count makes brute-force attacks computationally expensive. The derived key is then used as the AES / 3DES / RC4 key. Implication: a 12-character random password gives roughly 80 bits of entropy after PBKDF2 stretching — strong against any realistic offline attack. A weak password like "password123" is still weak after PBKDF2 — use the Password Generator for keys.
The Base64 output format follows the OpenSSL-compatible "Salted__" envelope that CryptoJS, OpenSSL, and most language libraries (Python pycryptodome, Go cipher, Ruby OpenSSL) produce by default. This means ciphertext generated here can be decrypted with:
openssl enc -d -aes-256-cbc -base64 -in ciphertext.txt -k passwordCryptoJS.AES.decrypt(ciphertext, password).toString(CryptoJS.enc.Utf8) in JavaScriptCrypto.Cipher.AES via pycryptodome in Python (with PBKDF2 key derivation)This tool is excellent for: encrypting messages to send via email/Slack, testing encryption integrations, decoding ciphertext shared by colleagues, learning cryptography with live examples, and verifying interop with backend code. It is not appropriate for: encrypting files (use GPG, age, or 7-Zip), protecting passwords at rest in a database (use bcrypt / argon2 — see our Bcrypt tool), production end-to-end encryption (use Signal Protocol or libsodium), or storing encrypted secrets in code (use AWS KMS, HashiCorp Vault, or a managed secret manager).