Back to All Tools

DES Encrypt & Decrypt

Encrypt and decrypt text using DES (Data Encryption Standard) with CBC or ECB modes.

Input: 0 chars, 0 lines
Output: 0 characters
Processing: 0ms

About DES Encryption

Our free online DES (Data Encryption Standard) Encrypt & Decrypt tool allows you to encrypt and decrypt text using the DES symmetric-key algorithm. DES supports CBC (Cipher Block Chaining) and ECB (Electronic Codebook) modes with an 8-character (64-bit) key.

DES was developed by IBM in the early 1970s and adopted as a federal standard in 1977. It uses a 56-bit key (8 bytes with parity bits) to encrypt data in 64-bit blocks. While DES is now considered insecure for most modern applications due to its short key length, it remains important for understanding cryptographic history and legacy systems.

This tool processes your data entirely in the browser using JavaScript and CryptoJS, ensuring your plaintext and keys never leave your device. Encrypt messages instantly or decrypt DES-encrypted ciphertext with ease.

The auto-encrypt feature updates the encrypted output in real-time as you type, making it convenient for quick encryption. You can customize the encryption mode, key, and IV (for CBC mode) to meet your specific requirements.

Features

Multiple Modes

Support CBC and ECB encryption modes for different security requirements.

8-Character Key

Use an 8-character (64-bit) key for DES encryption and decryption.

Instant Processing

Encrypt and decrypt text instantly with no registration or limits.

Auto-Encrypt

Automatically encrypt as you type for real-time encryption results.

Privacy First

All processing happens in your browser. Your data never leaves your device.

One-Click Copy

Copy the encrypted or decrypted output to clipboard with a single click.

How to Use

1

Select Mode

Choose the encryption mode (CBC or ECB) based on your security needs.

2

Enter Key and IV

Enter your 8-character key and IV (required for CBC mode).

3

Enter Your Text

Type or paste the text you want to encrypt into the input editor.

4

Encrypt or Decrypt

Click Encrypt to encrypt your text or Decrypt to decrypt ciphertext. Copy the result when done.

Frequently Asked Questions

What is DES encryption?

DES (Data Encryption Standard) is a symmetric-key block cipher developed by IBM in the 1970s. It uses a 56-bit key to encrypt data in 64-bit blocks and was once the most widely used encryption standard.

What is the difference between CBC and ECB modes?

ECB encrypts each block independently, which can reveal patterns in the data. CBC chains blocks together using an IV, providing better security by ensuring identical plaintext blocks produce different ciphertext.

Is DES secure?

DES is no longer considered secure for most applications due to its 56-bit key length, which can be brute-forced with modern computing power. Triple DES (3DES) and AES are recommended for secure encryption.

Why use 8 characters for the DES key?

DES uses a 64-bit key, which equals 8 bytes (8 characters). Each byte has 7 data bits and 1 parity bit, giving an effective key length of 56 bits.

What is an IV in DES CBC mode?

An IV (Initialization Vector) is an 8-byte value used in CBC mode to ensure that encrypting the same plaintext produces different ciphertext each time. It must be the same for both encryption and decryption.

Is this DES tool free?

Yes, it is completely free to use with no registration, sign-up, or limits. All encryption and decryption happens in your browser using JavaScript, so your data stays private.