Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)
Encryption/Decryption Tool

Encryption/Decryption Tool

Encrypt and decrypt text online with AES, DES, TripleDES, and RC4. Set a secret key and IV, choose Base64 or Hex output, and keep everything in your browser.

Encrypt and Decrypt Text Online

Encrypt and decrypt text online with industry-standard symmetric ciphers, right in your browser. Turn any plaintext into ciphertext with a secret key, then reverse it back to the original whenever you have the same key, IV, and algorithm.

Switch between Encrypt and Decrypt modes, and pick from AES (128, 192, or 256-bit), DES, TripleDES, or RC4. It is built for developers testing payloads, anyone scrambling a quick message, or learners exploring how AES-CBC, keys, and initialization vectors fit together.

Private by design: every cipher runs locally in your browser. Your text, secret keys, and IVs are never uploaded to a server — you can confirm this in your browser's network tab.

How to Encrypt and Decrypt Text

1

Choose a mode and algorithm

Pick Encrypt (active by default) or Decrypt, then select an algorithm such as AES-256-CBC, DES-CBC, TripleDES-CBC, or RC4.

2

Enter your text

Type or paste plaintext into the input panel to encrypt, or paste your ciphertext when you are in Decrypt mode.

3

Set the secret key and IV

Enter a Secret Key or click Generate for a random one. For CBC algorithms, leave the IV blank to auto-generate it on encrypt, or supply your own. RC4 needs no IV, so that field is hidden.

4

Read and copy the result

The output appears automatically as you type. Click Copy Output to grab the result — and when encrypting, copy the key and IV too, since you need all three to decrypt later.

Features

Six Encryption Algorithms

Choose AES-256-CBC, AES-192-CBC, AES-128-CBC, DES-CBC, TripleDES-CBC, or the RC4 stream cipher to match your needs.

Encrypt and Decrypt

A single mode toggle flips the tool between scrambling plaintext into ciphertext and recovering the original text.

Secure Key & IV Generation

Generate random keys and initialization vectors at the exact length the selected algorithm requires, with one click.

Flexible Key Formats

Enter keys and IVs as UTF-8 text, Hex, or Base64. Short keys are zero-padded and long keys are truncated automatically.

Base64 or Hex Output

Switch the encrypted output between Base64 and Hex, and match the same format when you decrypt.

Real-Time Processing

Encryption and decryption run automatically as you type, with a 300ms debounce that keeps the interface smooth.

One-Click Sample Data

Load example text with a freshly generated AES-256 key and IV so you can see a full round trip immediately.

Keyboard Shortcuts

Press Ctrl+Enter in the text box, or Enter in the key or IV field, to process instantly without waiting.

100% Client-Side

All processing happens in your browser with no uploads, so your text and keys stay on your device.

Frequently Asked Questions

How do I encrypt text online?

Stay in Encrypt mode, choose an algorithm such as AES-256-CBC, type or paste your text, and enter a secret key (or click Generate). The ciphertext appears in the output panel right away — copy it along with the key and IV so you can decrypt it later.

Do I need the same key to decrypt?

Yes. These are symmetric ciphers, so decryption requires exactly the same secret key, IV, and algorithm that were used to encrypt — plus a matching key format and output format. Save all three values when you encrypt.

What is the IV (initialization vector) for?

An IV is a random value combined with the key so that encrypting the same text twice produces different ciphertext. CBC-mode algorithms require an IV. Leave the field blank during encryption and one is generated and shown for you; you must then provide that same IV to decrypt.

What key size does AES-128, 192, or 256 need?

AES-128 uses a 128-bit (16-byte) key, AES-192 a 192-bit (24-byte) key, and AES-256 a 256-bit (32-byte) key. If your key is shorter than required it is padded with zeros, and if it is longer it is truncated. For an exact-length key, use the Generate button.

What's the difference between AES, DES, and RC4?

AES is the modern standard and the recommended choice, available with 128, 192, or 256-bit keys in CBC mode. DES is an older 64-bit block cipher kept for legacy compatibility, and TripleDES applies DES three times with a 192-bit key for more strength. RC4 is a fast 128-bit stream cipher that uses no IV but is considered weak for modern use.

Why doesn't RC4 have an IV field?

RC4 is a stream cipher that encrypts using only a key — it does not use an initialization vector. When you select RC4, the IV section is hidden automatically because it is not needed.

Is my data secure and private?

Yes. All encryption and decryption is performed entirely in your browser with JavaScript. Your text, keys, IVs, and output are never sent to any server, which you can verify in your browser's network tab.

Plaintext
Ciphertext
Error

Enter text and secret key to encrypt

| |
Click Generate to create a secure random key at the correct length
Leave the IV field empty when encrypting and one is generated for you
Press Ctrl+Enter in the text box to process immediately
Use AES-256-CBC for the strongest encryption
Save the key, IV, and algorithm together - you need all three to decrypt
All encryption happens in your browser - no data is sent to any server
Want to learn more? Read documentation →
1/7
Start typing to search...
Searching...
No results found
Try searching with different keywords