Encrypt & Decrypt Text
Encrypt and decrypt text using AES, DES, TripleDES, Rabbit, or RC4 with a password — all processed locally in your browser.
Encrypted result will appear here...About Encrypt & Decrypt Text
Encrypt & Decrypt Text is a free browser-based tool that applies symmetric cipher encryption to any text you type or paste. You choose an algorithm — AES, DES, TripleDES, Rabbit, or RC4 — enter a secret password, and the tool scrambles your text into a base64-encoded ciphertext string that is unreadable without the same password and algorithm. Switch to Decrypt mode and the process reverses: paste the ciphertext, supply the original password, and recover the plain text exactly as you wrote it.
The tool is designed for everyday situations where you need lightweight, reversible protection for text data: sharing a sensitive note with a colleague by copying the ciphertext into an email, storing an API key or password hint in a place you consider semi-public, or quickly verifying that a piece of CryptoJS-encrypted data can be decrypted correctly. Because it uses the same CryptoJS library as many JavaScript applications, ciphertext produced here is compatible with CryptoJS code in Node.js and browser environments — useful for developers testing an encryption integration without writing throwaway scripts.
Everything runs entirely in your browser. The text you enter and the password you type are never uploaded, logged, or transmitted to any server. You can use it offline, behind a firewall, or with credentials you would not enter into a web service. There is no sign-up, no usage limit, and no cost.
Key Features
Five symmetric cipher algorithms
Choose between AES, DES, TripleDES, Rabbit, and RC4 from a single dropdown. AES is recommended for general use; the others are available for compatibility with systems that require a specific cipher.
Password-based symmetric encryption
Encryption and decryption use the same secret password you supply. Unlike token generators or hashing tools, the output is fully reversible — anyone with the correct password and algorithm can recover the original text.
CryptoJS-compatible ciphertext
Output follows the OpenSSL-compatible format produced by CryptoJS, so ciphertext from this tool can be decrypted directly in Node.js or browser code using the same library without modification.
Dedicated decrypt mode
Toggle between Encrypt and Decrypt with a single click. Paste existing ciphertext, enter the password, and instantly verify whether a string can be recovered — no code, no command line required.
100% client-side processing
All cryptographic operations execute in your browser using the CryptoJS library. Your input text and password never leave your device, making the tool safe for confidential credentials and private messages.
Password visibility toggle
Reveal or mask the secret key field at any time, so you can double-check what you typed without exposing it to bystanders or screen captures.
How to Use
Choose Mode & Algorithm
Select "Encrypt" or "Decrypt" from the toggle, then pick your preferred cipher (AES is recommended for most use cases).
Enter Text & Password
Type or paste your plain text (or encrypted string) into the input area and provide a secret password in the key field.
Process & Copy
Click the action button to run the cipher. The result appears in the output pane — use the copy button to grab it instantly.
Example
Plain text encrypted with AES and a password produces a base64-encoded ciphertext. Using the same password in Decrypt mode recovers the original text exactly.
API_KEY=sk-prod-9f2c8b1a4e7d
DB_PASSWORD=hunter2
WEBHOOK_SECRET=wh_live_xZ9mQ3rT U2FsdGVkX1+3Qv8mKpLz9N1hYoRcXeWd
Jk7FtA2sIbGnCqPwMvDuEyH6oZlNrT0
xV4mOaKe8Yw5pQdBgFjCiRsXhLzUn1A= Common Use Cases
- arrow_circle_right
Sharing sensitive text over insecure channels
Encrypt a password, API key, or confidential note before pasting it into an email, chat message, or ticket comment. The recipient runs the same password through Decrypt mode to read it — no secure channel needed for the ciphertext itself.
- arrow_circle_right
Storing credentials in semi-public locations
Drop an AES-encrypted version of a secret into a shared document, a README, or a config file you cannot fully lock down. The ciphertext is meaningless without the password, which you share separately.
- arrow_circle_right
Testing CryptoJS integrations without writing code
When building a feature that encrypts data with CryptoJS in Node.js or the browser, use this tool to produce or verify test vectors quickly. The output format matches CryptoJS defaults, so you can paste ciphertext straight into a unit test.
- arrow_circle_right
Protecting personal notes and drafts
Encrypt a journal entry, a private idea, or a sensitive draft before saving it to a notes app, cloud drive, or any storage you do not fully control. Decrypt it here whenever you need to read it back.
- arrow_circle_right
Learning symmetric encryption concepts hands-on
Switch between algorithms to observe that the same plaintext produces different ciphertext under DES versus AES, or that changing even one character of the password makes decryption fail — a practical way to understand cipher behavior without a local development environment.