How to use AES Encrypt / Decrypt
Paste your input on the left, choose the options you want, and the output appears instantly on the right. Everything runs in your browser — none of your data is sent to a server.
- Paste or type your input in the
INPUTpanel - The output regenerates automatically as you type
- Use
Copyto put the result in your clipboard - Click
Sampleto load a working example
What is AES Encrypt / Decrypt?
AES Encrypt / Decrypt performs AES-256-CBC encryption with PBKDF2-derived key (OpenSSL "Salted__" format — interoperable with `openssl enc -aes-256-cbc -salt -base64`). Each encryption uses a random 8-byte salt, so encrypting the same plaintext twice produces different ciphertexts (resistant to ciphertext-equality leaks). Output as base64 (default, copy-paste friendly) or hex. Decrypt mode auto-detects either format. The passphrase is held only in React component state — never written to localStorage, sessionStorage, IndexedDB, or cookies; closing the tab forgets it. For high-security workflows prefer authenticated encryption (AES-GCM) — CBC has no integrity check, so a corrupted ciphertext decrypts to garbage instead of erroring. This tool is part of santekno's developer toolbox — a curated collection of utilities built for engineers who care about speed, privacy, and simplicity.
Common use cases
- Debugging API payloads and integration issues
- Inspecting tokens, hashes, or encoded strings during development
- Generating fixtures and sample data for tests
- Sharing readable output with teammates in code reviews