EasyConvert / Text & Content

Text Encryption & Decryption

Encrypt and decrypt text (AES, DES, etc.). Free browser-based tool with no signup required.

About Text Encryption & Decryption

Encrypt and decrypt text (AES, DES, etc.).

The tool is designed to process data in the browser unless the interface explicitly states that a network request is required.

How to use this tool

  1. Enter or select the text value you want to work with.
  2. Review the available settings, then run the encrypt action.
  3. Review the encrypted text, plain text output and use the copy or download action when the tool provides one.

What you can do with Text Encryption & Decryption

  • Encrypt text with aes
  • Decrypt a secret message

What this conversion does

Encrypt or decrypt compatible sample text with AES or legacy CryptoJS ciphers. AES supports Base64 or hex output; other algorithms use their Base64 formatter.

Example input

Text: hello, key: secret, algorithm: AES-128, mode: ECB, output: Base64, action: Encrypt

Example output

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

Practical workflow

  1. Choose the algorithm that matches your existing system. AES exposes raw-key options; DES, Triple DES, Rabbit, RC4, and RC4Drop are legacy compatibility choices.
  2. For AES, pick the key size (128, 192, or 256 bit), the block mode (ECB or CBC), and whether the output should be Base64 or hex.
  3. Enter the text and the secret key, then click Encrypt; copy the result.
  4. To decrypt, paste the ciphertext, enter the same key with the same algorithm settings, and click Decrypt.

Common use cases

  • Debug a legacy integration using non-sensitive sample text and a test key.
  • Reproduce a crypto-js AES result while debugging an application that uses the same library.
  • Decrypt a legacy DES or RC4 string from an old system to see what it contains.

Important notes and limitations

  • Everything runs in your browser with the crypto-js library; the text and key are never sent to a server.
  • In AES-CBC mode a random 16-byte IV is generated and prepended to the ciphertext, so the same text encrypts differently every time. AES-ECB uses no IV and is deterministic.
  • The key is used directly (padded or truncated to the chosen size), not stretched with a password-based KDF — use non-sensitive sample data to test compatibility, rather than treating this as password-based message protection.
  • Your last algorithm, key, and input are remembered in this browser's local storage; clear them when you are on a shared computer.
  • ECB and CBC output is not authenticated. For protected-file workflows, use AES-256-GCM in File Encryption rather than treating this compatibility tool as a secure messaging system.

Continue your workflow

Frequently asked questions

Which algorithm should I choose?

Match your existing system's algorithm and format. AES here uses a raw key with ECB or CBC; it is not authenticated encryption. DES, Triple DES, RC4, RC4Drop, and Rabbit are legacy compatibility choices. Use the File Encryption tool for AES-256-GCM file protection.

Why does encrypting the same text twice give different output?

In AES-CBC mode a fresh random IV is generated for each run and stored at the start of the ciphertext. Switch to ECB if you need deterministic output, keeping in mind that ECB reveals repeated blocks.

Why do I get “Decryption failed”?

The key, algorithm, key size, block mode, or output format does not match what was used to encrypt, or the ciphertext was altered. All settings must be identical on both sides.

Is this the same as hashing?

No. Encryption is reversible with the key; a hash is a one-way fingerprint. Use the Hash Generator when you only need to verify or compare data.

Focused guides for this tool

Related tools