Skip to main content

Encrypt & Decrypt Text Online

Encrypt or decrypt sample text using AES or legacy CryptoJS ciphers. Match key size, mode, and encoding; processing is local and inputs are saved in this browser.

AES-GCM protects confidentiality and detects changes. A fresh salt and nonce are generated for each result; keep your passphrase because it cannot be recovered.

The passphrase and text stay in this tab only and are not saved to browser storage.

Maximum plain text: 1,000,000 characters.

Result

Your encrypted or decrypted text will appear here after you run the operation.

Was this Encrypt & Decrypt Text Online helpful?

Help us keep tools reliable, fast, and bug-free.

What you can do with Text Encryption & Decryption

  • Encrypt text with aes-gcm
  • Decrypt legacy ciphertext

How this text processing works

Inspect compatible text ciphertext using the original key, algorithm, block mode, and encoding.

Example input

Encrypt hello with key secret, AES-128, ECB, Base64 (demonstration only)

Example output

wpDott5OpXc0FOAZ/n8Xow== (AES-128 / ECB / Base64; decrypt with the same key to recover hello)

Practical workflow

  1. Choose the direction: encryption (plain text in) or decryption (encrypted text in).
  2. Match the algorithm used by your existing system: AES, DES, TripleDES, RC4, RC4Drop, or Rabbit.
  3. Enter the original key. For AES, also match the key size, ECB or CBC mode, and Base64 or hex output.
  4. Copy the result. Decryption requires the same algorithm, settings, encoding, and original key.

Common use cases

  • Debug encryption and decryption with non-sensitive sample data in a legacy integration.
  • Decrypt legacy AES/DES strings produced by CryptoJS-compatible applications.
  • Learn how symmetric ciphers, key sizes, and block modes affect the output.

Important notes and limitations

  • Processing runs locally. The key, input, and settings are remembered in browser local storage; clear them on a shared device.
  • AES uses a raw UTF-8 key padded or truncated to the selected size, without a password-based KDF. CBC prepends its IV; ECB does not use an IV. This is not the salted OpenSSL passphrase format.
  • These text modes do not authenticate ciphertext. For protected files, use the linked File Encryption tool with AES-256-GCM.

Continue your workflow

Frequently asked questions

How do I decrypt text online?

Select Decrypt, enter the ciphertext and original key, and match the algorithm, key size, block mode, and encoding used by the sender. A key alone does not make every encrypted-text format compatible.

Can this decrypt a password or hash without the key?

No. Encryption is only reversible with the correct passphrase. Hashes (MD5, SHA, bcrypt) are one-way by design and cannot be decrypted by any online tool.

What cipher should I select for encrypting plain text snippets?

Select the cipher that matches the destination application you are integrating with. AES with CBC or ECB mode is standard for modern text pipelines, while DES, Triple DES, and RC4 are provided for legacy compatibility.

Is it safe to paste sensitive text here?

Processing is local, but the tool remembers the input and key in local storage. Use non-sensitive test data, clear those fields on shared devices, and use a dedicated encrypted channel for confidential messages.