DES Encryption is an online DES encryption/decryption tool supporting DES / 2DES / 3DES key sizes, ECB / CBC / CFB / OFB / CTR cipher modes, PKCS#7 / ISO 9797-1 / ANSI X.923 / ISO 10126 / Zero Padding / No Padding padding schemes, and Base64 / Hex / Latin1 / UTF-8 output encodings. All operations run locally in your browser — no data is ever uploaded to any server.
Select the operation mode: Encrypt or Decrypt
Enter or generate a key, and choose the key size: DES (64-bit), 2DES (128-bit), or 3DES (192-bit)
Choose the cipher mode (ECB / CBC / CFB / OFB / CTR). Non-ECB modes require an IV
Select the padding scheme and output encoding, then paste or type your text in the input area
Click "Encrypt" or "Decrypt" to execute. The result appears on the right — copy or download as needed
The tool gives you free daily uses, so everyday encryption/decryption needs are covered at zero cost — no membership required for core features
All encryption runs locally in your browser; your keys and plaintext never leave your device, protecting your privacy to the maximum
Supports DES / 2DES / 3DES key sizes, five cipher modes and six padding schemes, covering the most common symmetric encryption combinations
Visual parameter configuration with one-click random key generation; no software install needed — just open the page
Encryption/decryption returns results in real time, supporting Base64, Hex, Latin1 and UTF-8 output encodings with one-click copy or download
Runs in any browser — Windows, macOS, Linux or mobile — so you can perform DES encryption/decryption anytime, anywhere
Different cipher modes determine how data blocks relate to each other, affecting security and applicable scenarios:
| Mode | Full Name | IV Required | Description |
|---|---|---|---|
| ECB | Electronic Codebook | No | Each block encrypted independently; identical plaintext produces identical ciphertext — not recommended for long text |
| CBC | Cipher Block Chaining | Yes | Each block depends on the previous ciphertext block; high security, the most commonly used mode |
| CFB | Cipher Feedback | Yes | Turns a block cipher into a stream cipher; suitable for real-time encryption |
| OFB | Output Feedback | Yes | Turns a block cipher into a stream cipher; errors do not propagate |
| CTR | Counter Mode | Yes | Turns a block cipher into a stream cipher; supports parallel processing with good performance |
When the plaintext length is not a multiple of the block size (8 bytes), padding is needed for alignment:
The DES key size determines the encryption strength and algorithm variant:
An IV (Initialization Vector) is a random starting value used in encryption to ensure the same plaintext produces different ciphertext across multiple encryptions. ECB mode does not need an IV; all other modes (CBC, CFB, OFB, CTR) require one. The IV must be exactly 8 bytes.
Yes. When decrypting, you must use the exact same key, cipher mode, padding scheme, and output encoding that were used for encryption; otherwise, decryption will fail or produce garbage output.
CBC mode is generally recommended — it is the most widely used mode with good security and broad compatibility. ECB mode is not recommended for sensitive data, as identical plaintext blocks produce identical ciphertext blocks, risking pattern leakage.
DES (64-bit) uses a 56-bit effective key, the original standard; 2DES (128-bit) applies DES twice for enhanced security; 3DES (192-bit) applies DES three times for the highest security and is the most widely used DES variant. 3DES is recommended.
Possible causes: ① the key is incorrect; ② the cipher mode or padding scheme does not match what was used for encryption; ③ the output encoding is wrong (e.g. if encrypted with Base64 output, select Base64 for decryption too); ④ the input is not valid encrypted data.
No. All encryption/decryption operations run entirely in your browser. Your keys and data never leave your device.
Yes. The tool uses UTF-8 encoding to process text and can correctly encrypt and decrypt Chinese, Japanese, Korean, and any other Unicode characters.
Standard DES (56-bit) was proven breakable by brute force in 1999 and is no longer suitable for protecting high-value data; we recommend 3DES or upgrading to AES. This tool keeps DES mainly for legacy compatibility — do not use it for important data.
This tool focuses on real-time text encryption/decryption. For batch processing, combine several snippets in the input box and handle them in turn, or watch for a future batch version. The free daily quota covers everyday light use.
For legacy compatibility follow the other party's requirement; for new projects use 3DES (192-bit) for stronger security. Standard DES is only suggested for non-sensitive scenarios.
When using a random IV mode (e.g. CBC), identical plaintext yielding different ciphertext each time is normal — as long as decryption uses the same IV it restores correctly. With ECB mode the result is fixed.
No. Symmetric encryption's security depends on the key; without the correct key the plaintext cannot be recovered. Keep your key safe. The tool stores no keys or data on any server.
Content last updated:2026-07-15
Online AES encryption and decryption tool, supporting AES-128/192/256, covering all encryption modes and padding methods, secure, efficient, and easy to operate.
Online 3DES encryption/decryption tool, supporting all encryption modes and padding methods, fully processed locally in the browser to ensure data security.
Online RC4 stream cipher encryption/decryption tool, supports multiple key lengths, one-click encryption and decryption, all operations are completed locally in the browser to ensure data security.
Online Rabbit stream cipher encryption/decryption tool, using a high-speed symmetric encryption algorithm, supporting multiple key lengths. All operations are performed locally in the browser to ensure data security.
Online RC2 encryption and decryption tool, supporting ECB/CBC modes, variable key length and effective key bits, all processed locally in the browser to ensure data security.
Online IDEA International Data Encryption Algorithm Tool, supporting multiple encryption modes including ECB/CBC/CFB/OFB/CTR. All operations are performed locally in the browser to ensure data security.
Online Blowfish encryption/decryption tool supporting 128/192/256/448-bit variable keys, ECB/CBC/CFB/OFB modes, and multiple padding methods. All operations are performed locally in the browser to ensure data security.
CAST-128 (CAST5) online encryption and decryption tool, supporting multiple encryption modes such as ECB/CBC/CFB/OFB, flexible padding methods, and output encoding. All operations are performed locally in the browser, ensuring security and efficiency.
Online SM4 National Symmetric Encryption and Decryption Tool, supporting five working modes: ECB/CBC/CFB/OFB/CTR, and multiple padding methods. All operations are performed locally in the browser to ensure data security.
Online RSA asymmetric encryption and decryption tool, supporting key pair generation, public key encryption and private key decryption, private key signing and public key verification. All operations are performed locally in the browser to ensure data security.
Online MD5 hash encryption tool, supporting 16-bit/32-bit output, case switching, and file MD5 verification. All operations are completed locally in the browser, ensuring security and efficiency.
MD2 Encryption Tool: Generate 32-bit MD2 hash values online, supporting uppercase/lowercase output and file verification.
Online SHA-1 hash calculation tool for efficient text encryption and file integrity verification.
Online SHA-256 hash calculation tool for quick text encryption and file integrity verification.
Online SHA-384 hash calculation tool for fast text encryption and file integrity verification.
Online SHA-512 hash calculation tool, supporting text encryption and file integrity verification, quickly generating secure hash values.
Online SM3 National Hash Encryption Tool, supports text hash calculation and file verification, outputs a 256-bit hash value, compliant with GM/T 0004-2012 national standard.
Online Base64 encode/decode tool, supporting text Base64 encoding and decoding, all done locally in the browser, safe and efficient.
Online URL encoding and decoding tool, supports intelligent encoding and decoding of URL parameters, automatically identifies URL structure, processes only the parameter part, completes entirely in the browser locally, safe and efficient.
Online UTF-8 encoding/decoding tool, supporting conversion between text and UTF-8 hexadecimal bytes. All processing is done locally in the browser, ensuring data security.