Encrypt / decrypt text
Encrypt and decrypt text using AES encryption
Input
Enter text to encrypt
Output
Encrypted text
AES-256 encryption via crypto-js. All processing happens in your browser. Nothing is sent to any server.
TL;DR
What is Encrypt / decrypt text?
Encryption transforms readable plaintext into unreadable ciphertext using a key. Only someone with the correct key can reverse the process and recover the original data. This tool supports AES-256, the current industry standard for symmetric encryption, as well as classical ciphers (Caesar, XOR, ROT13) for educational purposes.
Common use cases
- ‣Secure storage: encrypt sensitive configuration values or notes before storing them
- ‣Data in transit: verify that your AES encryption output matches what a backend service expects
- ‣Learning: experiment with classical ciphers to understand the basics of substitution and XOR operations
Frequently asked questions
What is the difference between AES-256 and Caesar cipher?
AES-256 is a modern block cipher with 256-bit keys that is computationally infeasible to brute-force with current technology. Caesar cipher is a simple substitution cipher from antiquity that shifts each letter by a fixed number; it provides no real security and can be broken instantly. Use AES-256 for anything that needs to stay secret.
What is ROT13?
ROT13 rotates each letter 13 positions in the alphabet. Because the alphabet has 26 letters, applying ROT13 twice returns the original text. It provides no security and is used only to lightly obscure text (for example, spoiler text in online forums).
Is this tool safe for encrypting production secrets?
All processing happens in your browser. However, for production secrets, use a dedicated secrets manager (AWS Secrets Manager, HashiCorp Vault, etc.) rather than a browser-based tool. This tool is best suited for quick tests and learning.
See also
- ‣RSA key pair generator: generate an RSA key pair if you need asymmetric encryption: a public key encrypts, a private key decrypts, so the sender never needs the decryption key
- ‣Hash text: hash the plaintext before encrypting to create a checksum you can verify after decryption to detect any corruption